aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator/app-indicator.c
diff options
context:
space:
mode:
authorCody Russell <crussell@canonical.com>2010-02-12 15:38:02 -0600
committerCody Russell <crussell@canonical.com>2010-02-12 15:38:02 -0600
commit1c7a301a115fd4b333fea061c48fa6065316cd80 (patch)
tree82eb9b41ee9414a9bb900713cc3a61f3a1a9b50e /src/libappindicator/app-indicator.c
parent02b61440e93c17963c76f1423b29fd83e7cea78a (diff)
downloadayatana-indicator-application-1c7a301a115fd4b333fea061c48fa6065316cd80.tar.gz
ayatana-indicator-application-1c7a301a115fd4b333fea061c48fa6065316cd80.tar.bz2
ayatana-indicator-application-1c7a301a115fd4b333fea061c48fa6065316cd80.zip
Just to be safe, let's connect these at the end.
Diffstat (limited to 'src/libappindicator/app-indicator.c')
-rw-r--r--src/libappindicator/app-indicator.c8
1 files changed, 4 insertions, 4 deletions
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);
}
/**