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:24:26 +00:00 committed by Matthias Clasen
parent 19f92e70d6
commit be0d41dc77
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/gtkspinbutton.h:
* gtk/gtkspinbutton.c: Add a wrapped signal. (#322933,
Carlos Garnacho Parro)

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/gtkspinbutton.h:
* gtk/gtkspinbutton.c: Add a wrapped signal. (#322933,
Carlos Garnacho Parro)

View File

@ -1347,6 +1347,8 @@ _gtk_entry_completion_resize_popup (GtkEntryCompletion *completion)
NULL);
height += vertical_separator;
gtk_widget_realize (completion->priv->tree_view);
if (items <= 0)
gtk_widget_hide (completion->priv->scrolled_window);