]> spindle.queued.net Git - midori/commitdiff
Check that Shift+Space won't advance to the next page
authorChristian Dywan <christian@twotoasts.de>
Tue, 11 Sep 2012 22:45:51 +0000 (00:45 +0200)
committerChristian Dywan <christian@twotoasts.de>
Wed, 12 Sep 2012 12:12:08 +0000 (14:12 +0200)
midori/midori-browser.c

index b6271af97a9e88cba83fef63b8206ce50ee3f6c5..dc1c1f36c8930a733379655ca8379832d31738bb 100644 (file)
@@ -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)))
     {