aboutsummaryrefslogtreecommitdiff
path: root/bindings/python
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-08-05 16:10:11 -0500
committerTed Gould <ted@gould.cx>2010-08-05 16:10:11 -0500
commite4c14f7872697049acc56baa6865f55c2355e505 (patch)
tree13b9efda40a5c4d871e0b8b551e49befe5810776 /bindings/python
parent3f326bdebf4052e5ae620caf2cf1e17909c2f8f8 (diff)
parent9291697e3e6d4270a7f6200c0dc3d85743feb6d2 (diff)
downloadayatana-indicator-application-e4c14f7872697049acc56baa6865f55c2355e505.tar.gz
ayatana-indicator-application-e4c14f7872697049acc56baa6865f55c2355e505.tar.bz2
ayatana-indicator-application-e4c14f7872697049acc56baa6865f55c2355e505.zip
* Upstream Merge
* Allow the icon theme path to be changed dynamically (LP: #607831)
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")