From 3331921cfcf8f79b3ef2049de56c3eb8527c2cbf Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sat, 9 Jul 2011 22:48:26 +0200 Subject: [PATCH] Interpret Ctrl+= as Zoom In for compatibility --- midori/midori-browser.c | 7 +++++++ 1 file changed, 7 insertions(+) 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) {