aboutsummaryrefslogtreecommitdiff
path: root/libindicate/indicator.c
diff options
context:
space:
mode:
authorTed Gould <ted@canonical.com>2009-01-13 15:43:14 -0600
committerTed Gould <ted@canonical.com>2009-01-13 15:43:14 -0600
commit4670fee8fe07e67098788396d4d124181d2ecd38 (patch)
treebf7c40b2052cdc6301b5099540c6adf3e92010b5 /libindicate/indicator.c
parent1c7343c65ff2951229e028edaeffee25dd4482f9 (diff)
downloadlibayatana-indicator-4670fee8fe07e67098788396d4d124181d2ecd38.tar.gz
libayatana-indicator-4670fee8fe07e67098788396d4d124181d2ecd38.tar.bz2
libayatana-indicator-4670fee8fe07e67098788396d4d124181d2ecd38.zip
Adding in a display function and a list by type.
Diffstat (limited to 'libindicate/indicator.c')
-rw-r--r--libindicate/indicator.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/libindicate/indicator.c b/libindicate/indicator.c
index 119a479..5d45c93 100644
--- a/libindicate/indicator.c
+++ b/libindicate/indicator.c
@@ -142,4 +142,13 @@ indicate_indicator_get_indicator_type (IndicateIndicator * indicator)
return NULL;
}
+void
+indicate_indicator_user_display (IndicateIndicator * indicator)
+{
+ if (!indicator->is_visible) {
+ return;
+ }
+ g_signal_emit(indicator, signals[USER_DISPLAY], 0, TRUE);
+ return;
+}