]> spindle.queued.net Git - midori/commitdiff
Return TRUE when starting inline find, to prevent inserting . or /
authorChristian Dywan <christian@twotoasts.de>
Wed, 23 Dec 2009 14:24:51 +0000 (15:24 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 23 Dec 2009 14:24:51 +0000 (15:24 +0100)
midori/midori-view.c

index 9cfde83c706651b8b857fe133f7d86cf51268bbd..10639dac35076e36c87fb4a98f7f03155fb5a12e 100644 (file)
@@ -1343,9 +1343,9 @@ gtk_widget_key_press_event_cb (WebKitWebView* web_view,
         && !webkit_web_view_can_paste_clipboard (web_view))
     {
         gchar* text = character ? g_strdup_printf ("%c", character) : g_strdup ("");
-
         g_signal_emit (view, signals[SEARCH_TEXT], 0, TRUE, text);
         g_free (text);
+        return TRUE;
     }
 
     return FALSE;