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

Subscribers

People subscribed via source and target branches

to all changes: