diff options
author | Ted Gould <ted@canonical.com> | 2009-06-22 22:49:02 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-06-22 22:49:02 -0500 |
commit | 23fa731fafd03ac156f4b2b121250fa7a76a9a53 (patch) | |
tree | f5bcaeb80308bb8339572a2f4e1012aa3137769c /src/indicator-sus.c | |
parent | 5a5c1bb4559496948f43d893f17ca84690a847d0 (diff) | |
download | ayatana-indicator-session-23fa731fafd03ac156f4b2b121250fa7a76a9a53.tar.gz ayatana-indicator-session-23fa731fafd03ac156f4b2b121250fa7a76a9a53.tar.bz2 ayatana-indicator-session-23fa731fafd03ac156f4b2b121250fa7a76a9a53.zip |
Using the new dbusmenu signal for item added
Diffstat (limited to 'src/indicator-sus.c')
-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 84eb929..53a0db6 100644 --- a/src/indicator-sus.c +++ b/src/indicator-sus.c @@ -114,7 +114,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), "add", G_CALLBACK(status_menu_add), main_menu); + g_signal_connect(G_OBJECT(status_menu), DBUSMENU_GTKMENU_SIGNAL_ADD, G_CALLBACK(status_menu_add), main_menu); status_separator = gtk_separator_menu_item_new(); gtk_menu_shell_append(GTK_MENU_SHELL(main_menu), status_separator); @@ -146,7 +146,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), "add", G_CALLBACK(users_menu_add), main_menu); + g_signal_connect(G_OBJECT(users_menu), DBUSMENU_GTKMENU_SIGNAL_ADD, G_CALLBACK(users_menu_add), main_menu); users_separator = gtk_separator_menu_item_new(); gtk_menu_shell_append(GTK_MENU_SHELL(main_menu), users_separator); @@ -178,7 +178,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), "add", G_CALLBACK(session_menu_add), main_menu); + g_signal_connect(G_OBJECT(session_menu), DBUSMENU_GTKMENU_SIGNAL_ADD, G_CALLBACK(session_menu_add), main_menu); return FALSE; } |