From 1c7a301a115fd4b333fea061c48fa6065316cd80 Mon Sep 17 00:00:00 2001 From: Cody Russell Date: Fri, 12 Feb 2010 15:38:02 -0600 Subject: Just to be safe, let's connect these at the end. --- src/libappindicator/app-indicator.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/libappindicator/app-indicator.c') diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c index 49c0903..1f39f57 100644 --- a/src/libappindicator/app-indicator.c +++ b/src/libappindicator/app-indicator.c @@ -1301,6 +1301,10 @@ app_indicator_set_menu (AppIndicator *self, GtkMenu *menu) priv->menu = GTK_WIDGET (menu); g_object_ref (priv->menu); + setup_dbusmenu (self); + + check_connect (self); + g_signal_connect (menu, "add", G_CALLBACK (client_menu_changed), @@ -1309,10 +1313,6 @@ app_indicator_set_menu (AppIndicator *self, GtkMenu *menu) "remove", G_CALLBACK (client_menu_changed), self); - - setup_dbusmenu (self); - - check_connect (self); } /** -- cgit v1.2.3