[Xfce4-commits] <midori:master> Check that Shift+Space won't advance to the next page
Christian Dywan
noreply at xfce.org
Wed Sep 12 14:14:05 CEST 2012
Updating branch refs/heads/master
to 55e4823c30565e196daf98ee5b843904d5b5266b (commit)
from f185bcb42db65f7ef247453b3e7f86ffe1c95cd8 (commit)
commit 55e4823c30565e196daf98ee5b843904d5b5266b
Author: Christian Dywan <christian at twotoasts.de>
Date: Wed Sep 12 00:45:51 2012 +0200
Check that Shift+Space won't advance to the next page
midori/midori-browser.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index b6271af..dc1c1f3 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)))
{
More information about the Xfce4-commits
mailing list