summaryrefslogtreecommitdiff
path: root/src/file-manager/nautilus-desktop-icon-view-ui.xml
diff options
context:
space:
mode:
authorJohn Sullivan <sullivan@src.gnome.org>2000-12-13 00:41:52 +0000
committerJohn Sullivan <sullivan@src.gnome.org>2000-12-13 00:41:52 +0000
commit6212c3776eb669a93869b45219e98537c4a21f05 (patch)
tree0941e36d502bacc808b80d7387694267995bad77 /src/file-manager/nautilus-desktop-icon-view-ui.xml
parent9658bc5f6341b6567a3a3bf5ac511ed565756239 (diff)
downloadnautilus-6212c3776eb669a93869b45219e98537c4a21f05.tar.gz
reviewed by: Darin Adler <darin@eazel.com>
Fixed bug 2327 (Alt-key combinations to show menus work on Desktop, but shouldn't) Had to abandon the old-Bonobo approach for this and make a new-Bonobo approach. * src/file-manager/nautilus-desktop-icon-view-ui.xml: Redefine all top-level menus' labels to be "" so there won't be any underline accelerator * src/nautilus-desktop-window.c: (nautilus_desktop_window_new): * src/nautilus-window-menus.c: (remove_underline_accelerator_from_menu_title), (nautilus_window_disable_keyboard_navigation_for_menus): * src/nautilus-window.h: Remove the old now-useless trick to do this.
Diffstat (limited to 'src/file-manager/nautilus-desktop-icon-view-ui.xml')
-rw-r--r--src/file-manager/nautilus-desktop-icon-view-ui.xml15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/file-manager/nautilus-desktop-icon-view-ui.xml b/src/file-manager/nautilus-desktop-icon-view-ui.xml
index dee53556d..09d589ce7 100644
--- a/src/file-manager/nautilus-desktop-icon-view-ui.xml
+++ b/src/file-manager/nautilus-desktop-icon-view-ui.xml
@@ -13,6 +13,21 @@
_label="Reset Desktop Background"
_tip="Remove any custom pattern or color from the desktop background"/>
</commands>
+<menu>
+ <!-- By re-labelling these submenus to names without underscores, we
+ prevent the user from bringing up the otherwise-invisible menu bar
+ menus on the desktop from the keyboard. Setting the labels to "" in
+ code does not work (presumably Bonobo bug), but doing so here does.
+ -->
+ <submenu name="File" label=""/>
+ <submenu name="Edit" label=""/>
+ <submenu name="View" label=""/>
+ <submenu name="Go" label=""/>
+ <submenu name="Bookmarks" label=""/>
+ <submenu name="Profiler" label=""/>
+ <submenu name="Help" label=""/>
+ <submenu name="Preferences" label=""/>
+</menu>
<popups>
<popup name="background">
<placeholder name="Before Zoom Items">