aboutsummaryrefslogtreecommitdiff
path: root/bindings/python
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-05 16:05:28 -0500
committerTed Gould <ted@gould.cx>2010-08-05 16:05:28 -0500
commit9291697e3e6d4270a7f6200c0dc3d85743feb6d2 (patch)
tree74883a6ac209fef0471329dce5209292112d03d2 /bindings/python
parent17dea0907c51dfb39686f6840a9404467d79db82 (diff)
parent247e5a1ac3f714f831bea27fa87170b0ac7fec64 (diff)
downloadayatana-indicator-application-9291697e3e6d4270a7f6200c0dc3d85743feb6d2.tar.gz
ayatana-indicator-application-9291697e3e6d4270a7f6200c0dc3d85743feb6d2.tar.bz2
ayatana-indicator-application-9291697e3e6d4270a7f6200c0dc3d85743feb6d2.zip
Support dynamically changing the icon theme path.
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/appindicator.defs17
1 files changed, 16 insertions, 1 deletions
diff --git a/bindings/python/appindicator.defs b/bindings/python/appindicator.defs
index 98abe4c..b6c7402 100644
--- a/bindings/python/appindicator.defs
+++ b/bindings/python/appindicator.defs
@@ -49,7 +49,7 @@
'("const-gchar*" "id")
'("const-gchar*" "icon_name")
'("AppIndicatorCategory" "category")
- '("const-gchar*" "icon_path" (null-ok) (default "NULL"))
+ '("const-gchar*" "icon_theme_path" (null-ok) (default "NULL"))
)
)
@@ -89,6 +89,15 @@
)
)
+(define-method set_icon_theme_path
+ (of-object "AppIndicator")
+ (c-name "app_indicator_set_icon_theme_path")
+ (return-type "none")
+ (parameters
+ '("const-gchar*" "icon_theme_path" (null-ok))
+ )
+)
+
(define-method get_id
(of-object "AppIndicator")
(c-name "app_indicator_get_id")
@@ -113,6 +122,12 @@
(return-type "const-gchar*")
)
+(define-method get_icon_theme_path
+ (of-object "AppIndicator")
+ (c-name "app_indicator_get_icon_theme_path")
+ (return-type "const-gchar*")
+)
+
(define-method get_attention_icon
(of-object "AppIndicator")
(c-name "app_indicator_get_attention_icon")