nautilus code freeze break request - desktop keynav



Starting with Gtk 2.4 it seems the behaviour of key accelerators on
hidden menus has changed. They used to be active even if the menu was
hidden, not they are not. This change broke the accelerators on the
nautilus desktop window, since its just a normal window with the menus
hidden.

The following patch just adds global keybindings for all existing menu
item accelerators so that they also work on the desktop. Is this
important enough to be added in 2.8?

Index: src/nautilus-shell-ui.xml
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-shell-ui.xml,v
retrieving revision 1.115
diff -u -p -r1.115 nautilus-shell-ui.xml
--- src/nautilus-shell-ui.xml	29 Jul 2004 22:31:42 -0000	1.115
+++ src/nautilus-shell-ui.xml	7 Sep 2004 12:25:22 -0000
@@ -40,6 +40,7 @@
 	<accel name="*Control*equal" verb="Zoom In"/>
 	<accel name="*Control**Shift*plus" verb="Zoom In"/>
 	<accel name="BackSpace" verb="Up"/>
+	<accel name="*Control*r" verb="Reload"/>
 </keybindings>
 
 <menu>
Index: src/nautilus-spatial-window-ui.xml
===================================================================
RCS file: /cvs/gnome/nautilus/src/nautilus-spatial-window-ui.xml,v
retrieving revision 1.12
diff -u -p -r1.12 nautilus-spatial-window-ui.xml
--- src/nautilus-spatial-window-ui.xml	29 Jul 2004 22:31:42 -0000	1.12
+++ src/nautilus-spatial-window-ui.xml	7 Sep 2004 12:25:22 -0000
@@ -8,6 +8,7 @@
 <keybindings>
         <accel name="*Alt**Shift*Up" verb="UpCloseCurrent"/>
 	 <accel name="*Shift*BackSpace" verb="UpCloseCurrent"/>
+	 <accel name="*Alt*Home" verb="Home"/>
 </keybindings>
 <menu>
 	<submenu name="File">
Index: src/file-manager/nautilus-directory-view-ui.xml
===================================================================
RCS file: /cvs/gnome/nautilus/src/file-manager/nautilus-directory-view-ui.xml,v
retrieving revision 1.68
diff -u -p -r1.68 nautilus-directory-view-ui.xml
--- src/file-manager/nautilus-directory-view-ui.xml	12 Aug 2004 20:12:36 -0000	1.68
+++ src/file-manager/nautilus-directory-view-ui.xml	7 Sep 2004 12:25:22 -0000
@@ -97,9 +97,21 @@
 	<accel name="KP_Delete" verb="Trash"/>
 	<accel name="Delete" verb="Trash"/>
 	<accel name="*Shift*KP_Delete" verb="Delete"/>
+	<accel name="*Shift*Delete" verb="Delete"/>
         <accel name="*Alt*Down" verb="Open"/>
         <accel name="*Alt**Shift*Down" verb="OpenCloseParent"/>
 	<accel name="*Control*i" verb="Properties"/>
+	<accel name="*Shift**Control*n" verb="New Folder"/>
+	<accel name="*Control*o" verb="Open"/>
+	<accel name="*Control**Shift*o" verb="OpenAlternate"/>
+	<accel name="*Alt*Return" verb="Properties"/>
+	<accel name="*Control*x" verb="Cut Files"/>
+	<accel name="*Control*c" verb="Copy Files"/>
+	<accel name="*Control*v" verb="Paste Files"/>
+	<accel name="*Control*m" verb="Create Link"/>
+	<accel name="F2" verb="Rename"/>
+	<accel name="*Control*a" verb="Select All"/>
+	<accel name="*Control*s" verb="Select Pattern"/>
 </keybindings>
 <menu>
 	<submenu name="File">



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
 Alexander Larsson                                            Red Hat, Inc 
                   alexl redhat com    alla lysator liu se 
He's a world-famous chivalrous barbarian on a search for his missing sister. 
She's a psychotic nymphomaniac femme fatale living on borrowed time. They 
fight crime! 




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]