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
1=== modified file 'bindings/python/appindicator.defs'
2--- bindings/python/appindicator.defs 2011-02-08 06:55:35 +0000
3+++ bindings/python/appindicator.defs 2011-02-26 13:10:44 +0000
4@@ -33,7 +33,6 @@
5 )
6 )
7
8-
9 ;; From app-indicator.h
10
11 (define-function app_indicator_get_type
12@@ -62,6 +61,35 @@
13 )
14 )
15
16+(define-method set_attention_icon
17+ (of-object "AppIndicator")
18+ (c-name "app_indicator_set_attention_icon_full")
19+ (return-type "none")
20+ (parameters
21+ '("const-gchar*" "icon_name")
22+ '("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
23+ )
24+)
25+
26+(define-method set_menu
27+ (of-object "AppIndicator")
28+ (c-name "app_indicator_set_menu")
29+ (return-type "none")
30+ (parameters
31+ '("GtkMenu*" "menu")
32+ )
33+)
34+
35+(define-method set_icon
36+ (of-object "AppIndicator")
37+ (c-name "app_indicator_set_icon_full")
38+ (return-type "none")
39+ (parameters
40+ '("const-gchar*" "icon_name")
41+ '("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
42+ )
43+)
44+
45 (define-method set_label
46 (of-object "AppIndicator")
47 (c-name "app_indicator_set_label")
48@@ -72,15 +100,6 @@
49 )
50 )
51
52-(define-method set_accessible_desc
53- (of-object "AppIndicator")
54- (c-name "app_indicator_set_accessible_desc")
55- (return-type "none")
56- (parameters
57- '("const-gchar*" "accessible_desc" (null-ok))
58- )
59-)
60-
61 (define-method set_ordering_index
62 (of-object "AppIndicator")
63 (c-name "app_indicator_set_ordering_index")
64@@ -89,33 +108,6 @@
65 )
66 )
67
68-(define-method set_attention_icon
69- (of-object "AppIndicator")
70- (c-name "app_indicator_set_attention_icon")
71- (return-type "none")
72- (parameters
73- '("const-gchar*" "icon_name")
74- )
75-)
76-
77-(define-method set_menu
78- (of-object "AppIndicator")
79- (c-name "app_indicator_set_menu")
80- (return-type "none")
81- (parameters
82- '("GtkMenu*" "menu")
83- )
84-)
85-
86-(define-method set_icon
87- (of-object "AppIndicator")
88- (c-name "app_indicator_set_icon")
89- (return-type "none")
90- (parameters
91- '("const-gchar*" "icon_name")
92- )
93-)
94-
95 (define-method set_icon_theme_path
96 (of-object "AppIndicator")
97 (c-name "app_indicator_set_icon_theme_path")
98@@ -143,6 +135,42 @@
99 (return-type "AppIndicatorStatus")
100 )
101
102+(define-method get_icon
103+ (of-object "AppIndicator")
104+ (c-name "app_indicator_get_icon")
105+ (return-type "const-gchar*")
106+)
107+
108+(define-method get_icon_desc
109+ (of-object "AppIndicator")
110+ (c-name "app_indicator_get_icon_desc")
111+ (return-type "const-gchar*")
112+)
113+
114+(define-method get_icon_theme_path
115+ (of-object "AppIndicator")
116+ (c-name "app_indicator_get_icon_theme_path")
117+ (return-type "const-gchar*")
118+)
119+
120+(define-method get_attention_icon
121+ (of-object "AppIndicator")
122+ (c-name "app_indicator_get_attention_icon")
123+ (return-type "const-gchar*")
124+)
125+
126+(define-method get_attention_icon_desc
127+ (of-object "AppIndicator")
128+ (c-name "app_indicator_get_attention_icon_desc")
129+ (return-type "const-gchar*")
130+)
131+
132+(define-method get_menu
133+ (of-object "AppIndicator")
134+ (c-name "app_indicator_get_menu")
135+ (return-type "GtkMenu*")
136+)
137+
138 (define-method get_label
139 (of-object "AppIndicator")
140 (c-name "app_indicator_get_label")
141@@ -155,34 +183,18 @@
142 (return-type "const-gchar*")
143 )
144
145-(define-method get_accessible_desc
146- (of-object "AppIndicator")
147- (c-name "app_indicator_get_accessible_desc")
148- (return-type "const-gchar*")
149-)
150-
151 (define-method get_ordering_index
152 (of-object "AppIndicator")
153 (c-name "app_indicator_get_ordering_index")
154 (return-type "guint32")
155 )
156
157-(define-method get_icon
158- (of-object "AppIndicator")
159- (c-name "app_indicator_get_icon")
160- (return-type "const-gchar*")
161-)
162-
163-(define-method get_icon_theme_path
164- (of-object "AppIndicator")
165- (c-name "app_indicator_get_icon_theme_path")
166- (return-type "const-gchar*")
167-)
168-
169-(define-method get_attention_icon
170- (of-object "AppIndicator")
171- (c-name "app_indicator_get_attention_icon")
172- (return-type "const-gchar*")
173-)
174-
175-
176+(define-method build_menu_from_desktop
177+ (of-object "AppIndicator")
178+ (c-name "app_indicator_build_menu_from_desktop")
179+ (return-type "none")
180+ (parameters
181+ '("const-gchar*" "desktop_file")
182+ '("const-gchar*" "desktop_profile")
183+ )
184+)

Subscribers

People subscribed via source and target branches