From e354f8e17b6996d5402cad8becd059c3b41d6231 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 22 Feb 2009 16:17:32 +0100 Subject: [PATCH] Fix highlighted matches in 'typing' mode --- midori/midori-browser.c | 2 ++ 1 file changed, 2 insertions(+) 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); } -- 2.39.5