From 544eea3561c56a0550efb4a65f72ea0a2fe71f9a Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Mon, 30 Jan 2006 18:26:08 +0000 Subject: [PATCH] Make sure the tree view is realized, since we grab the focus to it. 2006-01-30 Matthias Clasen * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): Make sure the tree view is realized, since we grab the focus to it. (#329144, Wouter Bolsterlee) --- ChangeLog | 4 ++++ ChangeLog.pre-2-10 | 4 ++++ gtk/gtkentrycompletion.c | 2 ++ 3 files changed, 10 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8b800338b7..0c3b06f13c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2006-01-30 Matthias Clasen + * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): + Make sure the tree view is realized, since we grab the + focus to it. (#329144, Wouter Bolsterlee) + * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_set_property): Use the setter for active. (#329208, Guillaume Cottenceau) diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 8b800338b7..0c3b06f13c 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,5 +1,9 @@ 2006-01-30 Matthias Clasen + * gtk/gtkentrycompletion.c (_gtk_entry_completion_resize_popup): + Make sure the tree view is realized, since we grab the + focus to it. (#329144, Wouter Bolsterlee) + * gtk/gtktoggletoolbutton.c (gtk_toggle_tool_button_set_property): Use the setter for active. (#329208, Guillaume Cottenceau) diff --git a/gtk/gtkentrycompletion.c b/gtk/gtkentrycompletion.c index e6aa2e90f0..34f4102f43 100644 --- a/gtk/gtkentrycompletion.c +++ b/gtk/gtkentrycompletion.c @@ -1348,6 +1348,8 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion) height += vertical_separator; + gtk_widget_realize (completion->priv->tree_view); + if (items <= 0) gtk_widget_hide (completion->priv->scrolled_window); else