GtkMenuShell: (model binding) show() new items

We weren't calling show() on newly-added items -- make sure we do that.

This makes the Time menu in bloatpad work properly again.
This commit is contained in:
Ryan Lortie 2014-05-14 15:49:30 -04:00
parent 583b46c9c8
commit 6525130740

View File

@ -2112,6 +2112,7 @@ gtk_menu_shell_tracker_insert_func (GtkMenuTrackerItem *item,
g_object_bind_property (item, "accel", widget, "accel", G_BINDING_SYNC_CREATE);
g_signal_connect (widget, "activate", G_CALLBACK (gtk_menu_shell_item_activate), item);
gtk_widget_show (widget);
}
/* TODO: drop this when we have bindings that ref the source */