aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Pettersson <william.pettersson@glasgow.ac.uk>2023-07-20 09:14:32 +0100
committerWilliam Pettersson <william.pettersson@glasgow.ac.uk>2023-07-20 09:14:32 +0100
commit864b830e2e7b85d8763142326f84bc7b38acde97 (patch)
tree790990931a0ed3ae71215d8e1bdb5d8eb75aa371
parent2b32292bd7de887689a63950bfc372d3b7fffef5 (diff)
downloadlibayatana-appindicator-864b830e2e7b85d8763142326f84bc7b38acde97.tar.gz
libayatana-appindicator-864b830e2e7b85d8763142326f84bc7b38acde97.tar.bz2
libayatana-appindicator-864b830e2e7b85d8763142326f84bc7b38acde97.zip
Document the status property a bit more clearly.
Details of what each property means are taken from lines ~144-146 of app-indicator.h (search for @APP_INDICATOR_STATUS_PASSIVE).
-rw-r--r--src/app-indicator.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/app-indicator.c b/src/app-indicator.c
index ebedc65..87e66ed 100644
--- a/src/app-indicator.c
+++ b/src/app-indicator.c
@@ -326,14 +326,16 @@ app_indicator_class_init (AppIndicatorClass *klass)
/**
* AppIndicator:status:
*
- * Whether the indicator is shown or requests attention. Defaults to
- * 'Passive'.
+ * Whether the indicator is shown or requests attention. Can be one of
+ * 'Passive' (the indicator should not be shown), 'Active' (the indicator
+ * should be shown in its default state), and 'Attention' (the indicator
+ * should now show it's attention icon). Defaults to 'Passive'.
*/
g_object_class_install_property (object_class,
PROP_STATUS,
g_param_spec_string (PROP_STATUS_S,
"Indicator Status",
- "Whether the indicator is shown or requests attention. Defaults to 'Passive'.",
+ "Whether the indicator is shown or requests attention. Can be one of 'Passive' (the indicator should not be shown), 'Active' (the indicator should be shown in its default state), and 'Attention' (the indicator should now show it's attention icon). Defaults to 'Passive'.",
NULL,
G_PARAM_READWRITE | G_PARAM_STATIC_STRINGS));