diff options
author | Ted Gould <ted@canonical.com> | 2009-06-19 14:42:15 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-06-19 14:42:15 -0500 |
commit | 901278c9c269c5052cf5ebc54ef859c63f0b94f2 (patch) | |
tree | 1b35e053375e60b507a6e0b6561ed3fe183aa0fe | |
parent | 7f2cb8b3f917ceddd4ebae8dd8e55f966cbd0fcc (diff) | |
download | ayatana-indicator-session-901278c9c269c5052cf5ebc54ef859c63f0b94f2.tar.gz ayatana-indicator-session-901278c9c269c5052cf5ebc54ef859c63f0b94f2.tar.bz2 ayatana-indicator-session-901278c9c269c5052cf5ebc54ef859c63f0b94f2.zip |
Oh, the signal is 'add' not 'added'. How I love to have random strings without checking, all the elegance of Python.
-rw-r--r-- | src/indicator-sus.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/indicator-sus.c b/src/indicator-sus.c index 6b69269..d8b808a 100644 --- a/src/indicator-sus.c +++ b/src/indicator-sus.c @@ -109,7 +109,7 @@ build_status_menu (gpointer userdata) } status_menu = GTK_MENU(dbusmenu_gtkmenu_new(INDICATOR_STATUS_DBUS_NAME, INDICATOR_STATUS_DBUS_OBJECT)); - g_signal_connect(G_OBJECT(status_menu), "added", G_CALLBACK(status_menu_add), main_menu); + g_signal_connect(G_OBJECT(status_menu), "add", G_CALLBACK(status_menu_add), main_menu); status_separator = gtk_separator_menu_item_new(); gtk_widget_hide(status_separator); /* Should be default, I'm just being explicit. $(%*#$ hide already! */ @@ -140,7 +140,7 @@ build_users_menu (gpointer userdata) } users_menu = GTK_MENU(dbusmenu_gtkmenu_new(INDICATOR_USERS_DBUS_NAME, INDICATOR_USERS_DBUS_OBJECT)); - g_signal_connect(G_OBJECT(users_menu), "added", G_CALLBACK(users_menu_add), main_menu); + g_signal_connect(G_OBJECT(users_menu), "add", G_CALLBACK(users_menu_add), main_menu); users_separator = gtk_separator_menu_item_new(); gtk_widget_hide(users_separator); /* Should be default, I'm just being explicit. $(%*#$ hide already! */ @@ -171,7 +171,7 @@ build_session_menu (gpointer userdata) } session_menu = GTK_MENU(dbusmenu_gtkmenu_new(INDICATOR_SESSION_DBUS_NAME, INDICATOR_SESSION_DBUS_OBJECT)); - g_signal_connect(G_OBJECT(session_menu), "added", G_CALLBACK(session_menu_add), main_menu); + g_signal_connect(G_OBJECT(session_menu), "add", G_CALLBACK(session_menu_add), main_menu); return FALSE; } |