aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-09-08 20:18:34 -0500
committerTed Gould <ted@canonical.com>2009-09-08 20:18:34 -0500
commitc16260bbe714ef79c48e40a27b84eaf92b8253d6 (patch)
tree06a86ad6b439856d6571009ba7ab53807669c020
parent990756858a90aec22d0e1bf001a97208fc1a699f (diff)
downloadayatana-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 ;)
-rw-r--r--src/im-menu-item.c4
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;
}