From c585471bafcc71c1535bbc436385e88b7e2f84a4 Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Sun, 6 Nov 2011 02:33:57 +0100 Subject: [PATCH] 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. --- gtk/gtkfilechooserentry.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index ed97f1aba..e2a8a5461 100644 --- a/gtk/gtkfilechooserentry.c +++ b/gtk/gtkfilechooserentry.c @@ -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, -- 2.43.2