From: Christian Dywan Date: Tue, 7 Sep 2010 19:39:52 +0000 (+0200) Subject: Search inline with at least 2, not 3 characters X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=38d75adc28c30a3e102eb0597e530dd7b66c9356;p=midori Search inline with at least 2, not 3 characters --- 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); } }