[gtk+/filechooserentry: 31/51] filechooserentry: Set the text column of the entry completion
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/filechooserentry: 31/51] filechooserentry: Set the text column of the entry completion
- Date: Mon, 7 Nov 2011 04:45:38 +0000 (UTC)
commit 481d10036ead672faa3484a85d19821e735ed179
Author: Benjamin Otte <otte redhat com>
Date: Sun Nov 6 02:33:57 2011 +0100
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 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index ed97f1a..e2a8a54 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]