filechooserentry: Set the text column of the entry completion

I want to use it in the next commits, but am doing this in a separate
commit so we can find side effects causing bugs easier when bisecting.
This commit is contained in:
Benjamin Otte
2011-11-06 02:33:57 +01:00
parent e3ef8a568e
commit c585471baf

View File

@ -207,6 +207,8 @@ _gtk_file_chooser_entry_init (GtkFileChooserEntry *chooser_entry)
comp = gtk_entry_completion_new ();
gtk_entry_completion_set_popup_single_match (comp, FALSE);
/* see docs for gtk_entry_completion_set_text_column() */
g_object_set (comp, "text-column", FULL_PATH_COLUMN, NULL);
gtk_entry_completion_set_match_func (comp,
completion_match_func,