filechooserentry: Set minimum key length to 0

We want the empty chooser to show possible completions, too.
This commit is contained in:
Benjamin Otte
2011-11-07 03:51:25 +01:00
committed by Federico Mena Quintero
parent 83dd275d21
commit 1945577a61

View File

@@ -194,6 +194,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);