]> spindle.queued.net Git - midori/commitdiff
Shift + Return should go back in Findbar
authorChristian Dywan <christian@twotoasts.de>
Mon, 31 Jan 2011 23:29:27 +0000 (00:29 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 1 Feb 2011 00:25:26 +0000 (01:25 +0100)
toolbars/midori-findbar.c

index 503168de8b1912b035644a60a76b356af585c3c4..9bba529ab106be515290209b14eff0403115313d 100644 (file)
@@ -69,6 +69,12 @@ midori_findbar_find_key_press_event_cb (MidoriFindbar* findbar,
         midori_findbar_done (findbar);
         return TRUE;
     }
+    else if (event->keyval == GDK_Return
+          && (event->state & GDK_SHIFT_MASK))
+    {
+        midori_findbar_find (findbar, FALSE);
+        return TRUE;
+    }
 
     return FALSE;
 }