aboutsummaryrefslogtreecommitdiff
path: root/libindicate/indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-02-09 11:33:03 -0600
committerTed Gould <ted@canonical.com>2009-02-09 11:33:03 -0600
commit42e990fe99a727db4a9e6c00a82212cc8733eef7 (patch)
tree26dc55956d988247ab66ede8c43c9777dafa8f24 /libindicate/indicator.c
parentaf60279179c1e3998796d3b172b1401bd9a678df (diff)
parent9d73c89bcac7a548614815c183295ee802fd27d7 (diff)
downloadlibayatana-indicator-42e990fe99a727db4a9e6c00a82212cc8733eef7.tar.gz
libayatana-indicator-42e990fe99a727db4a9e6c00a82212cc8733eef7.tar.bz2
libayatana-indicator-42e990fe99a727db4a9e6c00a82212cc8733eef7.zip
Merge from trunk
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 b77d7d7..cf77316 100644
--- a/libindicate/indicator.c
+++ b/libindicate/indicator.c
@@ -255,7 +255,9 @@ set_property (IndicateIndicator * indicator, const gchar * key, const gchar * da
/* If the value has changed or there is no value */
gchar * newkey = g_strdup(key);
g_hash_table_insert(priv->properties, newkey, g_strdup(data));
- g_signal_emit(indicator, signals[MODIFIED], 0, newkey, TRUE);
+ if (indicate_indicator_is_visible(indicator)) {
+ g_signal_emit(indicator, signals[MODIFIED], 0, newkey, TRUE);
+ }
}
return;