[gtk+/gtk-2-24] filechooserentry: Set minimum key length to 0
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-2-24] filechooserentry: Set minimum key length to 0
- Date: Thu, 10 Mar 2016 21:31:04 +0000 (UTC)
commit 1945577a613706d7d2fdcd4eff678636b0fe1262
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 a138df6..978292b 100644
--- a/gtk/gtkfilechooserentry.c
+++ b/gtk/gtkfilechooserentry.c
@@ -194,6 +194,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]