Make sure the tree view is realized, since we grab the focus to it.

2006-01-30  Matthias Clasen  <mclasen@redhat.com>

	* 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)
This commit is contained in:
Matthias Clasen
2006-01-30 18:26:08 +00:00
committed by Matthias Clasen
parent 3d05b7c76b
commit 544eea3561
3 changed files with 10 additions and 0 deletions

View File

@@ -1,5 +1,9 @@
2006-01-30 Matthias Clasen <mclasen@redhat.com>
* 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)

View File

@@ -1,5 +1,9 @@
2006-01-30 Matthias Clasen <mclasen@redhat.com>
* 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)

View File

@@ -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