From 7033129aff66f39542726f550ad027816efb433f Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 1 May 2011 17:20:55 +0200 Subject: [PATCH] Find inline "live" regardless of how it was initiated Fixes: https://bugs.launchpad.net/midori/+bug/772843 --- toolbars/midori-findbar.c | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) 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 -- 2.39.5