diff options
author | Ted Gould <ted@canonical.com> | 2009-09-08 20:18:34 -0500 |
---|---|---|
committer | Ted Gould <ted@canonical.com> | 2009-09-08 20:18:34 -0500 |
commit | c16260bbe714ef79c48e40a27b84eaf92b8253d6 (patch) | |
tree | 06a86ad6b439856d6571009ba7ab53807669c020 /src | |
parent | 990756858a90aec22d0e1bf001a97208fc1a699f (diff) | |
download | ayatana-indicator-messages-c16260bbe714ef79c48e40a27b84eaf92b8253d6.tar.gz ayatana-indicator-messages-c16260bbe714ef79c48e40a27b84eaf92b8253d6.tar.bz2 ayatana-indicator-messages-c16260bbe714ef79c48e40a27b84eaf92b8253d6.zip |
Checking the wrong variable, let's not get caught by those legacy guys ;)
Diffstat (limited to 'src')
-rw-r--r-- | src/im-menu-item.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/im-menu-item.c b/src/im-menu-item.c index 03cea5e..f97436e 100644 --- a/src/im-menu-item.c +++ b/src/im-menu-item.c @@ -265,7 +265,7 @@ time_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateL static void sender_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, gchar * propertydata, gpointer data) { - g_debug("Got Sender Information"); + g_debug("Got Sender Information: %s", propertydata); ImMenuItem * self = IM_MENU_ITEM(data); /* Our data should be right */ @@ -278,7 +278,7 @@ sender_cb (IndicateListener * listener, IndicateListenerServer * server, Indicat /* We might get the sender variable returning a null string as it doesn't exist on newer clients but we don't want to listen to that. */ - if (!g_strcmp0(property, "sender") && property[0] == '\0') { + if (!g_strcmp0(property, "sender") && propertydata[0] == '\0') { return; } |