From 0bbee36d1c080b247d14c5131666c7436761ece6 Mon Sep 17 00:00:00 2001 From: Sense Hofstede Date: Thu, 22 Jul 2010 16:51:10 +0200 Subject: 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. --- bindings/mono/libappindicator-api.metadata | 6 +++++- bindings/python/appindicator.defs | 14 ++++++++++---- 2 files changed, 15 insertions(+), 5 deletions(-) (limited to 'bindings') diff --git a/bindings/mono/libappindicator-api.metadata b/bindings/mono/libappindicator-api.metadata index 8f9df53..718c500 100644 --- a/bindings/mono/libappindicator-api.metadata +++ b/bindings/mono/libappindicator-api.metadata @@ -9,6 +9,8 @@ connection-changed NewIcon new-icon + NewIconThemePath + new-icon-theme-path ID true true @@ -26,16 +28,18 @@ id icon-name category - icon-theme-path + icon-theme-path + + 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") -- cgit v1.2.3