Update name of the delete action in the .rc files

Summary:
Small regression in commit 68bb0ec22a. We need to use the new (standard)
name for the delete action, otherwise it won't be properly
enabled/disabled.

BUG: 378154
FIXED-IN: 17.03.90

Reviewers: emmanuelp

Differential Revision: https://phabricator.kde.org/D5248
This commit is contained in:
Elvis Angelaccio 2017-03-29 13:37:02 +02:00
parent 4de29ad90d
commit d8282e9294
2 changed files with 9 additions and 9 deletions

View file

@ -1,12 +1,12 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="dolphinpart" version="11" translationDomain="dolphin"> <kpartgui name="dolphinpart" version="12" translationDomain="dolphin">
<MenuBar> <MenuBar>
<Menu name="edit"><text>&amp;Edit</text> <Menu name="edit"><text>&amp;Edit</text>
<Action name="new_menu"/> <Action name="new_menu"/>
<Separator/> <Separator/>
<Action name="rename"/> <Action name="rename"/>
<Action name="move_to_trash" /> <Action name="move_to_trash" />
<Action name="delete"/> <Action name="deletefile"/>
<Action name="editMimeType"/> <Action name="editMimeType"/>
<Action name="properties"/> <Action name="properties"/>
<Separator/> <Separator/>
@ -53,14 +53,14 @@
<State name="has_selection" > <State name="has_selection" >
<enable> <enable>
<Action name="move_to_trash" /> <Action name="move_to_trash" />
<Action name="delete" /> <Action name="deletefile" />
</enable> </enable>
</State> </State>
<State name="has_no_selection" > <State name="has_no_selection" >
<disable> <disable>
<Action name="rename" /> <Action name="rename" />
<Action name="move_to_trash" /> <Action name="move_to_trash" />
<Action name="delete" /> <Action name="deletefile" />
</disable> </disable>
</State> </State>
</kpartgui> </kpartgui>

View file

@ -1,5 +1,5 @@
<!DOCTYPE kpartgui SYSTEM "kpartgui.dtd"> <!DOCTYPE kpartgui SYSTEM "kpartgui.dtd">
<kpartgui name="dolphin" version="14"> <kpartgui name="dolphin" version="15">
<MenuBar> <MenuBar>
<Menu name="file"> <Menu name="file">
<Action name="new_menu" /> <Action name="new_menu" />
@ -10,7 +10,7 @@
<Separator/> <Separator/>
<Action name="rename" /> <Action name="rename" />
<Action name="move_to_trash" /> <Action name="move_to_trash" />
<Action name="delete" /> <Action name="deletefile" />
<Separator/> <Separator/>
<Action name="properties" /> <Action name="properties" />
</Menu> </Menu>
@ -58,7 +58,7 @@
<Action name="edit_copy" /> <Action name="edit_copy" />
<Action name="rename" /> <Action name="rename" />
<Action name="move_to_trash" /> <Action name="move_to_trash" />
<Action name="delete" /> <Action name="deletefile" />
<Action name="invert_selection" /> <Action name="invert_selection" />
<Separator/> <Separator/>
<Action name="go_back" /> <Action name="go_back" />
@ -71,7 +71,7 @@
<Action name="edit_copy" /> <Action name="edit_copy" />
<Action name="rename" /> <Action name="rename" />
<Action name="move_to_trash" /> <Action name="move_to_trash" />
<Action name="delete" /> <Action name="deletefile" />
<Action name="invert_selection" /> <Action name="invert_selection" />
</enable> </enable>
</State> </State>
@ -81,7 +81,7 @@
<Action name="edit_copy" /> <Action name="edit_copy" />
<Action name="rename" /> <Action name="rename" />
<Action name="move_to_trash" /> <Action name="move_to_trash" />
<Action name="delete" /> <Action name="deletefile" />
<Action name="delete_shortcut" /> <Action name="delete_shortcut" />
<Action name="invert_selection" /> <Action name="invert_selection" />
</disable> </disable>