From 652feb69253b9c6cdb9f6d13fa7e2db8b4fa5828 Mon Sep 17 00:00:00 2001 From: Jean-Francois Dockes Date: Tue, 21 May 2013 18:34:10 +0200 Subject: [PATCH] Restore "Open Parent" popup menu entry. Useful to open the enclosing folder. Closes issue #141 --- src/qtgui/respopup.cpp | 9 +++++---- website/copydocs | 0 website/index.html.en | 5 +++++ 3 files changed, 10 insertions(+), 4 deletions(-) mode change 100644 => 100755 website/copydocs diff --git a/src/qtgui/respopup.cpp b/src/qtgui/respopup.cpp index f7163573..49137a67 100644 --- a/src/qtgui/respopup.cpp +++ b/src/qtgui/respopup.cpp @@ -61,9 +61,11 @@ QMenu *create(QWidget *me, int opts, RefCntr source, Rcl::Doc& doc) if (source.isNotNull() && source->getEnclosing(doc, pdoc)) { popup->addAction(me->tr("Preview P&arent document/folder"), me, SLOT(menuPreviewParent())); - popup->addAction(me->tr("&Open Parent document/folder"), - me, SLOT(menuOpenParent())); } + // Open parent is useful even if there is no parent because we open + // the enclosing folder. + popup->addAction(me->tr("&Open Parent document/folder"), + me, SLOT(menuOpenParent())); if (opts & showExpand) popup->addAction(me->tr("Find &similar documents"), @@ -80,8 +82,7 @@ QMenu *create(QWidget *me, int opts, RefCntr source, Rcl::Doc& doc) return popup; } -Rcl::Doc getParent(RefCntr source, - Rcl::Doc& doc) +Rcl::Doc getParent(RefCntr source, Rcl::Doc& doc) { Rcl::Doc pdoc; if (source.isNull() || !source->getEnclosing(doc, pdoc)) { diff --git a/website/copydocs b/website/copydocs old mode 100644 new mode 100755 diff --git a/website/index.html.en b/website/index.html.en index e1d26ae3..c2b7a475 100644 --- a/website/index.html.en +++ b/website/index.html.en @@ -87,6 +87,11 @@
+ +
2013-05-18
Sometimes things + + just work...
+
2013-05-14
Recoll 1.19.2 is out. See the release notes for a description of the changes.