Merge lp:~artfwo/libappindicator/fix-for-bug-724917 into lp:libappindicator

Proposed by Artem Popov
Status: Merged
Approved by: Ted Gould
Approved revision: 195
Merged at revision: 197
Proposed branch: lp:~artfwo/libappindicator/fix-for-bug-724917
Merge into: lp:libappindicator
Diff against target: 184 lines (+74/-62)
1 file modified
bindings/python/appindicator.defs (+74/-62)
To merge this branch: bzr merge lp:~artfwo/libappindicator/fix-for-bug-724917
Reviewer Review Type Date Requested Status
Ted Gould (community) Approve
Review via email: mp+51411@code.launchpad.net

Description of the change

Synced bindings/python/appindicator.defs with the latest appindicator.h

Fixes bug 724917

To post a comment you must log in.
Revision history for this message
Ted Gould (ted) wrote :

  review approve
  merge approve

review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'bindings/python/appindicator.defs'
--- bindings/python/appindicator.defs 2011-02-08 06:55:35 +0000
+++ bindings/python/appindicator.defs 2011-02-26 13:10:44 +0000
@@ -33,7 +33,6 @@
33 )33 )
34)34)
3535
36
37;; From app-indicator.h36;; From app-indicator.h
3837
39(define-function app_indicator_get_type38(define-function app_indicator_get_type
@@ -62,6 +61,35 @@
62 )61 )
63)62)
6463
64(define-method set_attention_icon
65 (of-object "AppIndicator")
66 (c-name "app_indicator_set_attention_icon_full")
67 (return-type "none")
68 (parameters
69 '("const-gchar*" "icon_name")
70 '("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
71 )
72)
73
74(define-method set_menu
75 (of-object "AppIndicator")
76 (c-name "app_indicator_set_menu")
77 (return-type "none")
78 (parameters
79 '("GtkMenu*" "menu")
80 )
81)
82
83(define-method set_icon
84 (of-object "AppIndicator")
85 (c-name "app_indicator_set_icon_full")
86 (return-type "none")
87 (parameters
88 '("const-gchar*" "icon_name")
89 '("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
90 )
91)
92
65(define-method set_label93(define-method set_label
66 (of-object "AppIndicator")94 (of-object "AppIndicator")
67 (c-name "app_indicator_set_label")95 (c-name "app_indicator_set_label")
@@ -72,15 +100,6 @@
72 )100 )
73)101)
74102
75(define-method set_accessible_desc
76 (of-object "AppIndicator")
77 (c-name "app_indicator_set_accessible_desc")
78 (return-type "none")
79 (parameters
80 '("const-gchar*" "accessible_desc" (null-ok))
81 )
82)
83
84(define-method set_ordering_index103(define-method set_ordering_index
85 (of-object "AppIndicator")104 (of-object "AppIndicator")
86 (c-name "app_indicator_set_ordering_index")105 (c-name "app_indicator_set_ordering_index")
@@ -89,33 +108,6 @@
89 )108 )
90)109)
91110
92(define-method set_attention_icon
93 (of-object "AppIndicator")
94 (c-name "app_indicator_set_attention_icon")
95 (return-type "none")
96 (parameters
97 '("const-gchar*" "icon_name")
98 )
99)
100
101(define-method set_menu
102 (of-object "AppIndicator")
103 (c-name "app_indicator_set_menu")
104 (return-type "none")
105 (parameters
106 '("GtkMenu*" "menu")
107 )
108)
109
110(define-method set_icon
111 (of-object "AppIndicator")
112 (c-name "app_indicator_set_icon")
113 (return-type "none")
114 (parameters
115 '("const-gchar*" "icon_name")
116 )
117)
118
119(define-method set_icon_theme_path111(define-method set_icon_theme_path
120 (of-object "AppIndicator")112 (of-object "AppIndicator")
121 (c-name "app_indicator_set_icon_theme_path")113 (c-name "app_indicator_set_icon_theme_path")
@@ -143,6 +135,42 @@
143 (return-type "AppIndicatorStatus")135 (return-type "AppIndicatorStatus")
144)136)
145137
138(define-method get_icon
139 (of-object "AppIndicator")
140 (c-name "app_indicator_get_icon")
141 (return-type "const-gchar*")
142)
143
144(define-method get_icon_desc
145 (of-object "AppIndicator")
146 (c-name "app_indicator_get_icon_desc")
147 (return-type "const-gchar*")
148)
149
150(define-method get_icon_theme_path
151 (of-object "AppIndicator")
152 (c-name "app_indicator_get_icon_theme_path")
153 (return-type "const-gchar*")
154)
155
156(define-method get_attention_icon
157 (of-object "AppIndicator")
158 (c-name "app_indicator_get_attention_icon")
159 (return-type "const-gchar*")
160)
161
162(define-method get_attention_icon_desc
163 (of-object "AppIndicator")
164 (c-name "app_indicator_get_attention_icon_desc")
165 (return-type "const-gchar*")
166)
167
168(define-method get_menu
169 (of-object "AppIndicator")
170 (c-name "app_indicator_get_menu")
171 (return-type "GtkMenu*")
172)
173
146(define-method get_label174(define-method get_label
147 (of-object "AppIndicator")175 (of-object "AppIndicator")
148 (c-name "app_indicator_get_label")176 (c-name "app_indicator_get_label")
@@ -155,34 +183,18 @@
155 (return-type "const-gchar*")183 (return-type "const-gchar*")
156)184)
157185
158(define-method get_accessible_desc
159 (of-object "AppIndicator")
160 (c-name "app_indicator_get_accessible_desc")
161 (return-type "const-gchar*")
162)
163
164(define-method get_ordering_index186(define-method get_ordering_index
165 (of-object "AppIndicator")187 (of-object "AppIndicator")
166 (c-name "app_indicator_get_ordering_index")188 (c-name "app_indicator_get_ordering_index")
167 (return-type "guint32")189 (return-type "guint32")
168)190)
169191
170(define-method get_icon192(define-method build_menu_from_desktop
171 (of-object "AppIndicator")193 (of-object "AppIndicator")
172 (c-name "app_indicator_get_icon")194 (c-name "app_indicator_build_menu_from_desktop")
173 (return-type "const-gchar*")195 (return-type "none")
174)196 (parameters
175197 '("const-gchar*" "desktop_file")
176(define-method get_icon_theme_path198 '("const-gchar*" "desktop_profile")
177 (of-object "AppIndicator")199 )
178 (c-name "app_indicator_get_icon_theme_path")200)
179 (return-type "const-gchar*")
180)
181
182(define-method get_attention_icon
183 (of-object "AppIndicator")
184 (c-name "app_indicator_get_attention_icon")
185 (return-type "const-gchar*")
186)
187
188

Subscribers

People subscribed via source and target branches