Search inline with at least 2, not 3 characters
This commit is contained in:
parent
d8b4eaa566
commit
38d75adc28
1 changed files with 1 additions and 1 deletions
|
@ -170,7 +170,7 @@ midori_findbar_text_changed_cb (GtkWidget* entry,
|
||||||
GtkWidget* view = midori_browser_get_current_tab (browser);
|
GtkWidget* view = midori_browser_get_current_tab (browser);
|
||||||
const gchar* text = gtk_entry_get_text (GTK_ENTRY (entry));
|
const gchar* text = gtk_entry_get_text (GTK_ENTRY (entry));
|
||||||
midori_view_unmark_text_matches (MIDORI_VIEW (view));
|
midori_view_unmark_text_matches (MIDORI_VIEW (view));
|
||||||
if (g_utf8_strlen (text, -1) > 2)
|
if (g_utf8_strlen (text, -1) > 1)
|
||||||
midori_findbar_find (findbar, TRUE);
|
midori_findbar_find (findbar, TRUE);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue