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
|
@ -177,8 +177,6 @@ static void
|
||||||
midori_findbar_preedit_changed_cb (GtkWidget* entry,
|
midori_findbar_preedit_changed_cb (GtkWidget* entry,
|
||||||
const gchar* preedit,
|
const gchar* preedit,
|
||||||
MidoriFindbar* findbar)
|
MidoriFindbar* findbar)
|
||||||
{
|
|
||||||
if (findbar->find_typing)
|
|
||||||
{
|
{
|
||||||
MidoriBrowser* browser = midori_browser_get_for_widget (entry);
|
MidoriBrowser* browser = midori_browser_get_for_widget (entry);
|
||||||
GtkWidget* view = midori_browser_get_current_tab (browser);
|
GtkWidget* view = midori_browser_get_current_tab (browser);
|
||||||
|
@ -186,7 +184,6 @@ midori_findbar_preedit_changed_cb (GtkWidget* entry,
|
||||||
if (g_utf8_strlen (preedit, -1) > 1)
|
if (g_utf8_strlen (preedit, -1) > 1)
|
||||||
midori_findbar_find_text (findbar, preedit, TRUE);
|
midori_findbar_find_text (findbar, preedit, TRUE);
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
||||||
static void
|
static void
|
||||||
midori_findbar_text_changed_cb (GtkWidget* entry,
|
midori_findbar_text_changed_cb (GtkWidget* entry,
|
||||||
|
|
Loading…
Reference in a new issue