Merge lp:~indicator-applet-developers/indicator-applet/indicate-python-packaging-0.2 into lp:~ken-vandine/indicator-applet/indicate-python-packaging-0.2

Proposed by Ted Gould
Status: Merged
Merge reported by: Ken VanDine
Merged at revision: not available
Proposed branch: lp:~indicator-applet-developers/indicator-applet/indicate-python-packaging-0.2
Merge into: lp:~ken-vandine/indicator-applet/indicate-python-packaging-0.2
Diff against target: None lines
To merge this branch: bzr merge lp:~indicator-applet-developers/indicator-applet/indicate-python-packaging-0.2
Reviewer Review Type Date Requested Status
Ken VanDine Approve
Review via email: mp+11979@code.launchpad.net
To post a comment you must log in.
Revision history for this message
Ken VanDine (ken-vandine) :
review: Approve

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'configure.ac'
2--- configure.ac 2009-08-05 10:26:04 +0000
3+++ configure.ac 2009-09-14 15:56:26 +0000
4@@ -1,16 +1,16 @@
5-AC_INIT(indicate-python, 0.0.3, eitan@ascender.com)
6+AC_INIT(indicate-python, 0.2.0, eitan@ascender.com)
7 AC_PREREQ(2.50)
8 AC_CONFIG_SRCDIR(config.h.in)
9 AC_COPYRIGHT([Copyright 2009 Canonical])
10
11 PACKAGE=indicate-python
12-VERSION=0.0.3
13+VERSION=0.2.0
14
15 AM_INIT_AUTOMAKE($PACKAGE, $VERSION)
16 AM_CONFIG_HEADER(config.h)
17
18 PYGTK_REQUIRED=2.14.0
19-LIBINDICATE_REQUIRED=0.1.1
20+LIBINDICATE_REQUIRED=0.2.0
21 PYGOBJECT_REQUIRED=0.22
22
23 AM_MAINTAINER_MODE
24
25=== modified file 'debian/changelog'
26--- debian/changelog 2009-08-05 10:44:00 +0000
27+++ debian/changelog 2009-09-17 14:28:31 +0000
28@@ -1,3 +1,9 @@
29+indicate-python (0.2.0-0ubuntu1~ppa1) karmic; urgency=low
30+
31+ * Upstream release 0.2.0
32+
33+ -- Ted Gould <ted@ubuntu.com> Thu, 17 Sep 2009 09:28:27 -0500
34+
35 indicate-python (0.2.0~bzr29-0ubuntu1~ppa1) karmic; urgency=low
36
37 * Incrementing to build with new libindicate
38
39=== modified file 'src/indicate.defs'
40--- src/indicate.defs 2009-04-10 15:17:38 +0000
41+++ src/indicate.defs 2009-09-14 18:36:15 +0000
42@@ -7,13 +7,6 @@
43 (gtype-id "INDICATE_TYPE_INDICATOR")
44 )
45
46-(define-object IndicatorMessage
47- (in-module "Indicate")
48- (parent "IndicateIndicator")
49- (c-name "IndicateIndicatorMessage")
50- (gtype-id "INDICATE_TYPE_INDICATOR_MESSAGE")
51-)
52-
53 (define-object Listener
54 (in-module "Indicate")
55 (parent "GObject")
56@@ -83,12 +76,6 @@
57 (return-type "guint")
58 )
59
60-(define-method get_indicator_type
61- (of-object "IndicateIndicator")
62- (c-name "indicate_indicator_get_indicator_type")
63- (return-type "const-gchar*")
64-)
65-
66 (define-method user_display
67 (of-object "IndicateIndicator")
68 (c-name "indicate_indicator_user_display")
69@@ -125,6 +112,26 @@
70 )
71 )
72
73+(define-method set_property_int
74+ (of-object "IndicateIndicator")
75+ (c-name "indicate_indicator_set_property_int")
76+ (return-type "none")
77+ (parameters
78+ '("const-gchar*" "key")
79+ '("gint" "value")
80+ )
81+)
82+
83+(define-method set_property_bool
84+ (of-object "IndicateIndicator")
85+ (c-name "indicate_indicator_set_property_bool")
86+ (return-type "none")
87+ (parameters
88+ '("const-gchar*" "key")
89+ '("gboolean" "value")
90+ )
91+)
92+
93 (define-method get_property
94 (of-object "IndicateIndicator")
95 (c-name "indicate_indicator_get_property")
96@@ -140,21 +147,20 @@
97 (return-type "GPtrArray*")
98 )
99
100-
101-
102-;; From indicator-message.h
103-
104-(define-function indicate_indicator_message_get_type
105- (c-name "indicate_indicator_message_get_type")
106- (return-type "GType")
107-)
108-
109-(define-function indicate_indicator_message_new
110- (c-name "indicate_indicator_message_new")
111- (is-constructor-of "IndicateIndicatorMessage")
112- (return-type "IndicateIndicatorMessage*")
113-)
114-
115+(define-method set_displayed
116+ (of-object "IndicateIndicator")
117+ (c-name "indicate_indicator_set_displayed")
118+ (return-type "none")
119+ (parameters
120+ '("gboolean" "displayed")
121+ )
122+)
123+
124+(define-method get_displayed
125+ (of-object "IndicateIndicator")
126+ (c-name "indicate_indicator_get_displayed")
127+ (return-type "gboolean")
128+)
129
130
131 ;; From listener.h
132@@ -350,6 +356,15 @@
133 )
134 )
135
136+(define-method set_count
137+ (of-object "IndicateServer")
138+ (c-name "indicate_server_set_count")
139+ (return-type "none")
140+ (parameters
141+ '("guint" "count")
142+ )
143+)
144+
145 (define-method show
146 (of-object "IndicateServer")
147 (c-name "indicate_server_show")
148@@ -397,41 +412,21 @@
149 (return-type "none")
150 )
151
152-(define-method emit_indicator_added
153- (of-object "IndicateServer")
154- (c-name "indicate_server_emit_indicator_added")
155- (return-type "none")
156- (parameters
157- '("guint" "id")
158- '("const-gchar*" "type")
159- )
160-)
161-
162-(define-method emit_indicator_removed
163- (of-object "IndicateServer")
164- (c-name "indicate_server_emit_indicator_removed")
165- (return-type "none")
166- (parameters
167- '("guint" "id")
168- '("const-gchar*" "type")
169- )
170-)
171-
172-(define-method emit_indicator_modified
173- (of-object "IndicateServer")
174- (c-name "indicate_server_emit_indicator_modified")
175- (return-type "none")
176- (parameters
177- '("guint" "id")
178- '("const-gchar*" "property")
179- )
180-)
181-
182-(define-method emit_server_display
183- (of-object "IndicateServer")
184- (c-name "indicate_server_emit_server_display")
185- (return-type "none")
186-)
187+(define-method check_interest
188+ (of-object "IndicateServer")
189+ (c-name "indicate_server_check_interest")
190+ (return-type "gboolean")
191+ (parameters
192+ '("IndicateInterests" "interest")
193+ )
194+)
195+
196+(define-method get_max_indicators
197+ (of-object "IndicateServer")
198+ (c-name "indicate_server_get_max_indicators")
199+ (return-type "gint")
200+)
201+
202
203
204
205
206=== modified file 'src/indicate.override'
207--- src/indicate.override 2009-08-05 10:26:04 +0000
208+++ src/indicate.override 2009-09-14 16:41:57 +0000
209@@ -28,7 +28,7 @@
210 headers
211 #include <Python.h>
212 #include <libindicate/indicator.h>
213-#include <libindicate/indicator-message.h>
214+#include <libindicate/indicator-messages.h>
215 #include <libindicate/listener.h>
216 #include <libindicate/server.h>
217 #include <libindicate/interests.h>
218
219=== modified file 'tests/im-client.py'
220--- tests/im-client.py 2009-04-08 15:35:22 +0000
221+++ tests/im-client.py 2009-09-17 14:19:08 +0000
222@@ -29,8 +29,8 @@
223 import gtk
224 from time import time
225
226-PATHA = "/usr/share/icons/hicolor/16x16/apps/pidgin.png"
227-PATHB = "/usr/share/icons/hicolor/22x22/apps/pidgin.png"
228+PATHA = "/usr/share/icons/hicolor/16x16/apps/empathy.png"
229+PATHB = "/usr/share/icons/hicolor/22x22/apps/empathy.png"
230 lastpath = None
231
232 def timeout_cb(indicator):
233@@ -58,12 +58,11 @@
234 if __name__ == "__main__":
235 server = indicate.indicate_server_ref_default()
236 server.set_type("message.im")
237- server.set_desktop_file("/usr/share/applications/pidgin.desktop")
238+ server.set_desktop_file("/usr/share/applications/empathy.desktop")
239 server.connect("server-display", server_display)
240
241- indicator = indicate.IndicatorMessage()
242- indicator.set_property("subtype", "im")
243- indicator.set_property("sender", "IM Client Test")
244+ indicator = indicate.Indicator()
245+ indicator.set_property("name", "IM Client Test")
246 indicator.set_property_time("time", time())
247 indicator.show()
248

Subscribers

People subscribed via source and target branches

to all changes: