aboutsummaryrefslogtreecommitdiff
path: root/bindings/python/appindicator.defs
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-30 14:20:21 -0500
committerTed Gould <ted@gould.cx>2010-03-30 14:20:21 -0500
commit8ca677a0b7aa11b48f1d6ee2aec4f06f1381ff5a (patch)
treeb39ba3b56c31533cea86dbfdbf7a41a6aae753b4 /bindings/python/appindicator.defs
parent2d7ae83da48335e8a9354006110de128ccb42caf (diff)
parentd3026a23f611f1790d8c9dc2e49a50217f1fe5aa (diff)
downloadlibayatana-appindicator-8ca677a0b7aa11b48f1d6ee2aec4f06f1381ff5a.tar.gz
libayatana-appindicator-8ca677a0b7aa11b48f1d6ee2aec4f06f1381ff5a.tar.bz2
libayatana-appindicator-8ca677a0b7aa11b48f1d6ee2aec4f06f1381ff5a.zip
* Upstream Merge
* Setup the icons to use the -panel variants even when falling back to status icons. (LP: #547072) * Change python bindings to use _with_path so that they can set the icon path. (LP: #527061)
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"))
)
)