aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/appindicator.defs
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-24 15:34:16 -0600
committerTed Gould <ted@gould.cx>2011-02-24 15:34:16 -0600
commitce7b22d25a6ee30dc55df5022c72652ad19e406a (patch)
tree30d40ab958ba7e79a8e66e70d42b1616104a21b3 /bindings/python/appindicator.defs
parentabccdd7479fb3a5c1e51e52f91fbe7cada89bfd6 (diff)
parentd21b676e9fe3a9b7f52465cd75d833ce05a6c7a7 (diff)
downloadlibayatana-appindicator-ce7b22d25a6ee30dc55df5022c72652ad19e406a.tar.gz
libayatana-appindicator-ce7b22d25a6ee30dc55df5022c72652ad19e406a.tar.bz2
libayatana-appindicator-ce7b22d25a6ee30dc55df5022c72652ad19e406a.zip
Add the ability to set accessible descriptions for the icon and attention icon.
Diffstat (limited to 'bindings/python/appindicator.defs')
-rw-r--r--bindings/python/appindicator.defs15
1 files changed, 15 insertions, 0 deletions
diff --git a/bindings/python/appindicator.defs b/bindings/python/appindicator.defs
index 5027a6d..cc8ae75 100644
--- a/bindings/python/appindicator.defs
+++ b/bindings/python/appindicator.defs
@@ -72,6 +72,15 @@
)
)
+(define-method set_accessible_desc
+ (of-object "AppIndicator")
+ (c-name "app_indicator_set_accessible_desc")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "accessible_desc" (null-ok))
+ )
+)
+
(define-method set_ordering_index
(of-object "AppIndicator")
(c-name "app_indicator_set_ordering_index")
@@ -146,6 +155,12 @@
(return-type "const-gchar*")
)
+(define-method get_accessible_desc
+ (of-object "AppIndicator")
+ (c-name "app_indicator_get_accessible_desc")
+ (return-type "const-gchar*")
+)
+
(define-method get_ordering_index
(of-object "AppIndicator")
(c-name "app_indicator_get_ordering_index")