Merge lp:~artfwo/libappindicator/ubuntu into lp:~ubuntu-desktop/libappindicator/ubuntu

Proposed by Artem Popov
Status: Merged
Merged at revision: 260
Proposed branch: lp:~artfwo/libappindicator/ubuntu
Merge into: lp:~ubuntu-desktop/libappindicator/ubuntu
Diff against target: 195 lines (+177/-0)
3 files modified
debian/changelog (+7/-0)
debian/patches/series (+1/-0)
debian/patches/update-defs.patch (+169/-0)
To merge this branch: bzr merge lp:~artfwo/libappindicator/ubuntu
Reviewer Review Type Date Requested Status
Ubuntu Desktop Pending
Review via email: mp+51571@code.launchpad.net
To post a comment you must log in.
lp:~artfwo/libappindicator/ubuntu updated
261. By Artem Popov

Really add update-defs.patch

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'debian/changelog'
2--- debian/changelog 2011-02-28 13:58:38 +0000
3+++ debian/changelog 2011-02-28 17:06:23 +0000
4@@ -1,3 +1,10 @@
5+libappindicator (0.2.96-0ubuntu3) natty; urgency=low
6+
7+ * debian/patches/update-defs.patch:
8+ - Fix crash when importing appindicator from Python (LP: #724917).
9+
10+ -- Артём Попов <artfwo@ubuntu.com> Mon, 28 Feb 2011 22:33:47 +0600
11+
12 libappindicator (0.2.96-0ubuntu2) natty; urgency=low
13
14 * debian/control, debian/rules:
15
16=== modified file 'debian/patches/series'
17--- debian/patches/series 2011-02-28 13:58:38 +0000
18+++ debian/patches/series 2011-02-28 17:06:23 +0000
19@@ -1,1 +1,2 @@
20 disconnect-from-theme.patch
21+update-defs.patch
22
23=== added file 'debian/patches/update-defs.patch'
24--- debian/patches/update-defs.patch 1970-01-01 00:00:00 +0000
25+++ debian/patches/update-defs.patch 2011-02-28 17:06:23 +0000
26@@ -0,0 +1,169 @@
27+Index: ubuntu/bindings/python/appindicator.defs
28+===================================================================
29+--- ubuntu.orig/bindings/python/appindicator.defs 2011-02-28 22:32:45.853399929 +0600
30++++ ubuntu/bindings/python/appindicator.defs 2011-02-28 22:33:12.205528749 +0600
31+@@ -33,7 +33,6 @@
32+ )
33+ )
34+
35+-
36+ ;; From app-indicator.h
37+
38+ (define-function app_indicator_get_type
39+@@ -62,57 +61,50 @@
40+ )
41+ )
42+
43+-(define-method set_label
44++(define-method set_attention_icon
45+ (of-object "AppIndicator")
46+- (c-name "app_indicator_set_label")
47++ (c-name "app_indicator_set_attention_icon_full")
48+ (return-type "none")
49+ (parameters
50+- '("const-gchar*" "label" (null-ok))
51+- '("const-gchar*" "guide" (null-ok) (default "NULL"))
52++ '("const-gchar*" "icon_name")
53++ '("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
54+ )
55+ )
56+
57+-(define-method set_accessible_desc
58++(define-method set_menu
59+ (of-object "AppIndicator")
60+- (c-name "app_indicator_set_accessible_desc")
61++ (c-name "app_indicator_set_menu")
62+ (return-type "none")
63+ (parameters
64+- '("const-gchar*" "accessible_desc" (null-ok))
65+- )
66+-)
67+-
68+-(define-method set_ordering_index
69+- (of-object "AppIndicator")
70+- (c-name "app_indicator_set_ordering_index")
71+- (parameters
72+- '("guint32" "ordering_index")
73++ '("GtkMenu*" "menu")
74+ )
75+ )
76+
77+-(define-method set_attention_icon
78++(define-method set_icon
79+ (of-object "AppIndicator")
80+- (c-name "app_indicator_set_attention_icon")
81++ (c-name "app_indicator_set_icon_full")
82+ (return-type "none")
83+ (parameters
84+ '("const-gchar*" "icon_name")
85++ '("const-gchar*" "icon_desc" (null-ok) (default "NULL"))
86+ )
87+ )
88+
89+-(define-method set_menu
90++(define-method set_label
91+ (of-object "AppIndicator")
92+- (c-name "app_indicator_set_menu")
93++ (c-name "app_indicator_set_label")
94+ (return-type "none")
95+ (parameters
96+- '("GtkMenu*" "menu")
97++ '("const-gchar*" "label" (null-ok))
98++ '("const-gchar*" "guide" (null-ok) (default "NULL"))
99+ )
100+ )
101+
102+-(define-method set_icon
103++(define-method set_ordering_index
104+ (of-object "AppIndicator")
105+- (c-name "app_indicator_set_icon")
106+- (return-type "none")
107++ (c-name "app_indicator_set_ordering_index")
108+ (parameters
109+- '("const-gchar*" "icon_name")
110++ '("guint32" "ordering_index")
111+ )
112+ )
113+
114+@@ -143,46 +135,66 @@
115+ (return-type "AppIndicatorStatus")
116+ )
117+
118+-(define-method get_label
119++(define-method get_icon
120+ (of-object "AppIndicator")
121+- (c-name "app_indicator_get_label")
122++ (c-name "app_indicator_get_icon")
123+ (return-type "const-gchar*")
124+ )
125+
126+-(define-method get_label_guide
127++(define-method get_icon_desc
128+ (of-object "AppIndicator")
129+- (c-name "app_indicator_get_label_guide")
130++ (c-name "app_indicator_get_icon_desc")
131+ (return-type "const-gchar*")
132+ )
133+
134+-(define-method get_accessible_desc
135++(define-method get_icon_theme_path
136+ (of-object "AppIndicator")
137+- (c-name "app_indicator_get_accessible_desc")
138++ (c-name "app_indicator_get_icon_theme_path")
139+ (return-type "const-gchar*")
140+ )
141+
142+-(define-method get_ordering_index
143++(define-method get_attention_icon
144+ (of-object "AppIndicator")
145+- (c-name "app_indicator_get_ordering_index")
146+- (return-type "guint32")
147++ (c-name "app_indicator_get_attention_icon")
148++ (return-type "const-gchar*")
149+ )
150+
151+-(define-method get_icon
152++(define-method get_attention_icon_desc
153+ (of-object "AppIndicator")
154+- (c-name "app_indicator_get_icon")
155++ (c-name "app_indicator_get_attention_icon_desc")
156+ (return-type "const-gchar*")
157+ )
158+
159+-(define-method get_icon_theme_path
160++(define-method get_menu
161+ (of-object "AppIndicator")
162+- (c-name "app_indicator_get_icon_theme_path")
163++ (c-name "app_indicator_get_menu")
164++ (return-type "GtkMenu*")
165++)
166++
167++(define-method get_label
168++ (of-object "AppIndicator")
169++ (c-name "app_indicator_get_label")
170+ (return-type "const-gchar*")
171+ )
172+
173+-(define-method get_attention_icon
174++(define-method get_label_guide
175+ (of-object "AppIndicator")
176+- (c-name "app_indicator_get_attention_icon")
177++ (c-name "app_indicator_get_label_guide")
178+ (return-type "const-gchar*")
179+ )
180+
181++(define-method get_ordering_index
182++ (of-object "AppIndicator")
183++ (c-name "app_indicator_get_ordering_index")
184++ (return-type "guint32")
185++)
186+
187++(define-method build_menu_from_desktop
188++ (of-object "AppIndicator")
189++ (c-name "app_indicator_build_menu_from_desktop")
190++ (return-type "none")
191++ (parameters
192++ '("const-gchar*" "desktop_file")
193++ '("const-gchar*" "desktop_profile")
194++ )
195++)

Subscribers

People subscribed via source and target branches

to all changes: