[Xfce4-commits] <midori:master> Return TRUE when starting inline find, to prevent inserting . or /

Christian Dywan noreply at xfce.org
Wed Dec 23 22:04:01 CET 2009


Updating branch refs/heads/master
         to 7801ecfeb50850ddb8b37d3449328cb718843876 (commit)
       from cec6b310445c70b4c6fbe1d5b8fc268252d71e80 (commit)

commit 7801ecfeb50850ddb8b37d3449328cb718843876
Author: Christian Dywan <christian at twotoasts.de>
Date:   Wed Dec 23 15:24:51 2009 +0100

    Return TRUE when starting inline find, to prevent inserting . or /

 midori/midori-view.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-view.c b/midori/midori-view.c
index 9cfde83..10639da 100644
--- a/midori/midori-view.c
+++ b/midori/midori-view.c
@@ -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;



More information about the Xfce4-commits mailing list