summaryrefslogtreecommitdiff
path: root/gtk/gtkentrycompletion.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2005-06-17 18:26:25 +0000
committerMatthias Clasen <matthiasc@src.gnome.org>2005-06-17 18:26:25 +0000
commit7535bc04f88af406dbc8849a0611af21c0d1608b (patch)
tree24103e347fac50cd31dd0a0a0495de30489837ad /gtk/gtkentrycompletion.c
parent7f47f6b10af7b0ced02ba2a949b37f2781234842 (diff)
downloadgtk+-7535bc04f88af406dbc8849a0611af21c0d1608b.tar.gz
Resize the popup if necessary. (#308076, Vincent Noel)
2005-06-17 Matthias Clasen <mclasen@redhat.com> * gtk/gtkentrycompletion.c (gtk_entry_completion_complete): Resize the popup if necessary. (#308076, Vincent Noel)
Diffstat (limited to 'gtk/gtkentrycompletion.c')
-rw-r--r--gtk/gtkentrycompletion.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c
index e9d03f6c1a..28b8f99511 100644
--- a/gtk/gtkentrycompletion.c
+++ b/gtk/gtkentrycompletion.c
@@ -1132,6 +1132,9 @@ gtk_entry_completion_complete (GtkEntryCompletion *completion)
g_free (tmp);
gtk_tree_model_filter_refilter (completion->priv->filter_model);
+
+ if (GTK_WIDGET_VISIBLE (completion->priv->popup_window))
+ _gtk_entry_completion_resize_popup (completion);
}
static void