diff options
author | Ted Gould <ted@canonical.com> | 2009-08-12 22:03:14 -0600 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-08-12 22:03:14 -0600 |
commit | 9d37b17ad4ea3d3d73290af9c7239460c7afee51 (patch) | |
tree | ac2a238614e4f3a5762c7f4d8b04bcc8ce139655 | |
parent | 05de808c0cb623e7a2c81006b943da83ee81ebed (diff) | |
parent | 6e421d043306ac0e72d9760c0d649814f4503d26 (diff) | |
download | ayatana-indicator-session-9d37b17ad4ea3d3d73290af9c7239460c7afee51.tar.gz ayatana-indicator-session-9d37b17ad4ea3d3d73290af9c7239460c7afee51.tar.bz2 ayatana-indicator-session-9d37b17ad4ea3d3d73290af9c7239460c7afee51.zip |
Fixing signal name and cleaning debug messages.
-rw-r--r-- | debian/changelog | 6 | ||||
-rw-r--r-- | src/indicator-sus.c | 8 |
2 files changed, 10 insertions, 4 deletions
diff --git a/debian/changelog b/debian/changelog index 3ff4916..81aa5c7 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,9 @@ +indicator-sus (0.1~ppa7~status6) UNRELEASED; urgency=low + + * Fixing signal name and cleaning debug messages. + + -- Ted Gould <ted@ubuntu.com> Wed, 12 Aug 2009 22:02:53 -0600 + indicator-sus (0.1~ppa7~status5) karmic; urgency=low * Trying to do some more icon fixes. diff --git a/src/indicator-sus.c b/src/indicator-sus.c index fcab5cb..7a198b2 100644 --- a/src/indicator-sus.c +++ b/src/indicator-sus.c @@ -73,7 +73,7 @@ get_label (void) GtkImage * get_icon (void) { - g_debug("Changing status icon: %s", "user-offline"); + g_debug("Changing status icon: '%s'", "user-offline"); status_image = GTK_IMAGE(gtk_image_new_from_icon_name("user-offline", GTK_ICON_SIZE_MENU)); gtk_widget_show(GTK_WIDGET(status_image)); return status_image; @@ -189,7 +189,7 @@ status_icon_cb (DBusGProxy * proxy, char * icons, GError *error, gpointer userda g_return_if_fail(icons != NULL); g_return_if_fail(icons[0] == '\0'); - g_debug("Changing status icon: %s", icons); + g_debug("Changing status icon: '%s'", icons); gtk_image_set_from_icon_name(status_image, icons, GTK_ICON_SIZE_MENU); return; @@ -222,8 +222,8 @@ connect_to_status (gpointer userdata) return FALSE; } - dbus_g_proxy_add_signal(status_proxy, "IconsChanged", G_TYPE_STRING, G_TYPE_INVALID); - dbus_g_proxy_connect_signal(status_proxy, "IconsChanged", G_CALLBACK(status_icon_changed), NULL, NULL); + dbus_g_proxy_add_signal(status_proxy, "StatusIconsChanged", G_TYPE_STRING, G_TYPE_INVALID); + dbus_g_proxy_connect_signal(status_proxy, "StatusIconsChanged", G_CALLBACK(status_icon_changed), NULL, NULL); } org_ayatana_indicator_status_service_status_icons_async(status_proxy, status_icon_cb, NULL); |