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:
committed by
Matthias Clasen
parent
3d05b7c76b
commit
544eea3561
@@ -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)
|
||||
|
||||
|
||||
@@ -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)
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user