From ea8f5f15c1265778124ee86559db8a4ffeb8288a Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 7 Nov 2011 03:51:25 +0100 Subject: [PATCH] filechooserentry: Set minimum key length to 0 We want the empty chooser to show possible completions, too. --- gtk/gtkfilechooserentry.c | 1 + 1 file changed, 1 insertion(+) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index ecd51077d9..159e80f23c 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -191,6 +191,7 @@ _gtk_file_chooser_entry_init (GtkFileChooserEntry *chooser_entry) comp = gtk_entry_completion_new (); gtk_entry_completion_set_popup_single_match (comp, FALSE); + gtk_entry_completion_set_minimum_key_length (comp, 0); /* see docs for gtk_entry_completion_set_text_column() */ g_object_set (comp, "text-column", FULL_PATH_COLUMN, NULL);