aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-06-11 16:40:42 -0500
committerTed Gould <ted@gould.cx>2010-06-11 16:40:42 -0500
commit95c79072099f677f140c8d4b6525c9c9e858b972 (patch)
treeeb60aa9041bda51176298fddc468cdf25fce7716
parent34a4af960f7d98d178e2f56f93837bcb68a78758 (diff)
downloadayatana-indicator-application-95c79072099f677f140c8d4b6525c9c9e858b972.tar.gz
ayatana-indicator-application-95c79072099f677f140c8d4b6525c9c9e858b972.tar.bz2
ayatana-indicator-application-95c79072099f677f140c8d4b6525c9c9e858b972.zip
Changing signal names and getting the ones on the base menu as well.
-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 f13e7f6..03819ca 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -1364,12 +1364,12 @@ container_iterate (GtkWidget *widget,
container_iterate,
child);
g_signal_connect_object (submenu,
- "GtkContainer::child-added",
+ "child-added",
G_CALLBACK (submenu_changed),
child,
0);
g_signal_connect_object (submenu,
- "GtkContainer::child-removed",
+ "child-removed",
G_CALLBACK (submenu_changed),
child,
0);
@@ -1506,11 +1506,11 @@ app_indicator_set_menu (AppIndicator *self, GtkMenu *menu)
check_connect (self);
g_signal_connect (menu,
- "add",
+ "child-added",
G_CALLBACK (client_menu_changed),
self);
g_signal_connect (menu,
- "remove",
+ "child-removed",
G_CALLBACK (client_menu_changed),
self);
}