Add "Add to Places" action to file menu

Authored by ngraham on Sep 1 2019, 9:01 PM.

Description

Add "Add to Places" action to file menu

Summary:
It's recommended that actions available in context menus be available in the main menu
as well for discoverability's sake. This patch does so for the "Add to Places" action.

The action is moved over to the main window, and accessed in the context menu via the
actionCollection it lives in.

BUG: 390757
FIXED-IN: 19.08.0

Test Plan:

  • Action still works
  • Action still appears in context menu when relevant
  • Action in the File menu only becomes enabled when only a single directory is selected or nothing is selected

Reviewers: Dolphin, elvisangelaccio

Reviewed By: Dolphin, elvisangelaccio

Subscribers: elvisangelaccio, kfm-devel

Tags: Dolphin

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

Details

Committed
ngrahamSep 1 2019, 9:04 PM
Reviewer
Dolphin
Differential Revision
D22149: Add "Add to Places" action to file menu
Parents
R318:3a7586907ed8: [dolphin] Add an action to toggle the searchbar
Branches
Unknown
Tags
Unknown