aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libindicate/indicator.c4
-rw-r--r--libindicate/server.c1
2 files changed, 4 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);
}
}
diff --git a/libindicate/server.c b/libindicate/server.c
index 0c74376..ee20321 100644
--- a/libindicate/server.c
+++ b/libindicate/server.c
@@ -352,6 +352,7 @@ indicator_hide_cb (IndicateIndicator * indicator, IndicateServer * server)
static void
indicator_modified_cb (IndicateIndicator * indicator, gchar * property, IndicateServer * server)
{
+ /* g_debug("Indicator Modified: %d %s", indicate_indicator_get_id(indicator), property); */
g_signal_emit(server, signals[INDICATOR_MODIFIED], 0, indicate_indicator_get_id(indicator), property, TRUE);
}