aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/appindicator.defs
diff options
context:
space:
mode:
authorSense Hofstede <sense@ubuntu.com>2010-07-22 16:51:10 +0200
committerSense Hofstede <sense@ubuntu.com>2010-07-22 16:51:10 +0200
commit0bbee36d1c080b247d14c5131666c7436761ece6 (patch)
tree8d83540ff10151b1adede5207ec774f06307e357 /bindings/python/appindicator.defs
parent3fb0e1143677f16976fa991098dc009a0a7b1a79 (diff)
downloadayatana-indicator-application-0bbee36d1c080b247d14c5131666c7436761ece6.tar.gz
ayatana-indicator-application-0bbee36d1c080b247d14c5131666c7436761ece6.tar.bz2
ayatana-indicator-application-0bbee36d1c080b247d14c5131666c7436761ece6.zip
Clean-up and renaming variables and functions everywhere to use icon_theme_path for
the sake of consistency. Doesn't seem to do antyhing, though.
Diffstat (limited to 'bindings/python/appindicator.defs')
-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")