Find inline "live" regardless of how it was initiated
Fixes: https://bugs.launchpad.net/midori/+bug/772843
This commit is contained in:
parent
8e632a44b3
commit
7033129aff
1 changed files with 5 additions and 8 deletions
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
Loading…
Reference in a new issue