aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/appindicator.defs
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-30 14:10:20 -0500
committerTed Gould <ted@gould.cx>2010-03-30 14:10:20 -0500
commitd3026a23f611f1790d8c9dc2e49a50217f1fe5aa (patch)
treed513fe8e5b74589118d08b8a588bd75f61bbfb4f /bindings/python/appindicator.defs
parent9fddbf6ce595b5c113b2e22187f5ae8eb563761a (diff)
parent4bbf4c09be5cae94cab39b0cd3518671d9b7435a (diff)
downloadlibayatana-appindicator-d3026a23f611f1790d8c9dc2e49a50217f1fe5aa.tar.gz
libayatana-appindicator-d3026a23f611f1790d8c9dc2e49a50217f1fe5aa.tar.bz2
libayatana-appindicator-d3026a23f611f1790d8c9dc2e49a50217f1fe5aa.zip
Merging fix to make it so that python apps can set an icon path.
Diffstat (limited to 'bindings/python/appindicator.defs')
-rw-r--r--bindings/python/appindicator.defs5
1 files changed, 3 insertions, 2 deletions
diff --git a/bindings/python/appindicator.defs b/bindings/python/appindicator.defs
index 4498465..98abe4c 100644
--- a/bindings/python/appindicator.defs
+++ b/bindings/python/appindicator.defs
@@ -41,14 +41,15 @@
(return-type "GType")
)
-(define-function app_indicator_new
- (c-name "app_indicator_new")
+(define-function app_indicator_new_with_path
+ (c-name "app_indicator_new_with_path")
(is-constructor-of "AppIndicator")
(return-type "AppIndicator*")
(parameters
'("const-gchar*" "id")
'("const-gchar*" "icon_name")
'("AppIndicatorCategory" "category")
+ '("const-gchar*" "icon_path" (null-ok) (default "NULL"))
)
)