aboutsummaryrefslogtreecommitdiff
path: root/bindings/python
diff options
context:
space:
mode:
Diffstat (limited to 'bindings/python')
-rw-r--r--bindings/python/appindicator.defs14
1 files changed, 10 insertions, 4 deletions
diff --git a/bindings/python/appindicator.defs b/bindings/python/appindicator.defs
index b4740ce..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,12 +89,12 @@
)
)
-(define-method set_icon_path
+(define-method set_icon_theme_path
(of-object "AppIndicator")
- (c-name "app_indicator_set_icon_path")
+ (c-name "app_indicator_set_icon_theme_path")
(return-type "none")
(parameters
- '("const-gchar*" "icon_path")
+ '("const-gchar*" "icon_theme_path" (null-ok))
)
)
@@ -122,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")