aboutsummaryrefslogtreecommitdiff
path: root/libindicate/indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-12 13:34:24 -0600
committerTed Gould <ted@canonical.com>2009-02-12 13:34:24 -0600
commit8b91e1dd1bcd3f72cd414244ed434cc98227de5d (patch)
tree48503d58ba5d45cf12af91f3cd993e1d8810c15a /libindicate/indicator.c
parent1a5e21eb86c396d5535bfa4f74255740c8ee25d3 (diff)
downloadlibayatana-indicator-8b91e1dd1bcd3f72cd414244ed434cc98227de5d.tar.gz
libayatana-indicator-8b91e1dd1bcd3f72cd414244ed434cc98227de5d.tar.bz2
libayatana-indicator-8b91e1dd1bcd3f72cd414244ed434cc98227de5d.zip
Adding in some debug messages and making the signal use the original key to broadcast itself.
Diffstat (limited to 'libindicate/indicator.c')
-rw-r--r--libindicate/indicator.c4
1 files changed, 3 insertions, 1 deletions
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);
}
}