diff options
author | Matthias Clasen <mclasen@redhat.com> | 2005-03-15 15:00:11 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2005-03-15 15:00:11 +0000 |
commit | 0e86016442117d8ababe9f6a5907a0d5edd5b47e (patch) | |
tree | d8733b7a8e0ed5b7840aa9cb82a249a233d6e0de /gtk/gtkentry.c | |
parent | 3fc42d7ab9602fc8f9e41c09de427f2e76950286 (diff) | |
download | gtk+-0e86016442117d8ababe9f6a5907a0d5edd5b47e.tar.gz |
Document that inline completion requires text-column to be set.
2005-03-15 Matthias Clasen <mclasen@redhat.com>
* gtk/gtkentrycompletion.c (gtk_entry_completion_class_init):
Document that inline completion requires text-column to be set.
(gtk_entry_completion_compute_prefix): Return NULL if text-column
is not set.
* gtk/gtkentry.c (check_completion_callback): Call
gtk_entry_completion_complete() before inserting the prefix,
otherwise the prefix may depend on (random) state of the
filter model.
Diffstat (limited to 'gtk/gtkentry.c')
-rw-r--r-- | gtk/gtkentry.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gtk/gtkentry.c b/gtk/gtkentry.c index b26cdda5d4..0659e12bf3 100644 --- a/gtk/gtkentry.c +++ b/gtk/gtkentry.c @@ -5200,6 +5200,7 @@ check_completion_callback (GtkEntryCompletion *completion) { completion->priv->check_completion_idle = NULL; + gtk_entry_completion_complete (completion); gtk_entry_completion_insert_prefix (completion); return FALSE; |