summaryrefslogtreecommitdiff
path: root/src/file-manager/nautilus-directory-view-ui.xml
diff options
context:
space:
mode:
authorJohn Sullivan <sullivan@src.gnome.org>2001-04-05 21:04:12 +0000
committerJohn Sullivan <sullivan@src.gnome.org>2001-04-05 21:04:12 +0000
commit2ee05d88c741622933582efc0563a08f21f9e566 (patch)
tree17b679b04e6ac9f9d05142855a21c9289e06e73b /src/file-manager/nautilus-directory-view-ui.xml
parenta4fea8531bc6d8c04d68bec52990e0061dc0622f (diff)
downloadnautilus-2ee05d88c741622933582efc0563a08f21f9e566.tar.gz
Fixed bug 7985 (Separately group "Move to Trash" and
"Delete" menu items to avoid accidental selection) * src/file-manager/nautilus-directory-view-ui.xml: Moved Move to Trash and Delete into their own menu section (surrounded by separators). * src/file-manager/fm-directory-view.c: Updated menu paths that have now changed. * src/nautilus-shell-ui.xml: Added placeholder used by Move to Trash and Delete to get ordering right.
Diffstat (limited to 'src/file-manager/nautilus-directory-view-ui.xml')
-rw-r--r--src/file-manager/nautilus-directory-view-ui.xml22
1 files changed, 13 insertions, 9 deletions
diff --git a/src/file-manager/nautilus-directory-view-ui.xml b/src/file-manager/nautilus-directory-view-ui.xml
index b5adb98bb..8993cf83c 100644
--- a/src/file-manager/nautilus-directory-view-ui.xml
+++ b/src/file-manager/nautilus-directory-view-ui.xml
@@ -105,13 +105,6 @@
_label="Show _Properties"
accel="*Control*i"
verb="Show Properties"/>
- <menuitem name="Trash"
- _label="Move to _Trash"
- accel="*Control*t"
- verb="Trash"/>
- <menuitem name="Delete"
- _label="De_lete"
- verb="Delete"/>
<menuitem name="Duplicate"
_label="_Duplicate"
accel="*Control*d"
@@ -121,6 +114,15 @@
accel="*Control*m"
verb="Create Link"/>
</placeholder>
+ <placeholder name="Dangerous File Items Placeholder">
+ <menuitem name="Trash"
+ _label="Move to _Trash"
+ accel="*Control*t"
+ verb="Trash"/>
+ <menuitem name="Delete"
+ _label="De_lete"
+ verb="Delete"/>
+ </placeholder>
<placeholder name="Global File Items Placeholder">
<menuitem name="Show Trash"
@@ -204,11 +206,13 @@
</placeholder>
<placeholder name="File Actions" delimit="top">
<menuitem name="Show Properties" verb="Show Properties"/>
- <menuitem name="Trash" verb="Trash"/>
- <menuitem name="Delete" verb="Delete"/>
<menuitem name="Duplicate" verb="Duplicate"/>
<menuitem name="Create Link" verb="Create Link"/>
</placeholder>
+ <placeholder name="Dangerous File Actions" delimit="top">
+ <menuitem name="Trash" verb="Trash"/>
+ <menuitem name="Delete" verb="Delete"/>
+ </placeholder>
<placeholder name="File Clipboard Actions" delimit="top">
<menuitem name="Cut Files" verb="Cut Files"/>
<menuitem name="Copy Files" verb="Copy Files"/>