From 38d75adc28c30a3e102eb0597e530dd7b66c9356 Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Tue, 7 Sep 2010 21:39:52 +0200 Subject: [PATCH] Search inline with at least 2, not 3 characters --- toolbars/midori-findbar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/toolbars/midori-findbar.c b/toolbars/midori-findbar.c index 5b7ca9d7..edb8f35d 100644 --- a/toolbars/midori-findbar.c +++ b/toolbars/midori-findbar.c @@ -170,7 +170,7 @@ midori_findbar_text_changed_cb (GtkWidget* entry, GtkWidget* view = midori_browser_get_current_tab (browser); const gchar* text = gtk_entry_get_text (GTK_ENTRY (entry)); 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); } } -- 2.39.5