From eec3d265a53167f411eec9769851bebfabee3d1b Mon Sep 17 00:00:00 2001 From: Ray Strode Date: Tue, 7 Sep 2010 17:06:33 -0400 Subject: Show menu after adding children This prevents a warning on the console --- gui/user-switch-applet/applet.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/user-switch-applet') diff --git a/gui/user-switch-applet/applet.c b/gui/user-switch-applet/applet.c index a3e08813..66479fa9 100644 --- a/gui/user-switch-applet/applet.c +++ b/gui/user-switch-applet/applet.c @@ -1062,7 +1062,6 @@ create_sub_menu (GdmAppletData *adata) G_CALLBACK (menu_style_set_cb), adata); g_signal_connect (adata->menu, "show", G_CALLBACK (menu_expose_cb), adata); - gtk_widget_show (adata->menu); #ifdef BUILD_PRESENSE_STUFF adata->user_item = gdm_entry_menu_item_new (); @@ -1177,6 +1176,7 @@ create_sub_menu (GdmAppletData *adata) g_signal_connect (adata->quit_session_item, "activate", G_CALLBACK (on_quit_session_activate), adata); gtk_widget_show (adata->quit_session_item); + gtk_widget_show (adata->menu); } static void -- cgit v1.2.1