From 8b91e1dd1bcd3f72cd414244ed434cc98227de5d Mon Sep 17 00:00:00 2001 From: Ted Gould Date: Thu, 12 Feb 2009 13:34:24 -0600 Subject: Adding in some debug messages and making the signal use the original key to broadcast itself. --- libindicate/indicator.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'libindicate/indicator.c') diff --git a/libindicate/indicator.c b/libindicate/indicator.c index 3b6581b..1c6225e 100644 --- a/libindicate/indicator.c +++ b/libindicate/indicator.c @@ -293,9 +293,11 @@ set_property (IndicateIndicator * indicator, const gchar * key, const gchar * da if (current == NULL || strcmp(current, data)) { /* If the value has changed or there is no value */ gchar * newkey = g_strdup(key); + /* g_debug("What is newkey? %s", newkey); */ g_hash_table_insert(priv->properties, newkey, g_strdup(data)); if (indicate_indicator_is_visible(indicator)) { - g_signal_emit(indicator, signals[MODIFIED], 0, newkey, TRUE); + /* g_debug("Indicator property modified: %s %s", key, data); */ + g_signal_emit(indicator, signals[MODIFIED], 0, key, TRUE); } } -- cgit v1.2.3