Add "Open Containing Folder" feature

Authored by ngraham on Jun 28 2019, 3:41 PM.

Description

Add "Open Containing Folder" feature

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:
  • Menu item is disabled when there is no open document:

Reviewers: Okular, aacid, sander

Reviewed By: Okular, aacid

Subscribers: shubham, davidhurka, okular-devel

Tags: Okular

Differential Revision: https://phabricator.kde.org/D22145

Details

Committed
ngrahamJul 17 2019, 2:35 PM
Reviewer
Okular
Differential Revision
D22145: Add "Open Containing Folder" feature
Parents
R223:24e66a250b2f: GIT_SILENT Upgrade KDE Applications version to 19.07.80.
Branches
Unknown
Tags
Unknown