]> spindle.queued.net Git - midori/commitdiff
Find inline "live" regardless of how it was initiated
authorChristian Dywan <christian@twotoasts.de>
Sun, 1 May 2011 15:20:55 +0000 (17:20 +0200)
committerChristian Dywan <christian@twotoasts.de>
Sun, 1 May 2011 15:20:55 +0000 (17:20 +0200)
Fixes: https://bugs.launchpad.net/midori/+bug/772843
toolbars/midori-findbar.c

index 9bba529ab106be515290209b14eff0403115313d..d8769c4659cce8a76c36fe4602cbd38b092894c9 100644 (file)
@@ -178,14 +178,11 @@ midori_findbar_preedit_changed_cb (GtkWidget*     entry,
                                    const gchar*   preedit,
                                    MidoriFindbar* findbar)
 {
-    if (findbar->find_typing)
-    {
-        MidoriBrowser* browser = midori_browser_get_for_widget (entry);
-        GtkWidget* view = midori_browser_get_current_tab (browser);
-        midori_view_unmark_text_matches (MIDORI_VIEW (view));
-        if (g_utf8_strlen (preedit, -1) > 1)
-            midori_findbar_find_text (findbar, preedit, TRUE);
-    }
+    MidoriBrowser* browser = midori_browser_get_for_widget (entry);
+    GtkWidget* view = midori_browser_get_current_tab (browser);
+    midori_view_unmark_text_matches (MIDORI_VIEW (view));
+    if (g_utf8_strlen (preedit, -1) > 1)
+        midori_findbar_find_text (findbar, preedit, TRUE);
 }
 
 static void