diff options
| author | Elvis Angelaccio <[email protected]> | 2017-07-19 00:00:37 +0200 |
|---|---|---|
| committer | Elvis Angelaccio <[email protected]> | 2017-07-27 16:15:03 +0200 |
| commit | 4b5ea05b6760e9020ab87f1d90071e1a2a8f9e99 (patch) | |
| tree | d1c87653f2ebaecdf0cb5b110b24a7242f4cc3d6 /src/dolphinui.rc | |
| parent | 82b2dbd3ec568a6e6fe01a8e75739b25cae25f15 (diff) | |
Port to KStandardAction::MoveToTrash
It was introduced in kconfig(widgets) 5.25. Using the standard action
results in less code and no need to hardcode the Del shortcut.
Test Plan:
- Change shortcut in System Settings -> Shortcuts -> Standard Shortcuts
- Make sure the new shortcut is used by dolphin.
Differential Revision: https://phabricator.kde.org/D6778
Diffstat (limited to 'src/dolphinui.rc')
| -rw-r--r-- | src/dolphinui.rc | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/dolphinui.rc b/src/dolphinui.rc index 935488246..a8e6436b6 100644 --- a/src/dolphinui.rc +++ b/src/dolphinui.rc @@ -1,5 +1,5 @@ <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> -<kpartgui name="dolphin" version="15"> +<kpartgui name="dolphin" version="16"> <MenuBar> <Menu name="file"> <Action name="new_menu" /> @@ -9,7 +9,7 @@ <Action name="undo_close_tab" /> <Separator/> <Action name="rename" /> - <Action name="move_to_trash" /> + <Action name="movetotrash" /> <Action name="deletefile" /> <Separator/> <Action name="properties" /> @@ -57,7 +57,7 @@ <Action name="edit_cut" /> <Action name="edit_copy" /> <Action name="rename" /> - <Action name="move_to_trash" /> + <Action name="movetotrash" /> <Action name="deletefile" /> <Action name="invert_selection" /> <Separator/> @@ -70,7 +70,7 @@ <Action name="edit_cut" /> <Action name="edit_copy" /> <Action name="rename" /> - <Action name="move_to_trash" /> + <Action name="movetotrash" /> <Action name="deletefile" /> <Action name="invert_selection" /> </enable> @@ -80,7 +80,7 @@ <Action name="edit_cut" /> <Action name="edit_copy" /> <Action name="rename" /> - <Action name="move_to_trash" /> + <Action name="movetotrash" /> <Action name="deletefile" /> <Action name="delete_shortcut" /> <Action name="invert_selection" /> |
