]> spindle.queued.net Git - midori/commitdiff
Search inline with at least 2, not 3 characters
authorChristian Dywan <christian@twotoasts.de>
Tue, 7 Sep 2010 19:39:52 +0000 (21:39 +0200)
committerChristian Dywan <christian@twotoasts.de>
Tue, 7 Sep 2010 19:39:52 +0000 (21:39 +0200)
toolbars/midori-findbar.c

index 5b7ca9d7ced52fdce7efe8d1cba4d5b7651a1b00..edb8f35d9bffc46e4ba29c7fd0b0c4111b2cd3bd 100644 (file)
@@ -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);
     }
 }