[gtk+] filechooserentry: Set minimum key length to 0
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] filechooserentry: Set minimum key length to 0
- Date: Fri, 16 Dec 2011 19:14:50 +0000 (UTC)
commit ea8f5f15c1265778124ee86559db8a4ffeb8288a
Author: Benjamin Otte <otte redhat com>
Date: Mon Nov 7 03:51:25 2011 +0100
filechooserentry: Set minimum key length to 0
We want the empty chooser to show possible completions, too.
gtk/gtkfilechooserentry.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/gtk/gtkfilechooserentry.c b/gtk/gtkfilechooserentry.c
index ecd5107..159e80f 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -191,6 +191,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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]