]> spindle.queued.net Git - midori/commitdiff
Fix highlighted matches in 'typing' mode
authorChristian Dywan <christian@twotoasts.de>
Sun, 22 Feb 2009 15:17:32 +0000 (16:17 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 22 Feb 2009 15:17:32 +0000 (16:17 +0100)
midori/midori-browser.c

index 8484a80c16ab0906a42425c0e2cac17fb0006177..03a974d65592a60af38557e70c5e7ae0273eb5fb 100644 (file)
@@ -1579,7 +1579,9 @@ midori_browser_find_text_changed_cb (GtkWidget*     entry,
 {
     if (browser->find_typing)
     {
+        GtkWidget* view = midori_browser_get_current_tab (browser);
         const gchar* text = gtk_entry_get_text (GTK_ENTRY (entry));
+        midori_view_unmark_text_matches (MIDORI_VIEW (view));
         if (g_utf8_strlen (text, -1) > 2)
             _midori_browser_find (browser, TRUE);
     }