From: Christian Dywan Date: Sun, 1 May 2011 15:20:55 +0000 (+0200) Subject: Find inline "live" regardless of how it was initiated X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7033129aff66f39542726f550ad027816efb433f;p=midori Find inline "live" regardless of how it was initiated Fixes: https://bugs.launchpad.net/midori/+bug/772843 --- diff --git a/toolbars/midori-findbar.c b/toolbars/midori-findbar.c index 9bba529a..d8769c46 100644 --- a/toolbars/midori-findbar.c +++ b/toolbars/midori-findbar.c @@ -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