]> spindle.queued.net Git - midori/commitdiff
Interpret Ctrl+= as Zoom In for compatibility
authorChristian Dywan <christian@twotoasts.de>
Sat, 9 Jul 2011 20:48:26 +0000 (22:48 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sat, 9 Jul 2011 20:48:26 +0000 (22:48 +0200)
midori/midori-browser.c

index 13463b5ee154df83d4ec6685ace78fe7c34220a0..8df0c6cebab6b8659b9d84d64faea7bc21deb11c 100644 (file)
@@ -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)
     {