GNOME Bugzilla – Bug 302753
Gthumb does not support HIG zooming shortcuts
Last modified: 2005-06-07 18:08:43 UTC
The HIG (http://developer.gnome.org/projects/gup/hig/2.0/input-keyboard.html#id2555160 ) specifies the following shortcuts for "zooming": "Function Shortcut Description Zoom In Ctrl-Plus Zoom in on the document Zoom Out Ctrl-Minus Zoom out of the document Normal Size Ctrl-0 Restore to zoom level to normal size (generally 100%)" but gthumb currently doesn't appear to have any shorcuts for zooming. Other information:
The menu doesn't show any event, but gthumb actually accepts +, - and 1 (for normal size). Still the menu should show this if possible. Also in fullscreen ctrl-+ works, but not in normal view (only +, not ctrl-+).
*** Bug 305825 has been marked as a duplicate of this bug. ***
Created attachment 47049 [details] [review] Patch Patch changing shortcuts Zoom In Ctrl++ Zoom Out Ctrl+- Zoom 1:1 Ctrl+0 Ctrl+= does also do zoom in, Because a "=" and "+" are the same key on the normal keyboard. Paolo, I noticed that you also make keyboard shortcuts in function static gint key_press_cb (GtkWidget *widget, GdkEventKey *event, gpointer data) in the file gth-browser.c Wouldn't it be a better idea to define accelators in the way I did? (Evince and eog do it also that way). Furthermore I see that instead of a plain xml file use string constants in gth-browser-ui.h which represent the xml. I guess it would also be better to convert a plain xml file like eog and evince. If you agree I can give you a hand. Anyway thanks a lot for gthumb, Jaap
Paolo, just in case you missed the previous bugmail. Can you review the patch? Thanks
patch applied, thank you.