From: Christian Dywan Date: Sun, 22 Feb 2009 15:17:32 +0000 (+0100) Subject: Fix highlighted matches in 'typing' mode X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e354f8e17b6996d5402cad8becd059c3b41d6231;p=midori Fix highlighted matches in 'typing' mode --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 8484a80c..03a974d6 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -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); }