From: Christian Dywan Date: Tue, 11 Sep 2012 22:45:51 +0000 (+0200) Subject: Check that Shift+Space won't advance to the next page X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55e4823c30565e196daf98ee5b843904d5b5266b;p=midori Check that Shift+Space won't advance to the next page --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index b6271af9..dc1c1f36 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -1747,6 +1747,7 @@ midori_browser_key_press_event (GtkWidget* widget, gtk_widget_grab_focus (midori_browser_get_current_tab (MIDORI_BROWSER (widget))); else if (G_OBJECT_TYPE (focus) == WEBKIT_TYPE_WEB_VIEW && event->keyval == GDK_KEY_space + && (!(event->state & GDK_SHIFT_MASK)) && !webkit_web_view_can_cut_clipboard (WEBKIT_WEB_VIEW (focus)) && !webkit_web_view_can_paste_clipboard (WEBKIT_WEB_VIEW (focus))) {