[gdm] Show menu after adding children
- From: Ray Strode <halfline src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gdm] Show menu after adding children
- Date: Tue, 7 Sep 2010 21:10:03 +0000 (UTC)
commit eec3d265a53167f411eec9769851bebfabee3d1b
Author: Ray Strode <rstrode redhat com>
Date: Tue Sep 7 17:06:33 2010 -0400
Show menu after adding children
This prevents a warning on the console
gui/user-switch-applet/applet.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gui/user-switch-applet/applet.c b/gui/user-switch-applet/applet.c
index a3e0881..66479fa 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]