From bug 309018 [1]: "Ctrl+ and Ctrl- seem to work on the actual keyboard, but not on the numeric keypad. This is with Ubuntu Hoary, Nautilus 2.10.0 and a Finnish keyboard layout." The attached patch fixes this. [1] http://bugzilla.gnome.org/show_bug.cgi?id=309018 -- Christian Neumair <chris gnome-de org>
Index: src/nautilus-shell-ui.xml =================================================================== RCS file: /cvs/gnome/nautilus/src/nautilus-shell-ui.xml,v retrieving revision 1.120 diff -u -p -r1.120 nautilus-shell-ui.xml --- src/nautilus-shell-ui.xml 4 Jun 2005 15:02:02 -0000 1.120 +++ src/nautilus-shell-ui.xml 2 Jul 2005 09:47:06 -0000 @@ -1,5 +1,7 @@ <ui> <accelerator action="ZoomInAccel"/> +<accelerator action="ZoomInAccel2"/> +<accelerator action="ZoomOutAccel"/> <menubar name="MenuBar"> <menu action="File"> <placeholder name="New Items Placeholder"/> Index: src/nautilus-window-menus.c =================================================================== RCS file: /cvs/gnome/nautilus/src/nautilus-window-menus.c,v retrieving revision 1.286 diff -u -p -r1.286 nautilus-window-menus.c --- src/nautilus-window-menus.c 23 Jun 2005 14:16:58 -0000 1.286 +++ src/nautilus-window-menus.c 2 Jul 2005 09:47:06 -0000 @@ -641,9 +641,17 @@ static const GtkActionEntry main_entries "ZoomInAccel", "<control>equal", /* label, accelerator */ NULL, /* tooltip */ G_CALLBACK (action_zoom_in_callback) }, + { "ZoomInAccel2", NULL, /* name, stock id */ + "ZoomInAccel2", "<control>KP_Add", /* label, accelerator */ + NULL, /* tooltip */ + G_CALLBACK (action_zoom_in_callback) }, { "Zoom Out", GTK_STOCK_ZOOM_OUT, /* name, stock id */ N_("Zoom _Out"), "<control>minus", /* label, accelerator */ N_("Show the contents in less detail"), /* tooltip */ + G_CALLBACK (action_zoom_out_callback) }, + { "ZoomOutAccel", NULL, /* name, stock id */ + "ZoomOutAccel", "<control>KP_Subtract", /* label, accelerator */ + NULL, /* tooltip */ G_CALLBACK (action_zoom_out_callback) }, { "Zoom Normal", GTK_STOCK_ZOOM_100, /* name, stock id */ N_("Normal Si_ze"), "<control>0", /* label, accelerator */
Attachment:
signature.asc
Description: Dies ist ein digital signierter Nachrichtenteil