diff options
author | Benjamin Otte <otte@redhat.com> | 2011-11-06 02:33:57 +0100 |
---|---|---|
committer | Benjamin Otte <otte@redhat.com> | 2011-12-16 20:09:12 +0100 |
commit | c585471bafcc71c1535bbc436385e88b7e2f84a4 (patch) | |
tree | 28cdb3041e800eb9c49a7731a69d6dd64917c810 /gtk/gtkfilechooserentry.c | |
parent | e3ef8a568e6772b16bb3b52b0e71f80d02187c48 (diff) | |
download | gtk+-c585471bafcc71c1535bbc436385e88b7e2f84a4.tar.gz |
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.
Diffstat (limited to 'gtk/gtkfilechooserentry.c')
-rw-r--r-- | gtk/gtkfilechooserentry.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c index ed97f1abaf..e2a8a54614 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, |