ngraham created this revision. ngraham added reviewers: Okular, aacid, sander. Herald added a project: Okular. Herald added a subscriber: okular-devel. ngraham requested review of this revision.
REVISION SUMMARY This patch adds an "Open Containing Folder" menu item to the file menu, similar to other KDE apps like Gwenview that have it there. This action is especially useful for the case when you've downloaded a PDF from the internet that opens itself in Okular. The location of this file may not be clear or easy to find without this feature, and on several occasiona I have found myself wishing for it when this happens. TEST PLAN - Delete or move aside `~/.local/config/kxmlgui5/okular/part.rc` - Menu item is enabled and works when there is an open document: F6940449: Enabled when a document is open.png <https://phabricator.kde.org/F6940449> - Menu item is disabled when there is no open document: F6940448: Disabled when no document is open.png <https://phabricator.kde.org/F6940448> REPOSITORY R223 Okular BRANCH add-open-containing-folder-feature (branched from master) REVISION DETAIL https://phabricator.kde.org/D22145 AFFECTED FILES part.cpp part.h part.rc To: ngraham, #okular, aacid, sander Cc: okular-devel, fbampaloukas, joaonetto, tfella, ngraham, darcyshen, aacid