From: Christian Dywan Date: Sat, 9 Jul 2011 20:48:26 +0000 (+0200) Subject: Interpret Ctrl+= as Zoom In for compatibility X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3331921cfcf8f79b3ef2049de56c3eb8527c2cbf;p=midori Interpret Ctrl+= as Zoom In for compatibility --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 13463b5e..8df0c6ce 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -1625,6 +1625,13 @@ midori_browser_key_press_event (GtkWidget* widget, gtk_action_activate (_action_by_name (browser, "TabPrevious")); return TRUE; } + /* Interpret Ctrl+= as Zoom In for compatibility */ + else if ((event->keyval == GDK_KP_Equal || event->keyval == GDK_equal) + && (event->state & GDK_CONTROL_MASK)) + { + midori_browser_activate_action (browser, "ZoomIn"); + return TRUE; + } /* Interpret F5 as reloading for compatibility */ else if (event->keyval == GDK_F5) {