Fix highlighted matches in 'typing' mode

This commit is contained in:
Christian Dywan 2009-02-22 16:17:32 +01:00
parent 9662e99354
commit e354f8e17b

View 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);
}