Merge lp:~indicator-applet-developers/indicator-messages/ubuntu into lp:~ubuntu-desktop/indicator-messages/ubuntu
- ubuntu
- Merge into ubuntu
Proposed by
Ted Gould
Status: | Merged |
---|---|
Merged at revision: | 177 |
Proposed branch: | lp:~indicator-applet-developers/indicator-messages/ubuntu |
Merge into: | lp:~ubuntu-desktop/indicator-messages/ubuntu |
Diff against target: |
3999 lines (+2812/-474) (has conflicts) 21 files modified
AUTHORS (+10/-1) ChangeLog (+2302/-0) Makefile.am (+26/-1) Makefile.in (+32/-3) aclocal.m4 (+2/-2) configure (+49/-35) configure.ac (+14/-5) debian/changelog (+11/-0) src/Makefile.am (+14/-16) src/Makefile.in (+43/-17) src/app-menu-item.c (+4/-4) src/dbus-data.h (+4/-4) src/gen-messages-service.xml.c (+27/-0) src/gen-messages-service.xml.h (+1/-0) src/im-menu-item.c (+7/-7) src/indicator-messages.c (+152/-75) src/messages-service-client.h (+0/-139) src/messages-service-dbus.c (+113/-37) src/messages-service-server.h (+0/-126) src/messages-service.c (+0/-1) src/messages-service.xml (+1/-1) Text conflict in debian/changelog |
To merge this branch: | bzr merge lp:~indicator-applet-developers/indicator-messages/ubuntu |
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Ken VanDine | Pending | ||
Review via email: mp+46326@code.launchpad.net |
Commit message
Description of the change
To post a comment you must log in.
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | === modified file 'AUTHORS' |
2 | --- AUTHORS 2009-02-11 22:05:18 +0000 |
3 | +++ AUTHORS 2011-01-14 20:29:34 +0000 |
4 | @@ -1,1 +1,10 @@ |
5 | -Ted Gould <ted@canonical.com> |
6 | +# Generated by Makefile. Do not edit. |
7 | + |
8 | + Andrea Cimitan |
9 | + cody |
10 | + David Barth |
11 | + James Westby |
12 | + Kees Cook |
13 | + Michael Terry |
14 | + Sebstien Bacher |
15 | + Ted Gould |
16 | |
17 | === modified file 'ChangeLog' |
18 | --- ChangeLog 2008-12-05 03:13:41 +0000 |
19 | +++ ChangeLog 2011-01-14 20:29:34 +0000 |
20 | @@ -0,0 +1,2302 @@ |
21 | +# Generated by Makefile. Do not edit. |
22 | + |
23 | +2011-01-14 Ted Gould <ted@gould.cx> |
24 | + |
25 | + 0.3.90 |
26 | + |
27 | +2011-01-14 Ted Gould <ted@gould.cx> |
28 | + |
29 | + ayatana.org to canonical.com |
30 | + |
31 | +2011-01-14 Ted Gould <ted@gould.cx> |
32 | + |
33 | + ayatana.org to canonical.com |
34 | + |
35 | +2011-01-14 Ted Gould <ted@gould.cx> |
36 | + |
37 | + Switching dbusmenu and indicator messages |
38 | + |
39 | +2011-01-14 Ted Gould <ted@gould.cx> |
40 | + |
41 | + Prototype changes |
42 | + |
43 | +2011-01-14 Ted Gould <ted@gould.cx> |
44 | + |
45 | + Emitting signals for the connections |
46 | + |
47 | +2011-01-14 Ted Gould <ted@gould.cx> |
48 | + |
49 | + Saving the connection |
50 | + |
51 | +2011-01-14 Ted Gould <ted@gould.cx> |
52 | + |
53 | + Swiching to our method function.. woot! |
54 | + |
55 | +2011-01-14 Ted Gould <ted@gould.cx> |
56 | + |
57 | + Setting up the vtable and making it connect in |
58 | + |
59 | +2011-01-14 Ted Gould <ted@gould.cx> |
60 | + |
61 | + Get the connection in the cool new style |
62 | + |
63 | +2011-01-14 Ted Gould <ted@gould.cx> |
64 | + |
65 | + Switching how we get our interface info |
66 | + |
67 | +2011-01-14 Ted Gould <ted@gould.cx> |
68 | + |
69 | + Switch to new dbusmenu signal prototype |
70 | + |
71 | +2011-01-14 Ted Gould <ted@gould.cx> |
72 | + |
73 | + Type to session |
74 | + |
75 | +2011-01-14 Ted Gould <ted@gould.cx> |
76 | + |
77 | + Switching the function callbacks |
78 | + |
79 | +2011-01-14 Ted Gould <ted@gould.cx> |
80 | + |
81 | + Changing the signal callbacks |
82 | + |
83 | +2011-01-14 Ted Gould <ted@gould.cx> |
84 | + |
85 | + Changing the creation of the proxy |
86 | + |
87 | +2011-01-14 Ted Gould <ted@gould.cx> |
88 | + |
89 | + Changing to get the interface from the included XML file |
90 | + |
91 | +2011-01-14 Ted Gould <ted@gould.cx> |
92 | + |
93 | + Switching over from using dbus-binding-tool to sed |
94 | + |
95 | +2011-01-14 Ted Gould <ted@gould.cx> |
96 | + |
97 | + Switching the pkgconfig files that are used. |
98 | + |
99 | +2010-10-08 Ted Gould <ted@gould.cx> |
100 | + |
101 | + Fix deprecations and ensure they're part of distcheck |
102 | + |
103 | +2010-10-06 Michael Terry <mike@mterry.name> |
104 | + |
105 | + avoid deprecated API |
106 | + |
107 | +2010-09-21 Ted Gould <ted@gould.cx> |
108 | + |
109 | + Building ChangeLog and AUTHORS from makefile |
110 | + |
111 | +2010-09-09 Ted Gould <ted@gould.cx> |
112 | + |
113 | + 0.3.11 |
114 | + |
115 | +2010-09-03 Ted Gould <ted@gould.cx> |
116 | + |
117 | + Pass the dbusmenu menuitem to the expose callback. |
118 | + |
119 | +2010-09-03 Ted Gould <ted@gould.cx> |
120 | + |
121 | + Making sure to put the dbusmenu item in the callback |
122 | + |
123 | +2010-08-26 Ted Gould <ted@gould.cx> |
124 | + |
125 | + 0.3.10 |
126 | + |
127 | +2010-08-26 Ted Gould <ted@gould.cx> |
128 | + |
129 | + Shifting the locations of the triangles and the icons. |
130 | + |
131 | +2010-08-26 David Barth <david.barth@canonical.com> |
132 | + |
133 | + adjusted position of the left icons and triangle overlay |
134 | + |
135 | +2010-08-24 Ted Gould <ted@gould.cx> |
136 | + |
137 | + Removing some extra code that's not needed and ensuring the icon is always shown. |
138 | + |
139 | +2010-08-24 Ted Gould <ted@gould.cx> |
140 | + |
141 | + Only show the avatar if it is sent |
142 | + |
143 | +2010-08-24 Ted Gould <ted@gould.cx> |
144 | + |
145 | + Removing the blank menu items |
146 | + |
147 | +2010-08-24 Ted Gould <ted@gould.cx> |
148 | + |
149 | + Set the image menu icon |
150 | + |
151 | +2010-08-12 Ted Gould <ted@gould.cx> |
152 | + |
153 | + 0.3.9 |
154 | + |
155 | +2010-08-12 Ted Gould <ted@gould.cx> |
156 | + |
157 | + Removing the parenthesis |
158 | + |
159 | +2010-07-29 David Barth <david.barth@canonical.com> |
160 | + |
161 | + 0.3.8 |
162 | + |
163 | +2010-07-29 David Barth <david.barth@canonical.com> |
164 | + |
165 | + running apps triangle indicator overlay from Cimi |
166 | + |
167 | +2010-07-29 Andrea Cimitan <andrea.cimitan@gmail.com> |
168 | + |
169 | + merged dbarth's branch |
170 | + |
171 | +2010-07-29 David Barth <david.barth@canonical.com> |
172 | + |
173 | + better aspect ratio for the triangle |
174 | + |
175 | +2010-07-29 David Barth <david.barth@canonical.com> |
176 | + |
177 | + adjust the triangle size |
178 | + |
179 | +2010-07-29 David Barth <david.barth@canonical.com> |
180 | + |
181 | + remove the old running app. icon |
182 | + |
183 | +2010-07-29 David Barth <david.barth@canonical.com> |
184 | + |
185 | + fix typos to build and clean up comments |
186 | + |
187 | +2010-07-29 Andrea Cimitan <andrea.cimitan@gmail.com> |
188 | + |
189 | + remove the previous icon |
190 | + |
191 | +2010-07-29 Andrea Cimitan <andrea.cimitan@gmail.com> |
192 | + |
193 | + trailing whitespace |
194 | + |
195 | +2010-07-29 Andrea Cimitan <andrea.cimitan@gmail.com> |
196 | + |
197 | + Draw a triangle on the left |
198 | + |
199 | +2010-07-29 David Barth <david.barth@canonical.com> |
200 | + |
201 | + message counters are now rendered with a nice rounded background |
202 | + |
203 | +2010-07-29 Andrea Cimitan <andrea.cimitan@gmail.com> |
204 | + |
205 | + check if widget is really a widget before getting its style (from dbarth) |
206 | + |
207 | +2010-07-29 Andrea Cimitan <andrea.cimitan@gmail.com> |
208 | + |
209 | + Ops, readded the label :P |
210 | + |
211 | +2010-07-29 Andrea Cimitan <andrea.cimitan@gmail.com> |
212 | + |
213 | + Added rounded rectangles on the right |
214 | + |
215 | +2010-07-22 Andrea Cimitan <andrea.cimitan@gmail.com> |
216 | + |
217 | + Fixed position of sub menu indicators (the one with the counter on the right) |
218 | + |
219 | +2010-07-22 Andrea Cimitan <cimi@gemini> |
220 | + |
221 | + Added triangles on the left and new label design on the right. |
222 | + We still need to align not-active services but I don't have any clue on how to do this |
223 | + |
224 | +2010-05-21 Ted Gould <ted@gould.cx> |
225 | + |
226 | + Dummy commit |
227 | + |
228 | +2010-05-21 Ted Gould <ted@gould.cx> |
229 | + |
230 | + 0.3.7 |
231 | + |
232 | +2010-04-28 Ted Gould <ted@gould.cx> |
233 | + |
234 | + Patch from Kees to ensure the hashtable keeps its memory |
235 | + |
236 | +2010-04-28 Kees Cook <kees@outflux.net> |
237 | + |
238 | + Allocate memory for hash table items (LP: #533021) |
239 | + |
240 | +2010-04-17 Ted Gould <ted@gould.cx> |
241 | + |
242 | + Check for whether a desktop file is eclipsed when loaded. |
243 | + |
244 | +2010-04-16 Ted Gould <ted@gould.cx> |
245 | + |
246 | + When adding a desktop file look through teh applications we have to check for eclipsing |
247 | + |
248 | +2010-04-17 Ted Gould <ted@gould.cx> |
249 | + |
250 | + Ensure that we cleanup proxy items as shortcuts. |
251 | + |
252 | +2010-04-16 Ted Gould <ted@gould.cx> |
253 | + |
254 | + Forgot to pass the object here. |
255 | + |
256 | +2010-04-16 Ted Gould <ted@gould.cx> |
257 | + |
258 | + Handling the remove and add in separate functions. |
259 | + |
260 | +2010-04-16 Ted Gould <ted@gould.cx> |
261 | + |
262 | + Changing the changed signal to be added/removed so that we can make things even more fun. |
263 | + |
264 | +2010-04-15 Ted Gould <ted@gould.cx> |
265 | + |
266 | + Minor refactoring to make the logic clearer |
267 | + |
268 | +2010-04-15 Ted Gould <ted@gould.cx> |
269 | + |
270 | + Some debug messages when removing shortcuts |
271 | + |
272 | +2010-04-15 Ted Gould <ted@gould.cx> |
273 | + |
274 | + It's possible the newroot could be NULL, and that's okay. |
275 | + |
276 | +2010-04-15 Ted Gould <ted@gould.cx> |
277 | + |
278 | + Negative debugging |
279 | + |
280 | +2010-04-15 Ted Gould <ted@gould.cx> |
281 | + |
282 | + Some debugging messages |
283 | + |
284 | +2010-04-15 Ted Gould <ted@gould.cx> |
285 | + |
286 | + Deleteing shortcuts on update if they need to be |
287 | + |
288 | +2010-04-15 Ted Gould <ted@gould.cx> |
289 | + |
290 | + Killing hte launcher shortcuts on exit as well. |
291 | + |
292 | +2010-04-15 Ted Gould <ted@gould.cx> |
293 | + |
294 | + Removing the shortcuts when removing the application entry. |
295 | + |
296 | +2010-04-01 Ted Gould <ted@gould.cx> |
297 | + |
298 | + 0.3.6 |
299 | + |
300 | +2010-03-31 Ted Gould <ted@gould.cx> |
301 | + |
302 | + Fixes to the placement of notifications and their visibility. Lots of lovely cleanups. |
303 | + |
304 | +2010-03-31 Ted Gould <ted@gould.cx> |
305 | + |
306 | + We only want to increment the position if we didn't find an entry |
307 | + |
308 | +2010-03-31 Ted Gould <ted@gould.cx> |
309 | + |
310 | + Dropping a useless warning |
311 | + |
312 | +2010-03-31 Ted Gould <ted@gould.cx> |
313 | + |
314 | + Actually, more correctly, that should be a weak ref. |
315 | + |
316 | +2010-03-31 Ted Gould <ted@gould.cx> |
317 | + |
318 | + Fixing a mixed up signal name. Small memory leak. |
319 | + |
320 | +2010-03-30 Ted Gould <ted@gould.cx> |
321 | + |
322 | + Making application items default to invisible, and only become visible if they get a valid desktop file. |
323 | + |
324 | +2010-03-30 Ted Gould <ted@gould.cx> |
325 | + |
326 | + Ensuring that the visibility property is set on the application entries. |
327 | + |
328 | +2010-03-30 Ted Gould <ted@gould.cx> |
329 | + |
330 | + Make the visibility of indictor items and separators follow the visibility of the application item. |
331 | + |
332 | +2010-03-30 Ted Gould <ted@gould.cx> |
333 | + |
334 | + Build the separator after checking to see which entry to use. That way we've always got one. |
335 | + |
336 | +2010-03-30 Ted Gould <ted@gould.cx> |
337 | + |
338 | + Making the messaging menu use the service architecture. |
339 | + |
340 | +2010-03-30 Ted Gould <ted@gould.cx> |
341 | + |
342 | + Making it so that we don't build two icon_proxies ever. |
343 | + |
344 | +2010-03-30 Ted Gould <ted@gould.cx> |
345 | + |
346 | + Putting in a timeout to clear the icon if there were messages waiting when we lost the service. |
347 | + |
348 | +2010-03-29 Ted Gould <ted@gould.cx> |
349 | + |
350 | + Making the service into an indicator service. |
351 | + |
352 | +2010-03-29 Ted Gould <ted@gould.cx> |
353 | + |
354 | + Switching over to using an indicator service manager instead of setting up the proxies by hand. |
355 | + |
356 | +2010-03-29 Ted Gould <ted@gould.cx> |
357 | + |
358 | + Comments and formatting. |
359 | + |
360 | +2010-03-25 Ted Gould <ted@gould.cx> |
361 | + |
362 | + 0.3.5 |
363 | + |
364 | +2010-03-25 Ted Gould <ted@gould.cx> |
365 | + |
366 | + Tracking which applications we've seen before. |
367 | + |
368 | +2010-03-25 Ted Gould <ted@gould.cx> |
369 | + |
370 | + Fail if we have init called more than once. Merge comment. |
371 | + |
372 | +2010-03-24 Ted Gould <ted@gould.cx> |
373 | + |
374 | + Give us a minute before we write it out. |
375 | + |
376 | +2010-03-24 Ted Gould <ted@gould.cx> |
377 | + |
378 | + When we're being reshown eval the label |
379 | + |
380 | +2010-03-24 Ted Gould <ted@gould.cx> |
381 | + |
382 | + Ah, classic failure |
383 | + |
384 | +2010-03-24 Ted Gould <ted@gould.cx> |
385 | + |
386 | + Make this easier to test |
387 | + |
388 | +2010-03-24 Ted Gould <ted@gould.cx> |
389 | + |
390 | + Building us a file. |
391 | + |
392 | +2010-03-24 Ted Gould <ted@gould.cx> |
393 | + |
394 | + More comments |
395 | + |
396 | +2010-03-24 Ted Gould <ted@gould.cx> |
397 | + |
398 | + Copyright headers. |
399 | + |
400 | +2010-03-24 Ted Gould <ted@gould.cx> |
401 | + |
402 | + Some comments |
403 | + |
404 | +2010-03-24 Ted Gould <ted@gould.cx> |
405 | + |
406 | + Have a background process for writing out the seen DB |
407 | + |
408 | +2010-03-24 Ted Gould <ted@gould.cx> |
409 | + |
410 | + Code to read in the keyfile |
411 | + |
412 | +2010-03-24 Ted Gould <ted@gould.cx> |
413 | + |
414 | + Building a file name and checking if it exists. |
415 | + |
416 | +2010-03-24 Ted Gould <ted@gould.cx> |
417 | + |
418 | + Only build shortcuts if we've been seen before. |
419 | + |
420 | +2010-03-24 Ted Gould <ted@gould.cx> |
421 | + |
422 | + Checking to see if we've seen the application before choosing whether we have the name or the setup string. |
423 | + |
424 | +2010-03-24 Ted Gould <ted@gould.cx> |
425 | + |
426 | + Adding the new server to the seen database. |
427 | + |
428 | +2010-03-24 Ted Gould <ted@gould.cx> |
429 | + |
430 | + Building the seen db on init |
431 | + |
432 | +2010-03-24 Ted Gould <ted@gould.cx> |
433 | + |
434 | + Changing to be more of a singleton type of thing. Really that makes more sense. |
435 | + |
436 | +2010-03-24 Ted Gould <ted@gould.cx> |
437 | + |
438 | + Making a basic interface for the seen database. |
439 | + |
440 | +2010-03-25 Ted Gould <ted@gould.cx> |
441 | + |
442 | + Adding in support for shifting over command items |
443 | + |
444 | +2010-03-25 Ted Gould <ted@gould.cx> |
445 | + |
446 | + Increasing the dbusmenu required version to 0.2.8 |
447 | + |
448 | +2010-03-24 Ted Gould <ted@gould.cx> |
449 | + |
450 | + Making sure command items are using blanks |
451 | + |
452 | +2010-03-24 Ted Gould <ted@gould.cx> |
453 | + |
454 | + Set the blank icon on proxy objects |
455 | + |
456 | +2010-03-25 Ted Gould <ted@gould.cx> |
457 | + |
458 | + Grab changes in app icons. |
459 | + |
460 | +2010-03-24 Ted Gould <ted@gould.cx> |
461 | + |
462 | + Allow for applications icons to change incase we haven't gotten the property yet. |
463 | + |
464 | +2010-03-24 Ted Gould <ted@gould.cx> |
465 | + |
466 | + Making a small indicator on apps that are running. |
467 | + |
468 | +2010-03-23 Ted Gould <ted@gould.cx> |
469 | + |
470 | + Removing app-gtk-menu-item as it really wasn't needed. |
471 | + |
472 | +2010-03-23 Ted Gould <ted@gould.cx> |
473 | + |
474 | + Looking for the right property |
475 | + |
476 | +2010-03-23 Ted Gould <ted@gould.cx> |
477 | + |
478 | + Changing to use the new app type |
479 | + |
480 | +2010-03-23 Ted Gould <ted@gould.cx> |
481 | + |
482 | + Adds in an application menu item. |
483 | + |
484 | +2010-03-23 Ted Gould <ted@gould.cx> |
485 | + |
486 | + Replacing the count with the icon |
487 | + |
488 | +2010-03-23 Ted Gould <ted@gould.cx> |
489 | + |
490 | + updating to trunk |
491 | + |
492 | +2010-03-04 Ted Gould <ted@gould.cx> |
493 | + |
494 | + Building a new base object for our menuitem |
495 | + |
496 | +2010-03-18 Ted Gould <ted@gould.cx> |
497 | + |
498 | + 0.3.4 |
499 | + |
500 | +2010-03-18 Ted Gould <ted@gould.cx> |
501 | + |
502 | + Make the avatar spacing same as the other icons in the menu |
503 | + |
504 | +2010-03-17 Ted Gould <ted@gould.cx> |
505 | + |
506 | + Setting the minimum allocation for the image to be the menu icon size even if there isn't any pixmap. |
507 | + |
508 | +2010-03-17 Ted Gould <ted@gould.cx> |
509 | + |
510 | + Putting padding between the items to make them pretty like. |
511 | + |
512 | +2010-03-18 Ted Gould <ted@gould.cx> |
513 | + |
514 | + Use the standard libindicator icon handling |
515 | + |
516 | +2010-03-17 Ted Gould <ted@gould.cx> |
517 | + |
518 | + Switch to using the image helper and drop design team size |
519 | + |
520 | +2010-03-17 Ted Gould <ted@gould.cx> |
521 | + |
522 | + Bumping libindicator version to 0.3.5 |
523 | + |
524 | +2010-03-17 Ted Gould <ted@gould.cx> |
525 | + |
526 | + Fix to use translated string. |
527 | + |
528 | +2010-03-17 Ted Gould <ted@gould.cx> |
529 | + |
530 | + Grab translation for default name. |
531 | + |
532 | +2010-03-12 Ted Gould <ted@gould.cx> |
533 | + |
534 | + Handling bools by getting a value for indicators requesting attention. |
535 | + |
536 | +2010-03-12 Ted Gould <ted@gould.cx> |
537 | + |
538 | + Switching the attention callback to using a value so it can correctly handle booleans. |
539 | + |
540 | +2010-03-12 Ted Gould <ted@gould.cx> |
541 | + |
542 | + String changes to match everyone else. |
543 | + |
544 | +2010-03-12 Ted Gould <ted@gould.cx> |
545 | + |
546 | + Changing from microblogging to broadcast |
547 | + |
548 | +2010-03-04 Ted Gould <ted@gould.cx> |
549 | + |
550 | + 0.3.3 |
551 | + |
552 | +2010-03-04 Ted Gould <ted@gould.cx> |
553 | + |
554 | + Putting in default icons for the default apps that are panel themed |
555 | + |
556 | +2010-03-04 Ted Gould <ted@gould.cx> |
557 | + |
558 | + Using the default icon in the application indicator as well. |
559 | + |
560 | +2010-03-04 Ted Gould <ted@gould.cx> |
561 | + |
562 | + Making it so that if the app is default, it uses a generic icon. |
563 | + |
564 | +2010-03-04 Ted Gould <ted@gould.cx> |
565 | + |
566 | + Adding in an icon lookup to the default apps db |
567 | + |
568 | +2010-03-04 Ted Gould <ted@gould.cx> |
569 | + |
570 | + Adding in a base set of icons from the gnome theme. |
571 | + |
572 | +2010-03-04 Ted Gould <ted@gould.cx> |
573 | + |
574 | + Setting up default application names in the menu. |
575 | + |
576 | +2010-03-04 Ted Gould <ted@gould.cx> |
577 | + |
578 | + Checking the default name on application items |
579 | + |
580 | +2010-03-04 Ted Gould <ted@gould.cx> |
581 | + |
582 | + Checking to see if we have a default name. |
583 | + |
584 | +2010-03-04 Ted Gould <ted@gould.cx> |
585 | + |
586 | + Keeping our desktop file paths safe. |
587 | + |
588 | +2010-03-04 Ted Gould <ted@gould.cx> |
589 | + |
590 | + Copyright headers. |
591 | + |
592 | +2010-03-04 Ted Gould <ted@gould.cx> |
593 | + |
594 | + Making the default applications strings translatable. |
595 | + |
596 | +2010-03-04 Ted Gould <ted@gould.cx> |
597 | + |
598 | + Adding in the setup function. |
599 | + |
600 | +2010-03-04 Ted Gould <ted@gould.cx> |
601 | + |
602 | + Refactoring into a helper |
603 | + |
604 | +2010-03-04 Ted Gould <ted@gould.cx> |
605 | + |
606 | + Adding empathy and gwibber to the mix. |
607 | + |
608 | +2010-03-04 Ted Gould <ted@gould.cx> |
609 | + |
610 | + Actually searching through the list |
611 | + |
612 | +2010-03-04 Ted Gould <ted@gould.cx> |
613 | + |
614 | + Adding a small little function to find default applications. |
615 | + |
616 | +2010-02-18 Ted Gould <ted@gould.cx> |
617 | + |
618 | + 0.3.2 |
619 | + |
620 | +2010-02-18 Ted Gould <ted@gould.cx> |
621 | + |
622 | + Adding in an icon to show the application as running |
623 | + |
624 | +2010-02-17 Ted Gould <ted@gould.cx> |
625 | + |
626 | + Adding in an application-running icon |
627 | + |
628 | +2010-02-18 Ted Gould <ted@gould.cx> |
629 | + |
630 | + Changing the applications to have icons. |
631 | + |
632 | +2010-02-17 Ted Gould <ted@gould.cx> |
633 | + |
634 | + Put the icons into the active items. |
635 | + |
636 | +2010-02-17 Ted Gould <ted@gould.cx> |
637 | + |
638 | + Removing the launcher custom menu type |
639 | + |
640 | +2010-02-17 Ted Gould <ted@gould.cx> |
641 | + |
642 | + Switch to having a launcher be a standard item with an icon. |
643 | + |
644 | +2010-02-18 Ted Gould <ted@gould.cx> |
645 | + |
646 | + Getting dynamic items from libindicate and dbusmenu |
647 | + |
648 | +2010-02-18 Ted Gould <ted@gould.cx> |
649 | + |
650 | + Upping dbusmenu dep to 0.2.5 |
651 | + |
652 | +2010-02-18 Ted Gould <ted@gould.cx> |
653 | + |
654 | + Adding protection from data fields by checking to ensure they're AppMenuItems |
655 | + |
656 | +2010-02-18 Ted Gould <ted@gould.cx> |
657 | + |
658 | + Setting the listener to NULL after unrefing it. |
659 | + |
660 | +2010-02-17 Ted Gould <ted@gould.cx> |
661 | + |
662 | + Do a resort after adding new items. |
663 | + |
664 | +2010-02-17 Ted Gould <ted@gould.cx> |
665 | + |
666 | + Did I ever talk to you about why I hate while loops? I have to stop using them. They just lead to bugs. |
667 | + |
668 | +2010-02-17 Ted Gould <ted@gould.cx> |
669 | + |
670 | + Eh, forgot to flesh out the lists |
671 | + |
672 | +2010-02-17 Ted Gould <ted@gould.cx> |
673 | + |
674 | + If we already have children, make sure to process them right away. |
675 | + |
676 | +2010-02-17 Ted Gould <ted@gould.cx> |
677 | + |
678 | + Adding some debug messages |
679 | + |
680 | +2010-02-17 Ted Gould <ted@gould.cx> |
681 | + |
682 | + Moving the shortcuts along with the app item |
683 | + |
684 | +2010-02-17 Ted Gould <ted@gould.cx> |
685 | + |
686 | + Getting the shortcuts in, and handling changes of them. |
687 | + |
688 | +2010-02-17 Ted Gould <ted@gould.cx> |
689 | + |
690 | + Realized that we can't proxy the root as the items can't then have two parents, and they need to exist with a parent in the menu that we're building. So we have to leave the proxy items unparented until they get picked up in the service themselves. |
691 | + |
692 | +2010-02-17 Ted Gould <ted@gould.cx> |
693 | + |
694 | + Adding a list to put the shortcuts in |
695 | + |
696 | +2010-02-17 Ted Gould <ted@gould.cx> |
697 | + |
698 | + Oops, wrong signal name for this function. |
699 | + |
700 | +2010-02-17 Ted Gould <ted@gould.cx> |
701 | + |
702 | + Emitting the new signal all over the place. |
703 | + |
704 | +2010-02-17 Ted Gould <ted@gould.cx> |
705 | + |
706 | + Adding in a shortcuts changed signal |
707 | + |
708 | +2010-02-17 Ted Gould <ted@gould.cx> |
709 | + |
710 | + Handling root item changes. Mostly. |
711 | + |
712 | +2010-02-17 Ted Gould <ted@gould.cx> |
713 | + |
714 | + Init and cleanup the client and root private properties. |
715 | + |
716 | +2010-02-17 Ted Gould <ted@gould.cx> |
717 | + |
718 | + Fleshing out menu_cb, lots of avenues for expantion in other directions now. |
719 | + |
720 | +2010-02-17 Ted Gould <ted@gould.cx> |
721 | + |
722 | + Adding API for getting items |
723 | + |
724 | +2010-02-17 Ted Gould <ted@gould.cx> |
725 | + |
726 | + Grabbing the static commands branch so we can build on it. |
727 | + |
728 | +2010-02-18 Ted Gould <ted@gould.cx> |
729 | + |
730 | + Adding in the ability to take static commands from a desktop file |
731 | + |
732 | +2010-02-18 Ted Gould <ted@gould.cx> |
733 | + |
734 | + Bumping libindicator to 0.3.3 |
735 | + |
736 | +2010-02-18 Ted Gould <ted@gould.cx> |
737 | + |
738 | + Use the string allocate by g_key_file instead of creating a new one |
739 | + |
740 | +2010-02-17 Ted Gould <ted@gould.cx> |
741 | + |
742 | + Explicitly setting the visible property so we call pull it later. |
743 | + |
744 | +2010-02-17 Ted Gould <ted@gould.cx> |
745 | + |
746 | + Switching over to using _bool for the visible property |
747 | + |
748 | +2010-02-17 Ted Gould <ted@gould.cx> |
749 | + |
750 | + Adding the shortcuts into the menuhandling code. |
751 | + |
752 | +2010-02-17 Ted Gould <ted@gould.cx> |
753 | + |
754 | + Fleshing out the get_items function |
755 | + |
756 | +2010-02-17 Ted Gould <ted@gould.cx> |
757 | + |
758 | + Applying the eclipsed value to the shortcuts that are associted with this launcher. |
759 | + |
760 | +2010-02-17 Ted Gould <ted@gould.cx> |
761 | + |
762 | + Making visible use boolean properties. |
763 | + |
764 | +2010-02-17 Ted Gould <ted@gould.cx> |
765 | + |
766 | + Responding to clicking on the shortcuts |
767 | + |
768 | +2010-02-17 Ted Gould <ted@gould.cx> |
769 | + |
770 | + Build us some shortcut menuitems |
771 | + |
772 | +2010-02-17 Ted Gould <ted@gould.cx> |
773 | + |
774 | + Adding in shortcuts and ids private variables. Full lifecycle. |
775 | + |
776 | +2010-02-17 Ted Gould <ted@gould.cx> |
777 | + |
778 | + Adding a function to get the items that are in the desktop file. |
779 | + |
780 | +2010-02-15 Ted Gould <ted@gould.cx> |
781 | + |
782 | + If we see a keyfile, use the keyfile processing. |
783 | + |
784 | +2010-02-15 Ted Gould <ted@gould.cx> |
785 | + |
786 | + Spliting out the launchers into the keyfiles |
787 | + |
788 | +2010-02-15 Ted Gould <ted@gould.cx> |
789 | + |
790 | + Abstracting out the keyfile handling stuff. |
791 | + |
792 | +2010-02-15 Ted Gould <ted@gould.cx> |
793 | + |
794 | + Adding in the ability to use keyfiles for the black list |
795 | + |
796 | +2010-02-09 Ted Gould <ted@gould.cx> |
797 | + |
798 | + Property disconnect the count changed signal. |
799 | + |
800 | +2010-02-09 Ted Gould <ted@gould.cx> |
801 | + |
802 | + Some comments. |
803 | + |
804 | +2010-02-09 Ted Gould <ted@gould.cx> |
805 | + |
806 | + Disconnecting the signal handler attached to the listener when we go away. |
807 | + |
808 | +2010-02-09 Ted Gould <ted@gould.cx> |
809 | + |
810 | + Removing the in brackets creation of a variable that also existed in the function, thus creating a NULL pointer. |
811 | + |
812 | +2010-02-08 Ted Gould <ted@gould.cx> |
813 | + |
814 | + Kids, ignore pot |
815 | + |
816 | +2010-02-08 Ted Gould <ted@gould.cx> |
817 | + |
818 | + Creating a local variable that was masking the one in the function. |
819 | + |
820 | +2010-02-08 Ted Gould <ted@gould.cx> |
821 | + |
822 | + Fixing debug message |
823 | + |
824 | +2010-02-08 Ted Gould <ted@gould.cx> |
825 | + |
826 | + I shouldn't have to have a ref there as it's got a ref count of one. |
827 | + |
828 | +2010-02-04 Ted Gould <ted@gould.cx> |
829 | + |
830 | + 0.3.1 |
831 | + |
832 | +2010-02-04 Ted Gould <ted@gould.cx> |
833 | + |
834 | + Update to new dbusmenu 0.2.2 |
835 | + |
836 | +2010-02-04 Ted Gould <ted@gould.cx> |
837 | + |
838 | + Fixing one more timestamp |
839 | + |
840 | +2010-02-04 Ted Gould <ted@gould.cx> |
841 | + |
842 | + Changing callback prototype and activate signals |
843 | + |
844 | +2010-02-04 Ted Gould <ted@gould.cx> |
845 | + |
846 | + Upping to dbusmenu-gtk 0.2.2 |
847 | + |
848 | +2010-01-08 Ted Gould <ted@gould.cx> |
849 | + |
850 | + 0.3.0 |
851 | + |
852 | +2009-12-22 Ted Gould <ted@gould.cx> |
853 | + |
854 | + Updating to dbusmenu v0.2.0 |
855 | + |
856 | +2009-12-18 Ted Gould <ted@gould.cx> |
857 | + |
858 | + Switching type to use the #define |
859 | + |
860 | +2009-12-18 Ted Gould <ted@gould.cx> |
861 | + |
862 | + Switching the property callback to be GValue |
863 | + |
864 | +2009-12-18 Ted Gould <ted@gould.cx> |
865 | + |
866 | + Requiring the 0.2.x series of dbusmenu |
867 | + |
868 | +2009-11-05 Ted Gould <ted@canonical.com> |
869 | + |
870 | + Apparently order matters. |
871 | + |
872 | +2009-11-05 Ted Gould <ted@canonical.com> |
873 | + |
874 | + Disabling static builds because we don't need them, and they seem to cause errors on amd64. |
875 | + |
876 | +2009-11-05 Ted Gould <ted@canonical.com> |
877 | + |
878 | + Moving to the libindicator 0.3.0 API |
879 | + |
880 | +2009-11-04 Ted Gould <ted@canonical.com> |
881 | + |
882 | + Switching to the new indicator interface. |
883 | + |
884 | +2009-11-04 Ted Gould <ted@canonical.com> |
885 | + |
886 | + Requiring the new libindicator |
887 | + |
888 | +2009-10-26 Ted Gould <ted@canonical.com> |
889 | + |
890 | + Adding translator comments for the hours and minutes strings. |
891 | + |
892 | +2009-10-26 Ted Gould <ted@canonical.com> |
893 | + |
894 | + Adding a translators comments for minutes and hours strings. |
895 | + |
896 | +2009-10-08 Ted Gould <ted@canonical.com> |
897 | + |
898 | + 0.2.6 |
899 | + |
900 | +2009-10-05 Ted Gould <ted@canonical.com> |
901 | + |
902 | + Making sure that the menu is calculated after it is determined after the black list is checked. |
903 | + |
904 | +2009-10-04 Ted Gould <ted@canonical.com> |
905 | + |
906 | + Resort the menu after the blacklist has been checked case we've black listed the last item in the menu. |
907 | + |
908 | +2009-10-01 Ted Gould <ted@canonical.com> |
909 | + |
910 | + Stupid ordering, just asking for a memory leak. |
911 | + |
912 | +2009-10-01 Ted Gould <ted@canonical.com> |
913 | + |
914 | + 0.2.5 |
915 | + |
916 | +2009-09-30 Ted Gould <ted@canonical.com> |
917 | + |
918 | + Adding in a check to see if the time was set, if not, don't display it in the menu item. |
919 | + |
920 | +2009-09-29 Ted Gould <ted@canonical.com> |
921 | + |
922 | + Making sure we don't update the text for the time if it's zero. |
923 | + |
924 | +2009-09-29 Ted Gould <ted@canonical.com> |
925 | + |
926 | + Adding in a creation seconds and returning that if seconds isn't set. |
927 | + |
928 | +2009-09-30 Ted Gould <ted@canonical.com> |
929 | + |
930 | + Checking for icon status when adding launchers to ensure that we get the correct status. |
931 | + |
932 | +2009-09-29 Ted Gould <ted@canonical.com> |
933 | + |
934 | + Checking to see if the menu should get un-hidden when we're installing new launchers. |
935 | + |
936 | +2009-09-25 Ted Gould <ted@canonical.com> |
937 | + |
938 | + Getting the path for icons from pkgconfig and putting them in the right location. |
939 | + |
940 | +2009-09-24 Ted Gould <ted@canonical.com> |
941 | + |
942 | + Using the new icon directory define. |
943 | + |
944 | +2009-09-24 Ted Gould <ted@canonical.com> |
945 | + |
946 | + Adding in a variable for the icon directory. |
947 | + |
948 | +2009-09-24 Ted Gould <ted@canonical.com> |
949 | + |
950 | + Making a 0.2.4 |
951 | + |
952 | +2009-09-24 Ted Gould <ted@canonical.com> |
953 | + |
954 | + Merging in the minimum width branch to fix descriptions getting truncated when they're a reasonable length. |
955 | + |
956 | +2009-09-23 Ted Gould <ted@canonical.com> |
957 | + |
958 | + Adding in a resort after editing the blacklist |
959 | + |
960 | +2009-09-23 Ted Gould <ted@canonical.com> |
961 | + |
962 | + Too big |
963 | + |
964 | +2009-09-23 Ted Gould <ted@canonical.com> |
965 | + |
966 | + Putting in teh size request a minimum width |
967 | + |
968 | +2009-09-24 Ted Gould <ted@canonical.com> |
969 | + |
970 | + Merging in the icon scaling branch |
971 | + |
972 | +2009-09-23 Ted Gould <ted@canonical.com> |
973 | + |
974 | + Forgot to scale on icon changing. |
975 | + |
976 | +2009-09-23 Ted Gould <ted@canonical.com> |
977 | + |
978 | + Putting in a little code to scale icons. |
979 | + |
980 | +2009-09-23 Ted Gould <ted@canonical.com> |
981 | + |
982 | + Version to kick LP |
983 | + |
984 | +2009-09-23 Ted Gould <ted@canonical.com> |
985 | + |
986 | + Merging in branch to add a path for indicators in /usr/share and make it so that invalid desktop files don't create visible menu items. |
987 | + |
988 | +2009-09-23 Ted Gould <ted@canonical.com> |
989 | + |
990 | + If we're not given a valid desktop file we should eclipse ourselves, and if we're eclipsed, we should hide the separator as well. |
991 | + |
992 | +2009-09-23 Ted Gould <ted@canonical.com> |
993 | + |
994 | + Looking at the old system apps directory as well. |
995 | + |
996 | +2009-09-23 Ted Gould <ted@canonical.com> |
997 | + |
998 | + Changing directory names |
999 | + |
1000 | +2009-09-17 Ted Gould <ted@canonical.com> |
1001 | + |
1002 | + Making a purdy 0.2.3 |
1003 | + |
1004 | +2009-09-16 Ted Gould <ted@canonical.com> |
1005 | + |
1006 | + Merging in i18n branch to add i18n. |
1007 | + |
1008 | +2009-09-15 Ted Gould <ted@canonical.com> |
1009 | + |
1010 | + Forgot intltool |
1011 | + |
1012 | +2009-09-15 Ted Gould <ted@canonical.com> |
1013 | + |
1014 | + Adding in header for gettext |
1015 | + |
1016 | +2009-09-15 Ted Gould <ted@canonical.com> |
1017 | + |
1018 | + Adding in some encoding to make things fun. |
1019 | + |
1020 | +2009-09-15 Ted Gould <ted@canonical.com> |
1021 | + |
1022 | + Oops, teach me to cut and paste :) |
1023 | + |
1024 | +2009-09-15 Ted Gould <ted@canonical.com> |
1025 | + |
1026 | + Making it so the po directory is connected in. |
1027 | + |
1028 | +2009-09-15 Ted Gould <ted@canonical.com> |
1029 | + |
1030 | + Adding configure stuff in to set up gettext |
1031 | + |
1032 | +2009-09-15 Ted Gould <ted@canonical.com> |
1033 | + |
1034 | + Adding a po directory with a list of files. |
1035 | + |
1036 | +2009-09-15 Ted Gould <ted@canonical.com> |
1037 | + |
1038 | + Setting up the gettext stuff. |
1039 | + |
1040 | +2009-09-15 Sebstien Bacher <seb128@ubuntu.com> |
1041 | + |
1042 | + Patch from Seb to init localization |
1043 | + |
1044 | +2009-09-10 Ted Gould <ted@canonical.com> |
1045 | + |
1046 | + Going 0.2.2 |
1047 | + |
1048 | +2009-09-10 Ted Gould <ted@canonical.com> |
1049 | + |
1050 | + Adding in the separators |
1051 | + |
1052 | +2009-09-09 Ted Gould <ted@canonical.com> |
1053 | + |
1054 | + When removing an application item we need to get rid of its separator as well. |
1055 | + |
1056 | +2009-09-09 Ted Gould <ted@canonical.com> |
1057 | + |
1058 | + Merging in the time init stuff into this branch so that it gets into this code review. |
1059 | + |
1060 | +2009-09-09 Ted Gould <ted@canonical.com> |
1061 | + |
1062 | + Setting the default seconds to be the current time. |
1063 | + |
1064 | +2009-09-09 Ted Gould <ted@canonical.com> |
1065 | + |
1066 | + Switch to checking the separator by keeping track of the last one incase there are a bunch of launchers that are eclipsed at the end of the list. We'll have too many cases, it's easier just to see who we unhide. |
1067 | + |
1068 | +2009-09-09 Ted Gould <ted@canonical.com> |
1069 | + |
1070 | + Check eclipse to see if we should make indicators visible or not. |
1071 | + |
1072 | +2009-09-09 Ted Gould <ted@canonical.com> |
1073 | + |
1074 | + Hiding the last item on the list depending on who is last. |
1075 | + |
1076 | +2009-09-09 Ted Gould <ted@canonical.com> |
1077 | + |
1078 | + When eclipsing a launcher we're hiding it's separator as well. |
1079 | + |
1080 | +2009-09-09 Ted Gould <ted@canonical.com> |
1081 | + |
1082 | + Putting the separators into the resorting of the menu. |
1083 | + |
1084 | +2009-09-09 Ted Gould <ted@canonical.com> |
1085 | + |
1086 | + Handling separators on launchers. |
1087 | + |
1088 | +2009-09-09 Ted Gould <ted@canonical.com> |
1089 | + |
1090 | + Initializing local imList_t objects. |
1091 | + |
1092 | +2009-09-09 Ted Gould <ted@canonical.com> |
1093 | + |
1094 | + Forgot to initialize a separator. Also initializing the locally defined server objects to make it easier to find bugs with not setting stuff. |
1095 | + |
1096 | +2009-09-09 Ted Gould <ted@canonical.com> |
1097 | + |
1098 | + Making the server separator and putting it in. |
1099 | + |
1100 | +2009-09-09 Ted Gould <ted@canonical.com> |
1101 | + |
1102 | + Updated to current trunk. |
1103 | + |
1104 | +2009-09-04 Ted Gould <ted@canonical.com> |
1105 | + |
1106 | + Updating to latest trunk |
1107 | + |
1108 | +2009-08-26 Ted Gould <ted@canonical.com> |
1109 | + |
1110 | + Merging in the menu update branch. |
1111 | + |
1112 | +2009-09-09 Ted Gould <ted@canonical.com> |
1113 | + |
1114 | + Adding indicator-messages.service to the clean files for distcheck. |
1115 | + |
1116 | +2009-09-09 Ted Gould <ted@canonical.com> |
1117 | + |
1118 | + Making 0.2.1 |
1119 | + |
1120 | +2009-09-09 Ted Gould <ted@canonical.com> |
1121 | + |
1122 | + Putting the dbus service (correctly) in the libexec directory instead of the bin directory. |
1123 | + |
1124 | +2009-09-09 Ted Gould <ted@canonical.com> |
1125 | + |
1126 | + Adding in the local install flag to make that distcheck passes. |
1127 | + |
1128 | +2009-09-09 Ted Gould <ted@canonical.com> |
1129 | + |
1130 | + Update to the v2 API and getting the majority of 423013. |
1131 | + |
1132 | +2009-09-08 Ted Gould <ted@canonical.com> |
1133 | + |
1134 | + Bother. |
1135 | + |
1136 | +2009-09-08 Ted Gould <ted@canonical.com> |
1137 | + |
1138 | + Checking the wrong variable, let's not get caught by those legacy guys ;) |
1139 | + |
1140 | +2009-09-08 Ted Gould <ted@canonical.com> |
1141 | + |
1142 | + Adding in support for properties changing on the indicator menu item on the visualization side of things. |
1143 | + |
1144 | +2009-09-05 Ted Gould <ted@canonical.com> |
1145 | + |
1146 | + No atoi, no stdlib.h, that's how it is. |
1147 | + |
1148 | +2009-09-05 Ted Gould <ted@canonical.com> |
1149 | + |
1150 | + Fixing as I fixed the libindicate API, we shouldn't have to do an atoi here. |
1151 | + |
1152 | +2009-09-05 Ted Gould <ted@canonical.com> |
1153 | + |
1154 | + Setting up the listener signal to make it so that we know when the count changes. Using the property call back and just calling that function. |
1155 | + |
1156 | +2009-09-04 Ted Gould <ted@canonical.com> |
1157 | + |
1158 | + Replacing type with count |
1159 | + |
1160 | +2009-09-04 Ted Gould <ted@canonical.com> |
1161 | + |
1162 | + Removing the count on the label boolean as we're detecting that differently now. |
1163 | + |
1164 | +2009-09-04 Ted Gould <ted@canonical.com> |
1165 | + |
1166 | + We don't need to be tracking the added and removed signals for indicators anymore. |
1167 | + |
1168 | +2009-09-04 Ted Gould <ted@canonical.com> |
1169 | + |
1170 | + Fleshing out indicator changing the attention parameter. |
1171 | + |
1172 | +2009-09-04 Ted Gould <ted@canonical.com> |
1173 | + |
1174 | + Connecting into the attention signal. |
1175 | + |
1176 | +2009-09-04 Ted Gould <ted@canonical.com> |
1177 | + |
1178 | + Processing the attention when an indicator leaves the building. |
1179 | + |
1180 | +2009-09-04 Ted Gould <ted@canonical.com> |
1181 | + |
1182 | + Comments. |
1183 | + |
1184 | +2009-09-04 Ted Gould <ted@canonical.com> |
1185 | + |
1186 | + Fleshing out checking server attention by looking at all the indicators. |
1187 | + |
1188 | +2009-09-04 Ted Gould <ted@canonical.com> |
1189 | + |
1190 | + Initializing count |
1191 | + |
1192 | +2009-09-04 Ted Gould <ted@canonical.com> |
1193 | + |
1194 | + Oops, a little silly before. We really need to check the indicators as well, we can't just clear the attention for the count value. |
1195 | + |
1196 | +2009-09-04 Ted Gould <ted@canonical.com> |
1197 | + |
1198 | + Reworking how we handle the server count changing and how that makes us check for attention now. |
1199 | + |
1200 | +2009-09-04 Ted Gould <ted@canonical.com> |
1201 | + |
1202 | + Adding an attention parameter to the server and initing it. |
1203 | + |
1204 | +2009-09-04 Ted Gould <ted@canonical.com> |
1205 | + |
1206 | + If the item was shown, and we're in an overload case, we need to find someone else to show when we're dying. |
1207 | + |
1208 | +2009-09-04 Ted Gould <ted@canonical.com> |
1209 | + |
1210 | + Adding in a small function to access the show variable. |
1211 | + |
1212 | +2009-09-04 Ted Gould <ted@canonical.com> |
1213 | + |
1214 | + Hiding the items that go over our bounds. That's how it is. Hard, hard, limits. |
1215 | + |
1216 | +2009-09-04 Ted Gould <ted@canonical.com> |
1217 | + |
1218 | + Defining the max number of indicators and telling the server about it. |
1219 | + |
1220 | +2009-09-04 Ted Gould <ted@canonical.com> |
1221 | + |
1222 | + Setting the property on the dbusmenu menuitem as well |
1223 | + |
1224 | +2009-09-04 Ted Gould <ted@canonical.com> |
1225 | + |
1226 | + Adding in a show state. |
1227 | + |
1228 | +2009-09-04 Ted Gould <ted@canonical.com> |
1229 | + |
1230 | + Fleshing out the attention_cb to make it record the value and signal on changes. |
1231 | + |
1232 | +2009-09-04 Ted Gould <ted@canonical.com> |
1233 | + |
1234 | + Adding an attention variable and a function to access it. |
1235 | + |
1236 | +2009-09-04 Ted Gould <ted@canonical.com> |
1237 | + |
1238 | + Adding in a signal for when the attention changes. |
1239 | + |
1240 | +2009-09-04 Ted Gould <ted@canonical.com> |
1241 | + |
1242 | + Fleshing out the count item |
1243 | + |
1244 | +2009-09-04 Ted Gould <ted@canonical.com> |
1245 | + |
1246 | + Ask for all the properties up front. |
1247 | + |
1248 | +2009-09-04 Ted Gould <ted@canonical.com> |
1249 | + |
1250 | + We're tracking count instead of whether we should show the time as a boolean. |
1251 | + |
1252 | +2009-09-04 Ted Gould <ted@canonical.com> |
1253 | + |
1254 | + Making the sender support the name attribute and clean up the code a bit. |
1255 | + |
1256 | +2009-09-04 Ted Gould <ted@canonical.com> |
1257 | + |
1258 | + oops forgot to remove type from the modified one, oops. |
1259 | + |
1260 | +2009-09-04 Ted Gould <ted@canonical.com> |
1261 | + |
1262 | + Well, you know, Oholoh says that I don't comment enough. Better put some more in. |
1263 | + |
1264 | +2009-09-04 Ted Gould <ted@canonical.com> |
1265 | + |
1266 | + Changing the properties to be the indicate v2 ones. Mostly this involves adding extra properties at this point. |
1267 | + |
1268 | +2009-09-04 Ted Gould <ted@canonical.com> |
1269 | + |
1270 | + Removing the indicate-gtk headers. |
1271 | + |
1272 | +2009-09-04 Ted Gould <ted@canonical.com> |
1273 | + |
1274 | + Dropping dep on indicate-gtk, we don't need it now that we're just passing the image data on. |
1275 | + |
1276 | +2009-09-04 Ted Gould <ted@canonical.com> |
1277 | + |
1278 | + Converting this over to an indicator menuitem. |
1279 | + |
1280 | +2009-09-04 Ted Gould <ted@canonical.com> |
1281 | + |
1282 | + Fleshing out the indicator item. It's purdy. |
1283 | + |
1284 | +2009-09-04 Ted Gould <ted@canonical.com> |
1285 | + |
1286 | + Making sure these don't conflict with ones already in usage. |
1287 | + |
1288 | +2009-09-04 Ted Gould <ted@canonical.com> |
1289 | + |
1290 | + Adding properties for the new menuitems we need to build for showing applications and indicators. |
1291 | + |
1292 | +2009-09-04 Ted Gould <ted@canonical.com> |
1293 | + |
1294 | + Removing the type from the indicator_removed function. |
1295 | + |
1296 | +2009-09-04 Ted Gould <ted@canonical.com> |
1297 | + |
1298 | + We have to drop show_time as a parameter as the caller doesn't really know if that's the case or not anymore. |
1299 | + |
1300 | +2009-09-04 Ted Gould <ted@canonical.com> |
1301 | + |
1302 | + Reshuffle. Now the creation of an indicator makes for a im-menu-item without looking at type and subtype at all. We'll have a bunch more now. |
1303 | + |
1304 | +2009-09-04 Ted Gould <ted@canonical.com> |
1305 | + |
1306 | + libindicate dependency was already 0.2.0, but marking this as the case in the version history. |
1307 | + |
1308 | +2009-09-04 Ted Gould <ted@canonical.com> |
1309 | + |
1310 | + Merging in the dbusmenu011 branch. I think I got other trunk updates as well. |
1311 | + |
1312 | +2009-09-04 Ted Gould <ted@canonical.com> |
1313 | + |
1314 | + Bringing up to use some of the new features and defines in DBusmenu 0.1.1 |
1315 | + |
1316 | +2009-09-04 Ted Gould <ted@canonical.com> |
1317 | + |
1318 | + A variable and a prototype. Such is life. |
1319 | + |
1320 | +2009-09-04 Ted Gould <ted@canonical.com> |
1321 | + |
1322 | + Fixing a header and some defines. |
1323 | + |
1324 | +2009-09-03 Ted Gould <ted@canonical.com> |
1325 | + |
1326 | + Using the defines fo dealing with the icons and using the generic image type. We're just passing along the PNGs right now. |
1327 | + |
1328 | +2009-09-03 Ted Gould <ted@canonical.com> |
1329 | + |
1330 | + Using defines for visibility. |
1331 | + |
1332 | +2009-09-03 Ted Gould <ted@canonical.com> |
1333 | + |
1334 | + Upping dbusmenu version |
1335 | + |
1336 | +2009-08-27 Ted Gould <ted@canonical.com> |
1337 | + |
1338 | + Updating to dbusmenu 0.1.0 as a versioning snafu got involved. |
1339 | + |
1340 | +2009-08-27 Ted Gould <ted@canonical.com> |
1341 | + |
1342 | + Changing to version 0.2.0. We need a release sometime. |
1343 | + |
1344 | +2009-08-27 Ted Gould <ted@canonical.com> |
1345 | + |
1346 | + Merging in a branch that updates to the new dbusmenu but also uses it to add a custom launcher item. |
1347 | + |
1348 | +2009-08-27 Ted Gould <ted@canonical.com> |
1349 | + |
1350 | + Checking args from libdbusmenu, stealing code from there. Comments by Neil. |
1351 | + |
1352 | +2009-08-26 Ted Gould <ted@canonical.com> |
1353 | + |
1354 | + Attaching a bug to a branch. |
1355 | + |
1356 | +2009-08-26 Ted Gould <ted@canonical.com> |
1357 | + |
1358 | + This stuff is crashing big time now. Not sure why it worked before, but not going to look into it now. |
1359 | + |
1360 | +2009-08-26 Ted Gould <ted@canonical.com> |
1361 | + |
1362 | + Adding a little style to our labels. Hopefully making them look a little nicer. |
1363 | + |
1364 | +2009-08-26 Ted Gould <ted@canonical.com> |
1365 | + |
1366 | + Use that handy get_description function that we just merged in. Heh, wonder why we did that... |
1367 | + |
1368 | +2009-08-26 Ted Gould <ted@canonical.com> |
1369 | + |
1370 | + Merging in the lift-and-separate branch to get the description function on there. |
1371 | + |
1372 | +2009-08-26 Ted Gould <ted@canonical.com> |
1373 | + |
1374 | + Adding a get_description function |
1375 | + |
1376 | +2009-08-25 Ted Gould <ted@canonical.com> |
1377 | + |
1378 | + Merging in the dirwatch branch |
1379 | + |
1380 | +2009-08-26 Ted Gould <ted@canonical.com> |
1381 | + |
1382 | + Setting the type of the item and app name |
1383 | + |
1384 | +2009-08-26 Ted Gould <ted@canonical.com> |
1385 | + |
1386 | + Filling in the new launcher menu item |
1387 | + |
1388 | +2009-08-26 Ted Gould <ted@canonical.com> |
1389 | + |
1390 | + Pulling the type and the properties into the shared DBus header. |
1391 | + |
1392 | +2009-08-26 Ted Gould <ted@canonical.com> |
1393 | + |
1394 | + Injecting in a type for the launchers. |
1395 | + |
1396 | +2009-08-26 Ted Gould <ted@canonical.com> |
1397 | + |
1398 | + Making ourselves a variable in the middle of everything. |
1399 | + |
1400 | +2009-08-26 Ted Gould <ted@canonical.com> |
1401 | + |
1402 | + Replacing the prop strings with defines |
1403 | + |
1404 | +2009-08-26 Ted Gould <ted@canonical.com> |
1405 | + |
1406 | + Locking to version 0.0.2 to use some of the new nicities |
1407 | + |
1408 | +2009-08-26 Ted Gould <ted@canonical.com> |
1409 | + |
1410 | + show -> visible |
1411 | + |
1412 | +2009-08-26 Ted Gould <ted@canonical.com> |
1413 | + |
1414 | + Merging in changes to make the green dot appear and the icon hide when no one is there. |
1415 | + |
1416 | +2009-08-26 Ted Gould <ted@canonical.com> |
1417 | + |
1418 | + Adding the green dot bug onto the branch. |
1419 | + |
1420 | +2009-08-26 Ted Gould <ted@canonical.com> |
1421 | + |
1422 | + Some debug messages and checking the list length, but most importantly, got the show/eclipsed logic backwards. |
1423 | + |
1424 | +2009-08-26 Ted Gould <ted@canonical.com> |
1425 | + |
1426 | + Checking hidden when servers are added and removed as well. |
1427 | + |
1428 | +2009-08-26 Ted Gould <ted@canonical.com> |
1429 | + |
1430 | + Putting in the hiding logic |
1431 | + |
1432 | +2009-08-26 Ted Gould <ted@canonical.com> |
1433 | + |
1434 | + Adding in teh ability to count the number of launchers that are visable |
1435 | + |
1436 | +2009-08-26 Ted Gould <ted@canonical.com> |
1437 | + |
1438 | + The documentation clearly states that you don't need these if the client supports introspection. I thought I was being old school by still putting them in. But, THE DOCUMENTATION LIES, you need to add the signals no matter what. |
1439 | + |
1440 | +2009-08-26 Ted Gould <ted@canonical.com> |
1441 | + |
1442 | + Forgot to change to Ayatana |
1443 | + |
1444 | +2009-08-26 Ted Gould <ted@canonical.com> |
1445 | + |
1446 | + Bad name, fixed. |
1447 | + |
1448 | +2009-08-26 Ted Gould <ted@canonical.com> |
1449 | + |
1450 | + Setting the attention parameter in the dbus interface. |
1451 | + |
1452 | +2009-08-26 Ted Gould <ted@canonical.com> |
1453 | + |
1454 | + Legal crap. |
1455 | + |
1456 | +2009-08-26 Ted Gould <ted@canonical.com> |
1457 | + |
1458 | + Oh, wow, now there's some flesh on these. Let's hide and show icons. |
1459 | + |
1460 | +2009-08-26 Ted Gould <ted@canonical.com> |
1461 | + |
1462 | + Setting up signals and callbacks, oh my! Watch for lions. |
1463 | + |
1464 | +2009-08-26 Ted Gould <ted@canonical.com> |
1465 | + |
1466 | + Building a proxy... |
1467 | + |
1468 | +2009-08-26 Ted Gould <ted@canonical.com> |
1469 | + |
1470 | + Okay, now we're signaling change. |
1471 | + |
1472 | +2009-08-26 Ted Gould <ted@canonical.com> |
1473 | + |
1474 | + Making some signal lovin' |
1475 | + |
1476 | +2009-08-26 Ted Gould <ted@canonical.com> |
1477 | + |
1478 | + Adding the basic set functions into the C files. |
1479 | + |
1480 | +2009-08-26 Ted Gould <ted@canonical.com> |
1481 | + |
1482 | + Some comments. |
1483 | + |
1484 | +2009-08-25 Ted Gould <ted@canonical.com> |
1485 | + |
1486 | + Bringing up the object and having some variables to access. |
1487 | + |
1488 | +2009-08-25 Ted Gould <ted@canonical.com> |
1489 | + |
1490 | + Creating a real object and initing it. |
1491 | + |
1492 | +2009-08-25 Ted Gould <ted@canonical.com> |
1493 | + |
1494 | + Building an object to represent the service over DBus. |
1495 | + |
1496 | +2009-08-25 Ted Gould <ted@canonical.com> |
1497 | + |
1498 | + Adding in a new dbus interface. |
1499 | + |
1500 | +2009-08-25 Ted Gould <ted@canonical.com> |
1501 | + |
1502 | + Switching to ayatana.org and adding a new name for the service as a whole. |
1503 | + |
1504 | +2009-08-25 Ted Gould <ted@canonical.com> |
1505 | + |
1506 | + Merging in the directory watch branch. |
1507 | + |
1508 | +2009-08-25 Ted Gould <ted@canonical.com> |
1509 | + |
1510 | + Checking to see if error is null before looking inside it. |
1511 | + |
1512 | +2009-08-21 Ted Gould <ted@canonical.com> |
1513 | + |
1514 | + Now we're really killing these puppies! Don't cry, they weren't cuddly puppies. |
1515 | + |
1516 | +2009-08-21 Ted Gould <ted@canonical.com> |
1517 | + |
1518 | + Fleshing out the first part of destroy, in that we're just removing an item from a list. |
1519 | + |
1520 | +2009-08-21 Ted Gould <ted@canonical.com> |
1521 | + |
1522 | + Relinking back to trunk. |
1523 | + |
1524 | +2009-08-21 Ted Gould <ted@canonical.com> |
1525 | + |
1526 | + The launcher creation didn't test to see if it already exists. Now we keep one launcher per desktop file. Makes sense, eh? That's what we're going for. |
1527 | + |
1528 | +2009-08-21 Ted Gould <ted@canonical.com> |
1529 | + |
1530 | + Start responding to changes in the applications directories |
1531 | + |
1532 | +2009-08-21 Ted Gould <ted@canonical.com> |
1533 | + |
1534 | + I'd have to say that hash_table_find didn't do what I expected, and is pretty useless. |
1535 | + |
1536 | +2009-08-21 Ted Gould <ted@canonical.com> |
1537 | + |
1538 | + Fleshing out remove to try to get rid of all these blacklist items. |
1539 | + |
1540 | +2009-08-21 Ted Gould <ted@canonical.com> |
1541 | + |
1542 | + Turning blacklist dir changes into events |
1543 | + |
1544 | +2009-08-20 Ted Gould <ted@canonical.com> |
1545 | + |
1546 | + Basic code to monitor the directories |
1547 | + |
1548 | +2009-08-20 Ted Gould <ted@canonical.com> |
1549 | + |
1550 | + Adding in black list support |
1551 | + |
1552 | +2009-08-25 Ted Gould <ted@canonical.com> |
1553 | + |
1554 | + Merging in the black list branch. |
1555 | + |
1556 | +2009-08-21 Ted Gould <ted@canonical.com> |
1557 | + |
1558 | + Updating to trunk |
1559 | + |
1560 | +2009-08-20 Ted Gould <ted@canonical.com> |
1561 | + |
1562 | + Adding the user APPS directory to the places where we can find applications |
1563 | + |
1564 | +2009-08-20 Ted Gould <ted@canonical.com> |
1565 | + |
1566 | + Switching the build to take the directory as a parameter |
1567 | + |
1568 | +2009-08-20 Ted Gould <ted@canonical.com> |
1569 | + |
1570 | + Some debug and fixing checking the desktop file. All good. |
1571 | + |
1572 | +2009-08-20 Ted Gould <ted@canonical.com> |
1573 | + |
1574 | + Now parsing the directory on start up. Getting this whole thing started up. |
1575 | + |
1576 | +2009-08-20 Ted Gould <ted@canonical.com> |
1577 | + |
1578 | + Writing the fairly extensive and complex check function. But, if that's the way it needs to be, I guess it needs to be that way. |
1579 | + |
1580 | +2009-08-20 Ted Gould <ted@canonical.com> |
1581 | + |
1582 | + We're taking ownership of that variable as well |
1583 | + |
1584 | +2009-08-20 Ted Gould <ted@canonical.com> |
1585 | + |
1586 | + Fleshing out the add function. Just a little. |
1587 | + |
1588 | +2009-08-20 Ted Gould <ted@canonical.com> |
1589 | + |
1590 | + More of a basis for the black list stuff. Some functions and an interface. |
1591 | + |
1592 | +2009-08-20 Ted Gould <ted@canonical.com> |
1593 | + |
1594 | + Adding in some seperators to make things more clear. |
1595 | + |
1596 | +2009-08-20 Ted Gould <ted@canonical.com> |
1597 | + |
1598 | + Adding in a couple of blacklist check point. |
1599 | + |
1600 | +2009-08-20 Ted Gould <ted@canonical.com> |
1601 | + |
1602 | + Merging in the launchers branch |
1603 | + |
1604 | +2009-08-21 Ted Gould <ted@canonical.com> |
1605 | + |
1606 | + Adding in support for launchers |
1607 | + |
1608 | +2009-08-20 Ted Gould <ted@canonical.com> |
1609 | + |
1610 | + Should be in milliseconds not micro |
1611 | + |
1612 | +2009-08-20 Ted Gould <ted@canonical.com> |
1613 | + |
1614 | + Use a GDK app context. Not sure about the timestamp units though. |
1615 | + |
1616 | +2009-08-19 Ted Gould <ted@canonical.com> |
1617 | + |
1618 | + Oh, some debug messages to see what's going on. |
1619 | + |
1620 | +2009-08-19 Ted Gould <ted@canonical.com> |
1621 | + |
1622 | + Ah, where casting kills. You can cast anything to the right value even though it's not. Nice opaque errors you get for that. |
1623 | + |
1624 | +2009-08-19 Ted Gould <ted@canonical.com> |
1625 | + |
1626 | + Big commit. Trying to check for eclipses, but first both objects needed to track their desktop file paths. So I had to add that little nugget in as well. |
1627 | + |
1628 | +2009-08-19 Ted Gould <ted@canonical.com> |
1629 | + |
1630 | + Adding an eclipsed function for the LMI |
1631 | + |
1632 | +2009-08-19 Ted Gould <ted@canonical.com> |
1633 | + |
1634 | + Clean up, clean up, everybody everywhere |
1635 | + |
1636 | +2009-08-19 Ted Gould <ted@canonical.com> |
1637 | + |
1638 | + Adding in a couple function to deal with disappearing launchers. |
1639 | + |
1640 | +2009-08-19 Ted Gould <ted@canonical.com> |
1641 | + |
1642 | + Adding in the activate logic so that the menu items actually launch the application. |
1643 | + |
1644 | +2009-08-19 Ted Gould <ted@canonical.com> |
1645 | + |
1646 | + Adding the launcher list to the resorting function. This looks more complex than it is, it's just merging the two lists on the fly in alphabetical order. |
1647 | + |
1648 | +2009-08-19 Ted Gould <ted@canonical.com> |
1649 | + |
1650 | + Making this file a little more readable. Eh, I guess you never plan on them getting this big when you start do you? I remember when he was just a little automake file. |
1651 | + |
1652 | +2009-08-19 Ted Gould <ted@canonical.com> |
1653 | + |
1654 | + Missing a couple headers for distcheckness |
1655 | + |
1656 | +2009-08-19 Ted Gould <ted@canonical.com> |
1657 | + |
1658 | + Getting launchers to add to the menu, and changing the function to do that so it's not all server based. We want everyone involved now. |
1659 | + |
1660 | +2009-08-19 Ted Gould <ted@canonical.com> |
1661 | + |
1662 | + Setting the label of the menu item. |
1663 | + |
1664 | +2009-08-19 Ted Gould <ted@canonical.com> |
1665 | + |
1666 | + Lots of debug, but also cleaning up the desktop file name path so it gets properly into the constructor. |
1667 | + |
1668 | +2009-08-19 Ted Gould <ted@canonical.com> |
1669 | + |
1670 | + Oops, forgot one level of redirection here |
1671 | + |
1672 | +2009-08-19 Ted Gould <ted@canonical.com> |
1673 | + |
1674 | + Spliting out the building of the items as it'll read the desktop file off disk and parse it. |
1675 | + |
1676 | +2009-08-19 Ted Gould <ted@canonical.com> |
1677 | + |
1678 | + Go through the launchers and start building items |
1679 | + |
1680 | +2009-08-19 Ted Gould <ted@canonical.com> |
1681 | + |
1682 | + Not sure why, but the naming of this file is really bugging me. Fixed now. |
1683 | + |
1684 | +2009-08-19 Ted Gould <ted@canonical.com> |
1685 | + |
1686 | + Adding in a new menu-item type. One for launchers! Woo Hoo! |
1687 | + |
1688 | +2009-08-19 Ted Gould <ted@canonical.com> |
1689 | + |
1690 | + No reason that all these should be linked into the loadable module. Err, fail. |
1691 | + |
1692 | +2009-08-19 Ted Gould <ted@canonical.com> |
1693 | + |
1694 | + Adding the basis for launchers |
1695 | + |
1696 | +2009-08-19 Ted Gould <ted@canonical.com> |
1697 | + |
1698 | + Adding directories. Let's put them in one file so that they'll be changable easy :) |
1699 | + |
1700 | +2009-08-19 Ted Gould <ted@canonical.com> |
1701 | + |
1702 | + AM 1.11 silent rule |
1703 | + |
1704 | +2009-08-05 Ted Gould <ted@canonical.com> |
1705 | + |
1706 | + Fixing the messaging indicator to unref the menu item, which removes the signal handlers. |
1707 | + |
1708 | +2009-08-04 Ted Gould <ted@canonical.com> |
1709 | + |
1710 | + indicate-gtk changes that are required |
1711 | + |
1712 | +2009-08-04 Ted Gould <ted@canonical.com> |
1713 | + |
1714 | + Merging in the branch that pulls in the dbusmenu changes that change to using a service. |
1715 | + |
1716 | +2009-05-28 Ted Gould <ted@canonical.com> |
1717 | + |
1718 | + Aw, bother, turns out I messed up the service file. Let's fix that. |
1719 | + |
1720 | +2009-05-28 Ted Gould <ted@canonical.com> |
1721 | + |
1722 | + Building a simple little activator to find out if we can activate the service. |
1723 | + |
1724 | +2009-05-28 Ted Gould <ted@canonical.com> |
1725 | + |
1726 | + Putting a little more error handling code in. |
1727 | + |
1728 | +2009-05-28 Ted Gould <ted@canonical.com> |
1729 | + |
1730 | + Failing on warnings |
1731 | + |
1732 | +2009-05-27 Ted Gould <ted@canonical.com> |
1733 | + |
1734 | + Switching to the better dbus service dir |
1735 | + |
1736 | +2009-05-27 Ted Gould <ted@canonical.com> |
1737 | + |
1738 | + Starting the service if it isn't there |
1739 | + |
1740 | +2009-05-27 Ted Gould <ted@canonical.com> |
1741 | + |
1742 | + Getting a name, and grabbing it, and loving it... |
1743 | + |
1744 | +2009-05-27 Ted Gould <ted@canonical.com> |
1745 | + |
1746 | + Removing the child_reorder function as it's now upstream |
1747 | + |
1748 | +2009-05-26 Ted Gould <ted@canonical.com> |
1749 | + |
1750 | + First pass at moving everything to doing work with the DbusmenuMenuitem's instead of GTK |
1751 | + |
1752 | +2009-05-26 Ted Gould <ted@canonical.com> |
1753 | + |
1754 | + Converting to a DbusmenuMenuitem instead of GtkMenuItem |
1755 | + |
1756 | +2009-05-26 Ted Gould <ted@canonical.com> |
1757 | + |
1758 | + Converting to a DbusmenuMenuitem instead of GtkMenuItem |
1759 | + |
1760 | +2009-05-26 Ted Gould <ted@canonical.com> |
1761 | + |
1762 | + First pass, build the listener and do fun stuff like that. |
1763 | + |
1764 | +2009-05-26 Ted Gould <ted@canonical.com> |
1765 | + |
1766 | + Building the indicator-messages-service |
1767 | + |
1768 | +2009-05-26 Ted Gould <ted@canonical.com> |
1769 | + |
1770 | + A simple main() to get things to compile |
1771 | + |
1772 | +2009-05-26 Ted Gould <ted@canonical.com> |
1773 | + |
1774 | + Install the DBus Service |
1775 | + |
1776 | +2009-05-26 Ted Gould <ted@canonical.com> |
1777 | + |
1778 | + Adding in a service descriptor for adding to DBUS |
1779 | + |
1780 | +2009-05-26 Ted Gould <ted@canonical.com> |
1781 | + |
1782 | + Lookup the dbus services |
1783 | + |
1784 | +2009-05-26 Ted Gould <ted@canonical.com> |
1785 | + |
1786 | + Linking in the dbus data |
1787 | + |
1788 | +2009-05-26 Ted Gould <ted@canonical.com> |
1789 | + |
1790 | + Moving the complex code into the service and leaving the rest for the loadable module. |
1791 | + |
1792 | +2009-05-26 Ted Gould <ted@canonical.com> |
1793 | + |
1794 | + Adding in dbus name and object |
1795 | + |
1796 | +2009-05-26 Ted Gould <ted@canonical.com> |
1797 | + |
1798 | + Adding a dependency on the dbus menu library. |
1799 | + |
1800 | +2009-05-13 Ted Gould <ted@canonical.com> |
1801 | + |
1802 | + Merging in fix for tracking the timers. |
1803 | + |
1804 | +2009-05-10 Ted Gould <ted@canonical.com> |
1805 | + |
1806 | + Not setting the variable time_update_min when creating the source. Bug found by Ka-Hing Cheung |
1807 | + |
1808 | +2009-04-22 Ted Gould <ted@canonical.com> |
1809 | + |
1810 | + Get rid of the main menu variable that we're not using. Hide the image. |
1811 | + |
1812 | +2009-04-22 Ted Gould <ted@canonical.com> |
1813 | + |
1814 | + Setting the name to 'messages' |
1815 | + |
1816 | +2009-04-22 Ted Gould <ted@canonical.com> |
1817 | + |
1818 | + removing a warning by ref'ing the default |
1819 | + |
1820 | +2009-04-22 Ted Gould <ted@canonical.com> |
1821 | + |
1822 | + Fixing return type |
1823 | + |
1824 | +2009-04-22 Ted Gould <ted@canonical.com> |
1825 | + |
1826 | + Breaking out into libindicator style function calls. |
1827 | + |
1828 | +2009-04-22 Ted Gould <ted@canonical.com> |
1829 | + |
1830 | + Including the indicator info |
1831 | + |
1832 | +2009-04-22 Ted Gould <ted@canonical.com> |
1833 | + |
1834 | + Installing to indicator dir instead of other fun places |
1835 | + |
1836 | +2009-04-22 Ted Gould <ted@canonical.com> |
1837 | + |
1838 | + Putting a 'dev' on the version number |
1839 | + |
1840 | +2009-04-22 Ted Gould <ted@canonical.com> |
1841 | + |
1842 | + Increasing the version of indicate required and requiring indicator |
1843 | + |
1844 | +2009-04-20 Ted Gould <ted@canonical.com> |
1845 | + |
1846 | + Some changes suggested by Cody Russell to make things a little bit safer. |
1847 | + |
1848 | +2009-04-20 Ted Gould <ted@canonical.com> |
1849 | + |
1850 | + Freeing the appinfo and type from the application object on finalize |
1851 | + |
1852 | +2009-04-20 Ted Gould <ted@canonical.com> |
1853 | + |
1854 | + Moving signal disconnecting and unref to the dispose function instead of finalize. Fix by Cody Russell on bug 362124. |
1855 | + |
1856 | +2009-04-20 Ted Gould <ted@canonical.com> |
1857 | + |
1858 | + Adding a ref'ing and deref'ing of the listener to the application menu item to ensure it stays around while we hav signals attached to it. Fix by Code Russell on bug 362124. |
1859 | + |
1860 | +2009-04-13 Ted Gould <ted@canonical.com> |
1861 | + |
1862 | + Fixes to the finalize function. |
1863 | + |
1864 | +2009-04-13 Ted Gould <ted@canonical.com> |
1865 | + |
1866 | + Making a 6 |
1867 | + |
1868 | +2009-04-13 Ted Gould <ted@canonical.com> |
1869 | + |
1870 | + Merging in Cody's fix for 359018 |
1871 | + |
1872 | +2009-04-13 cody <cody@raconteur> |
1873 | + |
1874 | + move parent->finalize() to the end of the finalize function |
1875 | + |
1876 | +2009-04-08 Ted Gould <ted@canonical.com> |
1877 | + |
1878 | + Including some cleanups from James Westby. Thanks |
1879 | + |
1880 | +2009-04-05 James Westby <james.westby@canonical.com> |
1881 | + |
1882 | + Be aware that appinfo can be NULL. |
1883 | + |
1884 | +2009-04-05 James Westby <james.westby@canonical.com> |
1885 | + |
1886 | + Fix PKG_NAME in autogen.sh. |
1887 | + |
1888 | +2009-04-07 Ted Gould <ted@canonical.com> |
1889 | + |
1890 | + Require indicate version 0.1.5 or higher |
1891 | + |
1892 | +2009-04-07 Ted Gould <ted@canonical.com> |
1893 | + |
1894 | + Trying to set this to also act like FUSA so that we get the same visual as the rest of the panel. |
1895 | + |
1896 | +2009-04-07 Ted Gould <ted@canonical.com> |
1897 | + |
1898 | + Make sure we disconnect from all our signals and free from memory that really exists. Lots of little nasty bugs. |
1899 | + |
1900 | +2009-04-07 Ted Gould <ted@canonical.com> |
1901 | + |
1902 | + Actually removing indicators when the server goes bye-bye and freeing up the indicator data. Wow, two biggie leaks. |
1903 | + |
1904 | +2009-04-07 Ted Gould <ted@canonical.com> |
1905 | + |
1906 | + Should have been using g_strcmp0 all along. No reason not to use the safer one. |
1907 | + |
1908 | +2009-04-07 Ted Gould <ted@canonical.com> |
1909 | + |
1910 | + Making these new0 to make sure that our lists are NULL |
1911 | + |
1912 | +2009-04-03 Ted Gould <ted@canonical.com> |
1913 | + |
1914 | + Using the right symbol names now |
1915 | + |
1916 | +2009-04-03 Ted Gould <ted@canonical.com> |
1917 | + |
1918 | + Using the correct way to find the DBus name and ids. |
1919 | + |
1920 | +2009-04-03 Ted Gould <ted@canonical.com> |
1921 | + |
1922 | + Setting version 0.1.5 |
1923 | + |
1924 | +2009-04-03 Ted Gould <ted@canonical.com> |
1925 | + |
1926 | + Showing some interest in teh clients we talk to. |
1927 | + |
1928 | +2009-04-03 Ted Gould <ted@canonical.com> |
1929 | + |
1930 | + Adding in some consts to match the new prototypes better |
1931 | + |
1932 | +2009-03-27 Ted Gould <ted@canonical.com> |
1933 | + |
1934 | + Changing version number |
1935 | + |
1936 | +2009-03-27 Ted Gould <ted@canonical.com> |
1937 | + |
1938 | + Making time more about it's own relative nature rather than a fixed time. |
1939 | + |
1940 | +2009-03-27 Ted Gould <ted@canonical.com> |
1941 | + |
1942 | + Adding in a couple of statics |
1943 | + |
1944 | +2009-03-24 Ted Gould <ted@canonical.com> |
1945 | + |
1946 | + Making it so that an indicator gets displayed when someone logs in, eventually it disappears. |
1947 | + |
1948 | +2009-03-18 Ted Gould <ted@canonical.com> |
1949 | + |
1950 | + Setting version number to 0.1.3 to match all of the other indicator stuff. Probably should split things out more later. |
1951 | + |
1952 | +2009-03-18 Ted Gould <ted@canonical.com> |
1953 | + |
1954 | + Making the truth correct |
1955 | + |
1956 | +2009-03-18 Ted Gould <ted@canonical.com> |
1957 | + |
1958 | + Backwards sorting |
1959 | + |
1960 | +2009-03-18 Ted Gould <ted@canonical.com> |
1961 | + |
1962 | + Adding in message.im, should have spec'd this better now there's some drift. |
1963 | + |
1964 | +2009-03-18 Ted Gould <ted@canonical.com> |
1965 | + |
1966 | + Making the IM list sorted and handling the time changed signal |
1967 | + |
1968 | +2009-03-18 Ted Gould <ted@canonical.com> |
1969 | + |
1970 | + Putting the seconds into the private structure, a function to get them, and a signal when they change. |
1971 | + |
1972 | +2009-03-18 Ted Gould <ted@canonical.com> |
1973 | + |
1974 | + Fleshing out the reconsile function. And making sure it gets called everytime there is a name change on the server side. |
1975 | + |
1976 | +2009-03-18 Ted Gould <ted@canonical.com> |
1977 | + |
1978 | + Wrong name |
1979 | + |
1980 | +2009-03-18 Ted Gould <ted@canonical.com> |
1981 | + |
1982 | + Relaying out the data structures so that the indicators are sub to the servers |
1983 | + |
1984 | +2009-03-17 Ted Gould <ted@canonical.com> |
1985 | + |
1986 | + Forgot to actually pass the value to the signal, ahhhh |
1987 | + |
1988 | +2009-03-15 Ted Gould <ted@canonical.com> |
1989 | + |
1990 | + Switching the servers from a hash table to a list. Cleans things up a little, and sets us up for menu organization at a more complete level. |
1991 | + |
1992 | +2009-03-15 Ted Gould <ted@canonical.com> |
1993 | + |
1994 | + Adding functions to make it so that we can get signaled on name changes and also query them in app-menu-items |
1995 | + |
1996 | +2009-03-15 Ted Gould <ted@canonical.com> |
1997 | + |
1998 | + Putting in a sorting function to make sure that the individual indicators are always below the server that they're associated with. |
1999 | + |
2000 | +2009-03-15 Ted Gould <ted@canonical.com> |
2001 | + |
2002 | + Bad truth |
2003 | + |
2004 | +2009-03-15 Ted Gould <ted@canonical.com> |
2005 | + |
2006 | + Disconnecting our signals properly, avoids a crash |
2007 | + |
2008 | +2009-03-15 Ted Gould <ted@canonical.com> |
2009 | + |
2010 | + Add simulation of zero count on server remove |
2011 | + |
2012 | +2009-03-15 Ted Gould <ted@canonical.com> |
2013 | + |
2014 | + Setting up the library versioning to basically not have any, this is a module. |
2015 | + |
2016 | +2009-03-15 Ted Gould <ted@canonical.com> |
2017 | + |
2018 | + Switching the icon to be based on whether or not the server is reporting indicators instead of counting the number of indicators items. |
2019 | + |
2020 | +2009-03-15 Ted Gould <ted@canonical.com> |
2021 | + |
2022 | + Splitting the label updating into it's own function and making that called by the other functions that adjust how that happens. |
2023 | + |
2024 | +2009-03-15 Ted Gould <ted@canonical.com> |
2025 | + |
2026 | + Adding in an unread count variable, and then a signal to show it chagned. Also, watching for the indicators on this server to make sure it stays correct. |
2027 | + |
2028 | +2009-03-13 Ted Gould <ted@canonical.com> |
2029 | + |
2030 | + Changing the version number, but don't release it :) |
2031 | + |
2032 | +2009-03-09 Ted Gould <ted@canonical.com> |
2033 | + |
2034 | + changing the size of the icon |
2035 | + |
2036 | +2009-02-16 Ted Gould <ted@canonical.com> |
2037 | + |
2038 | + Turns out that in configure it was 'messaging' -- oops, fixed to be the same as everywhere else. |
2039 | + |
2040 | +2009-02-16 Ted Gould <ted@canonical.com> |
2041 | + |
2042 | + Making this an upstream branch, no packaging. |
2043 | + |
2044 | +2009-02-15 Ted Gould <ted@canonical.com> |
2045 | + |
2046 | + releasing version 0.1~ppa15 |
2047 | + |
2048 | +2009-02-15 Ted Gould <ted@canonical.com> |
2049 | + |
2050 | + Making the menu hide itself if there is no one around |
2051 | + |
2052 | +2009-02-13 Ted Gould <ted@canonical.com> |
2053 | + |
2054 | + releasing version 0.1~ppa14 |
2055 | + |
2056 | +2009-02-13 Ted Gould <ted@canonical.com> |
2057 | + |
2058 | + Forgot to change all the names. |
2059 | + |
2060 | +2009-02-13 Ted Gould <ted@canonical.com> |
2061 | + |
2062 | + Making the image global, and changing it based on how many IMs we have. |
2063 | + |
2064 | +2009-02-13 Ted Gould <ted@canonical.com> |
2065 | + |
2066 | + Add a callback to display the app |
2067 | + |
2068 | +2009-02-13 Ted Gould <ted@canonical.com> |
2069 | + |
2070 | + Oh, I forgot these create log messages. Very annoying. |
2071 | + |
2072 | +2009-02-13 Ted Gould <ted@canonical.com> |
2073 | + |
2074 | + Adding in desktop file support, which required configure changes to get the right headers. |
2075 | + |
2076 | +2009-02-13 Ted Gould <ted@canonical.com> |
2077 | + |
2078 | + Adding in functions to get the desktop file and type of the application |
2079 | + |
2080 | +2009-02-13 Ted Gould <ted@canonical.com> |
2081 | + |
2082 | + Adding a callback for when things like the time get modified. |
2083 | + |
2084 | +2009-02-13 Ted Gould <ted@canonical.com> |
2085 | + |
2086 | + Adding in scaling of icons |
2087 | + |
2088 | +2009-02-13 Ted Gould <ted@canonical.com> |
2089 | + |
2090 | + Setting up to use the icon and time helper functions and make icons update. Whoot! |
2091 | + |
2092 | +2009-02-11 Ted Gould <ted@canonical.com> |
2093 | + |
2094 | + Adding in a copyright for the debian packaging and description of the package license |
2095 | + |
2096 | +2009-02-11 Ted Gould <ted@canonical.com> |
2097 | + |
2098 | + Adding myself as an author |
2099 | + |
2100 | +2009-02-11 Ted Gould <ted@canonical.com> |
2101 | + |
2102 | + Adding in license headers, GPL v3 |
2103 | + |
2104 | +2009-02-07 Ted Gould <ted@canonical.com> |
2105 | + |
2106 | + More debugging and temorarily showing the menu item ourselves |
2107 | + |
2108 | +2009-02-07 Ted Gould <ted@canonical.com> |
2109 | + |
2110 | + Adding in some debug messages |
2111 | + |
2112 | +2009-02-07 Ted Gould <ted@canonical.com> |
2113 | + |
2114 | + Adding in the basis for making a server based menu item |
2115 | + |
2116 | +2009-02-07 Ted Gould <ted@canonical.com> |
2117 | + |
2118 | + Removing the need for an indicator |
2119 | + |
2120 | +2009-02-06 Ted Gould <ted@canonical.com> |
2121 | + |
2122 | + Adding in an application menu item to start building those |
2123 | + |
2124 | +2009-02-06 Ted Gould <ted@canonical.com> |
2125 | + |
2126 | + Making the activate callback static and putting in a prototype |
2127 | + |
2128 | +2009-02-05 Ted Gould <ted@canonical.com> |
2129 | + |
2130 | + Removing warnings by getting the right pointer types |
2131 | + |
2132 | +2009-02-05 Ted Gould <ted@canonical.com> |
2133 | + |
2134 | + Oh, two things. First is setting alignment of the two strings and also getting the time from an ISO8601 string |
2135 | + |
2136 | +2009-02-04 Ted Gould <ted@canonical.com> |
2137 | + |
2138 | + releasing version 0.1~ppa13 |
2139 | + |
2140 | +2009-02-04 Ted Gould <ted@canonical.com> |
2141 | + |
2142 | + Using the right damn function |
2143 | + |
2144 | +2009-02-04 Ted Gould <ted@canonical.com> |
2145 | + |
2146 | + releasing version 0.1~ppa12 |
2147 | + |
2148 | +2009-02-04 Ted Gould <ted@canonical.com> |
2149 | + |
2150 | + Installing to the wrong directory |
2151 | + |
2152 | +2009-02-04 Ted Gould <ted@canonical.com> |
2153 | + |
2154 | + Adding in data directory |
2155 | + |
2156 | +2009-02-04 Ted Gould <ted@canonical.com> |
2157 | + |
2158 | + releasing version 0.1~ppa11 |
2159 | + |
2160 | +2009-02-04 Ted Gould <ted@canonical.com> |
2161 | + |
2162 | + Taking the icons from Evolution and GNOME icon themes. Some slight modifications. |
2163 | + |
2164 | +2009-02-04 Ted Gould <ted@canonical.com> |
2165 | + |
2166 | + releasing version 0.1~ppa10 |
2167 | + |
2168 | +2009-02-04 Ted Gould <ted@canonical.com> |
2169 | + |
2170 | + Adding in dummy icons |
2171 | + |
2172 | +2009-02-04 Ted Gould <ted@canonical.com> |
2173 | + |
2174 | + Adding in icons |
2175 | + |
2176 | +2009-02-03 Ted Gould <ted@canonical.com> |
2177 | + |
2178 | + Changed libindicate name to libindicate0, so need to have |
2179 | + another build in the PPA. |
2180 | + |
2181 | +2009-02-02 Ted Gould <ted@canonical.com> |
2182 | + |
2183 | + Bumping for PPA |
2184 | + |
2185 | +2009-01-30 Ted Gould <ted@canonical.com> |
2186 | + |
2187 | + Adding in activate callback when the menu item is |
2188 | + clicked on. |
2189 | + |
2190 | +2009-01-30 Ted Gould <ted@canonical.com> |
2191 | + |
2192 | + Adding in an activate callback |
2193 | + |
2194 | +2009-01-29 Ted Gould <ted@canonical.com> |
2195 | + |
2196 | + Making things better, now menu items are created and |
2197 | + destroyed as they are, well, indicators are created |
2198 | + and destroyed. Also minor cleanups. |
2199 | + |
2200 | +2009-01-29 Ted Gould <ted@canonical.com> |
2201 | + |
2202 | + Switching from a hash table to a list |
2203 | + |
2204 | +2009-01-29 Ted Gould <ted@canonical.com> |
2205 | + |
2206 | + Putting a debug message on compare |
2207 | + |
2208 | +2009-01-29 Ted Gould <ted@canonical.com> |
2209 | + |
2210 | + Warning on not removing something that should have been. |
2211 | + |
2212 | +2009-01-21 Ted Gould <ted@canonical.com> |
2213 | + |
2214 | + Basically now indicators show up if someone puts an IM message |
2215 | + on the Bus. Way cool. No delete or anything fancy, but good |
2216 | + progress. |
2217 | + |
2218 | +2009-01-21 Ted Gould <ted@canonical.com> |
2219 | + |
2220 | + I always get the order of these backwards |
2221 | + |
2222 | +2009-01-21 Ted Gould <ted@canonical.com> |
2223 | + |
2224 | + Changing the text to be a little shorter |
2225 | + |
2226 | +2009-01-21 Ted Gould <ted@canonical.com> |
2227 | + |
2228 | + Adding in a show that I forgot :( |
2229 | + |
2230 | +2009-01-21 Ted Gould <ted@canonical.com> |
2231 | + |
2232 | + Better debug message and getting the time callback to check for the right property |
2233 | + |
2234 | +2009-01-21 Ted Gould <ted@canonical.com> |
2235 | + |
2236 | + Lots of debugging message to figure out that I hadn't passed |
2237 | + the return variable in _new :( |
2238 | + |
2239 | +2009-01-21 Ted Gould <ted@canonical.com> |
2240 | + |
2241 | + I hate me |
2242 | + |
2243 | +2009-01-21 Ted Gould <ted@canonical.com> |
2244 | + |
2245 | + It's truly amazing how many logic errors I make |
2246 | + |
2247 | +2009-01-21 Ted Gould <ted@canonical.com> |
2248 | + |
2249 | + Make menu items for IM indicators |
2250 | + |
2251 | +2009-01-21 Ted Gould <ted@canonical.com> |
2252 | + |
2253 | + Adding in some more warnings |
2254 | + |
2255 | +2009-01-21 Ted Gould <ted@canonical.com> |
2256 | + |
2257 | + Forgot a _start |
2258 | + |
2259 | +2009-01-21 Ted Gould <ted@canonical.com> |
2260 | + |
2261 | + Forgot to connect in the signal handler, oops. |
2262 | + |
2263 | +2009-01-21 Ted Gould <ted@canonical.com> |
2264 | + |
2265 | + Get this to compile |
2266 | + |
2267 | +2009-01-21 Ted Gould <ted@canonical.com> |
2268 | + |
2269 | + Linking together |
2270 | + |
2271 | +2009-01-21 Ted Gould <ted@canonical.com> |
2272 | + |
2273 | + Fleshed this item out some |
2274 | + |
2275 | +2009-01-21 Ted Gould <ted@canonical.com> |
2276 | + |
2277 | + Boiler plate IM menu items |
2278 | + |
2279 | +2009-01-20 Ted Gould <ted@canonical.com> |
2280 | + |
2281 | + ifdef'ing out the mail stuff as we need to get IM working first |
2282 | + |
2283 | +2009-01-20 Ted Gould <ted@canonical.com> |
2284 | + |
2285 | + Building the basis of what needs to be the indicator. |
2286 | + |
2287 | +2009-01-19 Ted Gould <ted@canonical.com> |
2288 | + |
2289 | + Adding in libindicate as a dependency |
2290 | + |
2291 | +2008-12-04 Ted Gould <ted@canonical.com> |
2292 | + |
2293 | + Ignore stuff |
2294 | + |
2295 | +2008-12-04 Ted Gould <ted@canonical.com> |
2296 | + |
2297 | + Moving the directory |
2298 | + |
2299 | +2008-12-04 Ted Gould <ted@canonical.com> |
2300 | + |
2301 | + Starting Debian Packaging |
2302 | + |
2303 | +2008-12-04 Ted Gould <ted@canonical.com> |
2304 | + |
2305 | + Showing by default. |
2306 | + |
2307 | +2008-12-04 Ted Gould <ted@canonical.com> |
2308 | + |
2309 | + Making the directory the same as the applet. Should have done that first, eh. |
2310 | + |
2311 | +2008-12-04 Ted Gould <ted@canonical.com> |
2312 | + |
2313 | + Ignoring |
2314 | + |
2315 | +2008-12-04 Ted Gould <ted@canonical.com> |
2316 | + |
2317 | + Actually getting this all to build reasonably. |
2318 | + |
2319 | +2008-12-04 Ted Gould <ted@canonical.com> |
2320 | + |
2321 | + Checkmark checkin |
2322 | + |
2323 | |
2324 | === modified file 'Makefile.am' |
2325 | --- Makefile.am 2009-09-15 21:06:55 +0000 |
2326 | +++ Makefile.am 2011-01-14 20:29:34 +0000 |
2327 | @@ -4,5 +4,30 @@ |
2328 | data \ |
2329 | po |
2330 | |
2331 | -DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall |
2332 | +DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall --enable-deprecations |
2333 | |
2334 | +dist-hook: |
2335 | + @if test -d "$(top_srcdir)/.bzr"; \ |
2336 | + then \ |
2337 | + echo Creating ChangeLog && \ |
2338 | + ( cd "$(top_srcdir)" && \ |
2339 | + echo '# Generated by Makefile. Do not edit.'; echo; \ |
2340 | + $(top_srcdir)/missing --run bzr log --gnu-changelog ) > ChangeLog.tmp \ |
2341 | + && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ |
2342 | + || (rm -f ChangeLog.tmp; \ |
2343 | + echo Failed to generate ChangeLog >&2 ); \ |
2344 | + else \ |
2345 | + echo Failed to generate ChangeLog: not a branch >&2; \ |
2346 | + fi |
2347 | + @if test -d "$(top_srcdir)/.bzr"; \ |
2348 | + then \ |
2349 | + echo Creating AUTHORS && \ |
2350 | + ( cd "$(top_srcdir)" && \ |
2351 | + echo '# Generated by Makefile. Do not edit.'; echo; \ |
2352 | + $(top_srcdir)/missing --run bzr log --long --levels=0 | grep -e "^\s*author:" -e "^\s*committer:" | cut -d ":" -f 2 | cut -d "<" -f 1 | sort -u) > AUTHORS.tmp \ |
2353 | + && mv -f AUTHORS.tmp $(top_distdir)/AUTHORS \ |
2354 | + || (rm -f AUTHORS.tmp; \ |
2355 | + echo Failed to generate AUTHORS >&2 ); \ |
2356 | + else \ |
2357 | + echo Failed to generate AUTHORS: not a branch >&2; \ |
2358 | + fi |
2359 | |
2360 | === modified file 'Makefile.in' |
2361 | --- Makefile.in 2010-08-12 18:08:18 +0000 |
2362 | +++ Makefile.in 2011-01-14 20:29:34 +0000 |
2363 | @@ -258,7 +258,7 @@ |
2364 | data \ |
2365 | po |
2366 | |
2367 | -DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall |
2368 | +DISTCHECK_CONFIGURE_FLAGS = --enable-localinstall --enable-deprecations |
2369 | all: config.h |
2370 | $(MAKE) $(AM_MAKEFLAGS) all-recursive |
2371 | |
2372 | @@ -519,6 +519,9 @@ |
2373 | || exit 1; \ |
2374 | fi; \ |
2375 | done |
2376 | + $(MAKE) $(AM_MAKEFLAGS) \ |
2377 | + top_distdir="$(top_distdir)" distdir="$(distdir)" \ |
2378 | + dist-hook |
2379 | -test -n "$(am__skip_mode_fix)" \ |
2380 | || find "$(distdir)" -type d ! -perm -755 \ |
2381 | -exec chmod u+rwx,go+rx {} \; -o \ |
2382 | @@ -740,8 +743,8 @@ |
2383 | .PHONY: $(RECURSIVE_CLEAN_TARGETS) $(RECURSIVE_TARGETS) CTAGS GTAGS \ |
2384 | all all-am am--refresh check check-am clean clean-generic \ |
2385 | clean-libtool ctags ctags-recursive dist dist-all dist-bzip2 \ |
2386 | - dist-gzip dist-lzma dist-shar dist-tarZ dist-xz dist-zip \ |
2387 | - distcheck distclean distclean-generic distclean-hdr \ |
2388 | + dist-gzip dist-hook dist-lzma dist-shar dist-tarZ dist-xz \ |
2389 | + dist-zip distcheck distclean distclean-generic distclean-hdr \ |
2390 | distclean-libtool distclean-tags distcleancheck distdir \ |
2391 | distuninstallcheck dvi dvi-am html html-am info info-am \ |
2392 | install install-am install-data install-data-am install-dvi \ |
2393 | @@ -754,6 +757,32 @@ |
2394 | ps ps-am tags tags-recursive uninstall uninstall-am |
2395 | |
2396 | |
2397 | +dist-hook: |
2398 | + @if test -d "$(top_srcdir)/.bzr"; \ |
2399 | + then \ |
2400 | + echo Creating ChangeLog && \ |
2401 | + ( cd "$(top_srcdir)" && \ |
2402 | + echo '# Generated by Makefile. Do not edit.'; echo; \ |
2403 | + $(top_srcdir)/missing --run bzr log --gnu-changelog ) > ChangeLog.tmp \ |
2404 | + && mv -f ChangeLog.tmp $(top_distdir)/ChangeLog \ |
2405 | + || (rm -f ChangeLog.tmp; \ |
2406 | + echo Failed to generate ChangeLog >&2 ); \ |
2407 | + else \ |
2408 | + echo Failed to generate ChangeLog: not a branch >&2; \ |
2409 | + fi |
2410 | + @if test -d "$(top_srcdir)/.bzr"; \ |
2411 | + then \ |
2412 | + echo Creating AUTHORS && \ |
2413 | + ( cd "$(top_srcdir)" && \ |
2414 | + echo '# Generated by Makefile. Do not edit.'; echo; \ |
2415 | + $(top_srcdir)/missing --run bzr log --long --levels=0 | grep -e "^\s*author:" -e "^\s*committer:" | cut -d ":" -f 2 | cut -d "<" -f 1 | sort -u) > AUTHORS.tmp \ |
2416 | + && mv -f AUTHORS.tmp $(top_distdir)/AUTHORS \ |
2417 | + || (rm -f AUTHORS.tmp; \ |
2418 | + echo Failed to generate AUTHORS >&2 ); \ |
2419 | + else \ |
2420 | + echo Failed to generate AUTHORS: not a branch >&2; \ |
2421 | + fi |
2422 | + |
2423 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
2424 | # Otherwise a system limit (for SysV at least) may be exceeded. |
2425 | .NOEXPORT: |
2426 | |
2427 | === modified file 'aclocal.m4' |
2428 | --- aclocal.m4 2010-08-12 18:08:18 +0000 |
2429 | +++ aclocal.m4 2011-01-14 20:29:34 +0000 |
2430 | @@ -8782,7 +8782,7 @@ |
2431 | Consider adjusting the PKG_CONFIG_PATH environment variable if you |
2432 | installed software in a non-standard prefix. |
2433 | |
2434 | -_PKG_TEXT])dnl |
2435 | +_PKG_TEXT])[]dnl |
2436 | ]) |
2437 | elif test $pkg_failed = untried; then |
2438 | AC_MSG_RESULT([no]) |
2439 | @@ -8793,7 +8793,7 @@ |
2440 | |
2441 | _PKG_TEXT |
2442 | |
2443 | -To get pkg-config, see <http://pkg-config.freedesktop.org/>.])dnl |
2444 | +To get pkg-config, see <http://pkg-config.freedesktop.org/>.])[]dnl |
2445 | ]) |
2446 | else |
2447 | $1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS |
2448 | |
2449 | === modified file 'configure' |
2450 | --- configure 2010-09-09 18:22:04 +0000 |
2451 | +++ configure 2011-01-14 20:29:34 +0000 |
2452 | @@ -918,6 +918,7 @@ |
2453 | with_gnu_ld |
2454 | enable_libtool_lock |
2455 | enable_silent_rules |
2456 | +enable_deprecations |
2457 | enable_localinstall |
2458 | ' |
2459 | ac_precious_vars='build_alias |
2460 | @@ -1564,6 +1565,7 @@ |
2461 | --disable-libtool-lock avoid locking (might break parallel builds) |
2462 | --enable-silent-rules less verbose build output (undo: `make V=1') |
2463 | --disable-silent-rules verbose build output (undo: `make V=0') |
2464 | + --enable-deprecations allow deprecated API usage [default=yes] |
2465 | --enable-localinstall install all of the files localy instead of system |
2466 | directories (for distcheck) |
2467 | |
2468 | @@ -2843,7 +2845,7 @@ |
2469 | |
2470 | # Define the identity of the package. |
2471 | PACKAGE=indicator-messages |
2472 | - VERSION=0.3.11 |
2473 | + VERSION=0.3.90 |
2474 | |
2475 | |
2476 | cat >>confdefs.h <<_ACEOF |
2477 | @@ -6257,13 +6259,13 @@ |
2478 | else |
2479 | lt_cv_nm_interface="BSD nm" |
2480 | echo "int some_variable = 0;" > conftest.$ac_ext |
2481 | - (eval echo "\"\$as_me:6260: $ac_compile\"" >&5) |
2482 | + (eval echo "\"\$as_me:6262: $ac_compile\"" >&5) |
2483 | (eval "$ac_compile" 2>conftest.err) |
2484 | cat conftest.err >&5 |
2485 | - (eval echo "\"\$as_me:6263: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
2486 | + (eval echo "\"\$as_me:6265: $NM \\\"conftest.$ac_objext\\\"\"" >&5) |
2487 | (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out) |
2488 | cat conftest.err >&5 |
2489 | - (eval echo "\"\$as_me:6266: output\"" >&5) |
2490 | + (eval echo "\"\$as_me:6268: output\"" >&5) |
2491 | cat conftest.out >&5 |
2492 | if $GREP 'External.*some_variable' conftest.out > /dev/null; then |
2493 | lt_cv_nm_interface="MS dumpbin" |
2494 | @@ -7468,7 +7470,7 @@ |
2495 | ;; |
2496 | *-*-irix6*) |
2497 | # Find out which ABI we are using. |
2498 | - echo '#line 7471 "configure"' > conftest.$ac_ext |
2499 | + echo '#line 7473 "configure"' > conftest.$ac_ext |
2500 | if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5 |
2501 | (eval $ac_compile) 2>&5 |
2502 | ac_status=$? |
2503 | @@ -8713,11 +8715,11 @@ |
2504 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
2505 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
2506 | -e 's:$: $lt_compiler_flag:'` |
2507 | - (eval echo "\"\$as_me:8716: $lt_compile\"" >&5) |
2508 | + (eval echo "\"\$as_me:8718: $lt_compile\"" >&5) |
2509 | (eval "$lt_compile" 2>conftest.err) |
2510 | ac_status=$? |
2511 | cat conftest.err >&5 |
2512 | - echo "$as_me:8720: \$? = $ac_status" >&5 |
2513 | + echo "$as_me:8722: \$? = $ac_status" >&5 |
2514 | if (exit $ac_status) && test -s "$ac_outfile"; then |
2515 | # The compiler can only warn and ignore the option if not recognized |
2516 | # So say no if there are warnings other than the usual output. |
2517 | @@ -9052,11 +9054,11 @@ |
2518 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
2519 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
2520 | -e 's:$: $lt_compiler_flag:'` |
2521 | - (eval echo "\"\$as_me:9055: $lt_compile\"" >&5) |
2522 | + (eval echo "\"\$as_me:9057: $lt_compile\"" >&5) |
2523 | (eval "$lt_compile" 2>conftest.err) |
2524 | ac_status=$? |
2525 | cat conftest.err >&5 |
2526 | - echo "$as_me:9059: \$? = $ac_status" >&5 |
2527 | + echo "$as_me:9061: \$? = $ac_status" >&5 |
2528 | if (exit $ac_status) && test -s "$ac_outfile"; then |
2529 | # The compiler can only warn and ignore the option if not recognized |
2530 | # So say no if there are warnings other than the usual output. |
2531 | @@ -9157,11 +9159,11 @@ |
2532 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
2533 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
2534 | -e 's:$: $lt_compiler_flag:'` |
2535 | - (eval echo "\"\$as_me:9160: $lt_compile\"" >&5) |
2536 | + (eval echo "\"\$as_me:9162: $lt_compile\"" >&5) |
2537 | (eval "$lt_compile" 2>out/conftest.err) |
2538 | ac_status=$? |
2539 | cat out/conftest.err >&5 |
2540 | - echo "$as_me:9164: \$? = $ac_status" >&5 |
2541 | + echo "$as_me:9166: \$? = $ac_status" >&5 |
2542 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
2543 | then |
2544 | # The compiler can only warn and ignore the option if not recognized |
2545 | @@ -9212,11 +9214,11 @@ |
2546 | -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \ |
2547 | -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \ |
2548 | -e 's:$: $lt_compiler_flag:'` |
2549 | - (eval echo "\"\$as_me:9215: $lt_compile\"" >&5) |
2550 | + (eval echo "\"\$as_me:9217: $lt_compile\"" >&5) |
2551 | (eval "$lt_compile" 2>out/conftest.err) |
2552 | ac_status=$? |
2553 | cat out/conftest.err >&5 |
2554 | - echo "$as_me:9219: \$? = $ac_status" >&5 |
2555 | + echo "$as_me:9221: \$? = $ac_status" >&5 |
2556 | if (exit $ac_status) && test -s out/conftest2.$ac_objext |
2557 | then |
2558 | # The compiler can only warn and ignore the option if not recognized |
2559 | @@ -11596,7 +11598,7 @@ |
2560 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
2561 | lt_status=$lt_dlunknown |
2562 | cat > conftest.$ac_ext <<_LT_EOF |
2563 | -#line 11599 "configure" |
2564 | +#line 11601 "configure" |
2565 | #include "confdefs.h" |
2566 | |
2567 | #if HAVE_DLFCN_H |
2568 | @@ -11692,7 +11694,7 @@ |
2569 | lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2 |
2570 | lt_status=$lt_dlunknown |
2571 | cat > conftest.$ac_ext <<_LT_EOF |
2572 | -#line 11695 "configure" |
2573 | +#line 11697 "configure" |
2574 | #include "confdefs.h" |
2575 | |
2576 | #if HAVE_DLFCN_H |
2577 | @@ -11936,6 +11938,18 @@ |
2578 | AM_BACKSLASH='\' |
2579 | |
2580 | |
2581 | +# Check whether --enable-deprecations was given. |
2582 | +if test "${enable_deprecations+set}" = set; then : |
2583 | + enableval=$enable_deprecations; |
2584 | +else |
2585 | + enable_deprecations=yes |
2586 | +fi |
2587 | + |
2588 | +if test "x$enable_deprecations" = xno; then : |
2589 | + CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES" |
2590 | + |
2591 | +fi |
2592 | + |
2593 | ########################### |
2594 | # Dependencies |
2595 | ########################### |
2596 | @@ -11943,9 +11957,9 @@ |
2597 | GTK_REQUIRED_VERSION=2.12 |
2598 | GIO_UNIX_REQUIRED_VERSION=2.18 |
2599 | PANEL_REQUIRED_VERSION=2.0.0 |
2600 | -INDICATE_REQUIRED_VERSION=0.3.0 |
2601 | +INDICATE_REQUIRED_VERSION=0.4.90 |
2602 | INDICATOR_REQUIRED_VERSION=0.3.5 |
2603 | -DBUSMENUGTK_REQUIRED_VERSION=0.2.8 |
2604 | +DBUSMENUGTK_REQUIRED_VERSION=0.3.90 |
2605 | |
2606 | |
2607 | |
2608 | @@ -12078,21 +12092,21 @@ |
2609 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION |
2610 | gio-unix-2.0 >= \$GIO_UNIX_REQUIRED_VERSION |
2611 | indicator >= \$INDICATOR_REQUIRED_VERSION |
2612 | - indicate >= \$INDICATE_REQUIRED_VERSION |
2613 | - dbusmenu-gtk >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5 |
2614 | + indicate-0.5 >= \$INDICATE_REQUIRED_VERSION |
2615 | + dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5 |
2616 | ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION |
2617 | gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION |
2618 | indicator >= $INDICATOR_REQUIRED_VERSION |
2619 | - indicate >= $INDICATE_REQUIRED_VERSION |
2620 | - dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5 |
2621 | + indicate-0.5 >= $INDICATE_REQUIRED_VERSION |
2622 | + dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5 |
2623 | ac_status=$? |
2624 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2625 | test $ac_status = 0; }; then |
2626 | pkg_cv_APPLET_CFLAGS=`$PKG_CONFIG --cflags "gtk+-2.0 >= $GTK_REQUIRED_VERSION |
2627 | gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION |
2628 | indicator >= $INDICATOR_REQUIRED_VERSION |
2629 | - indicate >= $INDICATE_REQUIRED_VERSION |
2630 | - dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null` |
2631 | + indicate-0.5 >= $INDICATE_REQUIRED_VERSION |
2632 | + dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null` |
2633 | else |
2634 | pkg_failed=yes |
2635 | fi |
2636 | @@ -12106,21 +12120,21 @@ |
2637 | { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gtk+-2.0 >= \$GTK_REQUIRED_VERSION |
2638 | gio-unix-2.0 >= \$GIO_UNIX_REQUIRED_VERSION |
2639 | indicator >= \$INDICATOR_REQUIRED_VERSION |
2640 | - indicate >= \$INDICATE_REQUIRED_VERSION |
2641 | - dbusmenu-gtk >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5 |
2642 | + indicate-0.5 >= \$INDICATE_REQUIRED_VERSION |
2643 | + dbusmenu-gtk-0.4 >= \$DBUSMENUGTK_REQUIRED_VERSION\""; } >&5 |
2644 | ($PKG_CONFIG --exists --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION |
2645 | gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION |
2646 | indicator >= $INDICATOR_REQUIRED_VERSION |
2647 | - indicate >= $INDICATE_REQUIRED_VERSION |
2648 | - dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5 |
2649 | + indicate-0.5 >= $INDICATE_REQUIRED_VERSION |
2650 | + dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION") 2>&5 |
2651 | ac_status=$? |
2652 | $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5 |
2653 | test $ac_status = 0; }; then |
2654 | pkg_cv_APPLET_LIBS=`$PKG_CONFIG --libs "gtk+-2.0 >= $GTK_REQUIRED_VERSION |
2655 | gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION |
2656 | indicator >= $INDICATOR_REQUIRED_VERSION |
2657 | - indicate >= $INDICATE_REQUIRED_VERSION |
2658 | - dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null` |
2659 | + indicate-0.5 >= $INDICATE_REQUIRED_VERSION |
2660 | + dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>/dev/null` |
2661 | else |
2662 | pkg_failed=yes |
2663 | fi |
2664 | @@ -12143,14 +12157,14 @@ |
2665 | APPLET_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION |
2666 | gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION |
2667 | indicator >= $INDICATOR_REQUIRED_VERSION |
2668 | - indicate >= $INDICATE_REQUIRED_VERSION |
2669 | - dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1` |
2670 | + indicate-0.5 >= $INDICATE_REQUIRED_VERSION |
2671 | + dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1` |
2672 | else |
2673 | APPLET_PKG_ERRORS=`$PKG_CONFIG --print-errors "gtk+-2.0 >= $GTK_REQUIRED_VERSION |
2674 | gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION |
2675 | indicator >= $INDICATOR_REQUIRED_VERSION |
2676 | - indicate >= $INDICATE_REQUIRED_VERSION |
2677 | - dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1` |
2678 | + indicate-0.5 >= $INDICATE_REQUIRED_VERSION |
2679 | + dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION" 2>&1` |
2680 | fi |
2681 | # Put the nasty error message in config.log where it belongs |
2682 | echo "$APPLET_PKG_ERRORS" >&5 |
2683 | @@ -12158,8 +12172,8 @@ |
2684 | as_fn_error $? "Package requirements (gtk+-2.0 >= $GTK_REQUIRED_VERSION |
2685 | gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION |
2686 | indicator >= $INDICATOR_REQUIRED_VERSION |
2687 | - indicate >= $INDICATE_REQUIRED_VERSION |
2688 | - dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION) were not met: |
2689 | + indicate-0.5 >= $INDICATE_REQUIRED_VERSION |
2690 | + dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION) were not met: |
2691 | |
2692 | $APPLET_PKG_ERRORS |
2693 | |
2694 | |
2695 | === modified file 'configure.ac' |
2696 | --- configure.ac 2010-09-09 18:10:37 +0000 |
2697 | +++ configure.ac 2011-01-14 20:29:34 +0000 |
2698 | @@ -4,7 +4,7 @@ |
2699 | AC_PREREQ(2.53) |
2700 | |
2701 | AM_CONFIG_HEADER(config.h) |
2702 | -AM_INIT_AUTOMAKE(indicator-messages, 0.3.11) |
2703 | +AM_INIT_AUTOMAKE(indicator-messages, 0.3.90) |
2704 | |
2705 | AM_MAINTAINER_MODE |
2706 | |
2707 | @@ -22,6 +22,15 @@ |
2708 | |
2709 | m4_ifdef([AM_SILENT_RULES],[AM_SILENT_RULES([yes])]) |
2710 | |
2711 | +AC_ARG_ENABLE([deprecations], |
2712 | + [AS_HELP_STRING([--enable-deprecations], |
2713 | + [allow deprecated API usage @<:@default=yes@:>@])], |
2714 | + [], |
2715 | + [enable_deprecations=yes]) |
2716 | +AS_IF([test "x$enable_deprecations" = xno], |
2717 | + [CFLAGS="$CFLAGS -DG_DISABLE_DEPRECATED -DGDK_DISABLE_DEPRECATED -DGDK_PIXBUF_DISABLE_DEPRECATED -DGTK_DISABLE_DEPRECATED -DGSEAL_ENABLE -DGTK_DISABLE_SINGLE_INCLUDES"] |
2718 | +) |
2719 | + |
2720 | ########################### |
2721 | # Dependencies |
2722 | ########################### |
2723 | @@ -29,15 +38,15 @@ |
2724 | GTK_REQUIRED_VERSION=2.12 |
2725 | GIO_UNIX_REQUIRED_VERSION=2.18 |
2726 | PANEL_REQUIRED_VERSION=2.0.0 |
2727 | -INDICATE_REQUIRED_VERSION=0.3.0 |
2728 | +INDICATE_REQUIRED_VERSION=0.4.90 |
2729 | INDICATOR_REQUIRED_VERSION=0.3.5 |
2730 | -DBUSMENUGTK_REQUIRED_VERSION=0.2.8 |
2731 | +DBUSMENUGTK_REQUIRED_VERSION=0.3.90 |
2732 | |
2733 | PKG_CHECK_MODULES(APPLET, gtk+-2.0 >= $GTK_REQUIRED_VERSION |
2734 | gio-unix-2.0 >= $GIO_UNIX_REQUIRED_VERSION |
2735 | indicator >= $INDICATOR_REQUIRED_VERSION |
2736 | - indicate >= $INDICATE_REQUIRED_VERSION |
2737 | - dbusmenu-gtk >= $DBUSMENUGTK_REQUIRED_VERSION) |
2738 | + indicate-0.5 >= $INDICATE_REQUIRED_VERSION |
2739 | + dbusmenu-gtk-0.4 >= $DBUSMENUGTK_REQUIRED_VERSION) |
2740 | AC_SUBST(APPLET_CFLAGS) |
2741 | AC_SUBST(APPLET_LIBS) |
2742 | |
2743 | |
2744 | === modified file 'debian/changelog' |
2745 | --- debian/changelog 2010-12-09 18:08:54 +0000 |
2746 | +++ debian/changelog 2011-01-14 20:29:34 +0000 |
2747 | @@ -1,3 +1,4 @@ |
2748 | +<<<<<<< TREE |
2749 | indicator-messages (0.3.11-0ubuntu4) natty; urgency=low |
2750 | |
2751 | * debian/control |
2752 | @@ -11,6 +12,16 @@ |
2753 | |
2754 | -- Greg Auger <gregory.auger@googlemail.com> Tue, 09 Nov 2010 18:49:38 +0000 |
2755 | |
2756 | +======= |
2757 | +indicator-messages (0.3.90-0ubuntu1~ppa1) natty; urgency=low |
2758 | + |
2759 | + * New upstream release. |
2760 | + * GDBus Port |
2761 | + * New libindicate and dbusmenu |
2762 | + |
2763 | + -- Ted Gould <ted@ubuntu.com> Fri, 14 Jan 2011 14:25:15 -0600 |
2764 | + |
2765 | +>>>>>>> MERGE-SOURCE |
2766 | indicator-messages (0.3.11-0ubuntu2) maverick; urgency=low |
2767 | |
2768 | * Rebuild for libindicator ABI change (LP: #637692) |
2769 | |
2770 | === modified file 'src/Makefile.am' |
2771 | --- src/Makefile.am 2010-03-25 01:26:43 +0000 |
2772 | +++ src/Makefile.am 2011-01-14 20:29:34 +0000 |
2773 | @@ -9,7 +9,8 @@ |
2774 | messaginglib_LTLIBRARIES = libmessaging.la |
2775 | libmessaging_la_SOURCES = \ |
2776 | indicator-messages.c \ |
2777 | - messages-service-client.h \ |
2778 | + gen-messages-service.xml.h \ |
2779 | + gen-messages-service.xml.c \ |
2780 | dbus-data.h |
2781 | libmessaging_la_CFLAGS = $(APPLET_CFLAGS) -Wall -Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-needed -Werror |
2782 | libmessaging_la_LIBADD = $(APPLET_LIBS) |
2783 | @@ -23,9 +24,10 @@ |
2784 | default-applications.h \ |
2785 | default-applications.c \ |
2786 | messages-service.c \ |
2787 | - messages-service-server.h \ |
2788 | messages-service-dbus.c \ |
2789 | messages-service-dbus.h \ |
2790 | + gen-messages-service.xml.h \ |
2791 | + gen-messages-service.xml.c \ |
2792 | im-menu-item.c \ |
2793 | im-menu-item.h \ |
2794 | app-menu-item.c \ |
2795 | @@ -39,23 +41,19 @@ |
2796 | indicator_messages_service_CFLAGS = $(APPLET_CFLAGS) -Wall -Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-needed -Werror |
2797 | indicator_messages_service_LDADD = $(APPLET_LIBS) |
2798 | |
2799 | -messages-service-client.h: $(srcdir)/messages-service.xml |
2800 | - dbus-binding-tool \ |
2801 | - --prefix=_messages_service_client \ |
2802 | - --mode=glib-client \ |
2803 | - --output=messages-service-client.h \ |
2804 | - $(srcdir)/messages-service.xml |
2805 | +gen-%.xml.h: %.xml |
2806 | + @echo "Building $@ from $<" |
2807 | + @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<))));" > $@ |
2808 | |
2809 | -messages-service-server.h: $(srcdir)/messages-service.xml |
2810 | - dbus-binding-tool \ |
2811 | - --prefix=_messages_service_server \ |
2812 | - --mode=glib-server \ |
2813 | - --output=messages-service-server.h \ |
2814 | - $(srcdir)/messages-service.xml |
2815 | +gen-%.xml.c: %.xml |
2816 | + @echo "Building $@ from $<" |
2817 | + echo "const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<)))) = " > $@ |
2818 | + @sed -e "s:\":\\\\\":g" -e s:^:\": -e s:\$$:\\\\n\": $< >> $@ |
2819 | + @echo ";" >> $@ |
2820 | |
2821 | BUILT_SOURCES = \ |
2822 | - messages-service-client.h \ |
2823 | - messages-service-server.h |
2824 | + gen-messages-service.xml.h \ |
2825 | + gen-messages-service.xml.c |
2826 | |
2827 | CLEANFILES = \ |
2828 | $(BUILT_SOURCES) |
2829 | |
2830 | === modified file 'src/Makefile.in' |
2831 | --- src/Makefile.in 2010-08-12 18:08:18 +0000 |
2832 | +++ src/Makefile.in 2011-01-14 20:29:34 +0000 |
2833 | @@ -72,7 +72,8 @@ |
2834 | LTLIBRARIES = $(messaginglib_LTLIBRARIES) |
2835 | am__DEPENDENCIES_1 = |
2836 | libmessaging_la_DEPENDENCIES = $(am__DEPENDENCIES_1) |
2837 | -am_libmessaging_la_OBJECTS = libmessaging_la-indicator-messages.lo |
2838 | +am_libmessaging_la_OBJECTS = libmessaging_la-indicator-messages.lo \ |
2839 | + libmessaging_la-gen-messages-service.xml.lo |
2840 | libmessaging_la_OBJECTS = $(am_libmessaging_la_OBJECTS) |
2841 | AM_V_lt = $(am__v_lt_$(V)) |
2842 | am__v_lt_ = $(am__v_lt_$(AM_DEFAULT_VERBOSITY)) |
2843 | @@ -86,6 +87,7 @@ |
2844 | indicator_messages_service-default-applications.$(OBJEXT) \ |
2845 | indicator_messages_service-messages-service.$(OBJEXT) \ |
2846 | indicator_messages_service-messages-service-dbus.$(OBJEXT) \ |
2847 | + indicator_messages_service-gen-messages-service.xml.$(OBJEXT) \ |
2848 | indicator_messages_service-im-menu-item.$(OBJEXT) \ |
2849 | indicator_messages_service-app-menu-item.$(OBJEXT) \ |
2850 | indicator_messages_service-launcher-menu-item.$(OBJEXT) \ |
2851 | @@ -283,7 +285,8 @@ |
2852 | messaginglib_LTLIBRARIES = libmessaging.la |
2853 | libmessaging_la_SOURCES = \ |
2854 | indicator-messages.c \ |
2855 | - messages-service-client.h \ |
2856 | + gen-messages-service.xml.h \ |
2857 | + gen-messages-service.xml.c \ |
2858 | dbus-data.h |
2859 | |
2860 | libmessaging_la_CFLAGS = $(APPLET_CFLAGS) -Wall -Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-needed -Werror |
2861 | @@ -297,9 +300,10 @@ |
2862 | default-applications.h \ |
2863 | default-applications.c \ |
2864 | messages-service.c \ |
2865 | - messages-service-server.h \ |
2866 | messages-service-dbus.c \ |
2867 | messages-service-dbus.h \ |
2868 | + gen-messages-service.xml.h \ |
2869 | + gen-messages-service.xml.c \ |
2870 | im-menu-item.c \ |
2871 | im-menu-item.h \ |
2872 | app-menu-item.c \ |
2873 | @@ -314,8 +318,8 @@ |
2874 | indicator_messages_service_CFLAGS = $(APPLET_CFLAGS) -Wall -Wl,-Bsymbolic-functions -Wl,-z,defs -Wl,--as-needed -Werror |
2875 | indicator_messages_service_LDADD = $(APPLET_LIBS) |
2876 | BUILT_SOURCES = \ |
2877 | - messages-service-client.h \ |
2878 | - messages-service-server.h |
2879 | + gen-messages-service.xml.h \ |
2880 | + gen-messages-service.xml.c |
2881 | |
2882 | CLEANFILES = \ |
2883 | $(BUILT_SOURCES) |
2884 | @@ -446,11 +450,13 @@ |
2885 | |
2886 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/indicator_messages_service-app-menu-item.Po@am__quote@ |
2887 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/indicator_messages_service-default-applications.Po@am__quote@ |
2888 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/indicator_messages_service-gen-messages-service.xml.Po@am__quote@ |
2889 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/indicator_messages_service-im-menu-item.Po@am__quote@ |
2890 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/indicator_messages_service-launcher-menu-item.Po@am__quote@ |
2891 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/indicator_messages_service-messages-service-dbus.Po@am__quote@ |
2892 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/indicator_messages_service-messages-service.Po@am__quote@ |
2893 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/indicator_messages_service-seen-db.Po@am__quote@ |
2894 | +@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessaging_la-gen-messages-service.xml.Plo@am__quote@ |
2895 | @AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/libmessaging_la-indicator-messages.Plo@am__quote@ |
2896 | |
2897 | .c.o: |
2898 | @@ -485,6 +491,14 @@ |
2899 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2900 | @am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmessaging_la_CFLAGS) $(CFLAGS) -c -o libmessaging_la-indicator-messages.lo `test -f 'indicator-messages.c' || echo '$(srcdir)/'`indicator-messages.c |
2901 | |
2902 | +libmessaging_la-gen-messages-service.xml.lo: gen-messages-service.xml.c |
2903 | +@am__fastdepCC_TRUE@ $(AM_V_CC)$(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmessaging_la_CFLAGS) $(CFLAGS) -MT libmessaging_la-gen-messages-service.xml.lo -MD -MP -MF $(DEPDIR)/libmessaging_la-gen-messages-service.xml.Tpo -c -o libmessaging_la-gen-messages-service.xml.lo `test -f 'gen-messages-service.xml.c' || echo '$(srcdir)/'`gen-messages-service.xml.c |
2904 | +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/libmessaging_la-gen-messages-service.xml.Tpo $(DEPDIR)/libmessaging_la-gen-messages-service.xml.Plo |
2905 | +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ |
2906 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gen-messages-service.xml.c' object='libmessaging_la-gen-messages-service.xml.lo' libtool=yes @AMDEPBACKSLASH@ |
2907 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2908 | +@am__fastdepCC_FALSE@ $(LIBTOOL) $(AM_V_lt) --tag=CC $(AM_LIBTOOLFLAGS) $(LIBTOOLFLAGS) --mode=compile $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(libmessaging_la_CFLAGS) $(CFLAGS) -c -o libmessaging_la-gen-messages-service.xml.lo `test -f 'gen-messages-service.xml.c' || echo '$(srcdir)/'`gen-messages-service.xml.c |
2909 | + |
2910 | indicator_messages_service-default-applications.o: default-applications.c |
2911 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_messages_service_CFLAGS) $(CFLAGS) -MT indicator_messages_service-default-applications.o -MD -MP -MF $(DEPDIR)/indicator_messages_service-default-applications.Tpo -c -o indicator_messages_service-default-applications.o `test -f 'default-applications.c' || echo '$(srcdir)/'`default-applications.c |
2912 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/indicator_messages_service-default-applications.Tpo $(DEPDIR)/indicator_messages_service-default-applications.Po |
2913 | @@ -533,6 +547,22 @@ |
2914 | @AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2915 | @am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_messages_service_CFLAGS) $(CFLAGS) -c -o indicator_messages_service-messages-service-dbus.obj `if test -f 'messages-service-dbus.c'; then $(CYGPATH_W) 'messages-service-dbus.c'; else $(CYGPATH_W) '$(srcdir)/messages-service-dbus.c'; fi` |
2916 | |
2917 | +indicator_messages_service-gen-messages-service.xml.o: gen-messages-service.xml.c |
2918 | +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_messages_service_CFLAGS) $(CFLAGS) -MT indicator_messages_service-gen-messages-service.xml.o -MD -MP -MF $(DEPDIR)/indicator_messages_service-gen-messages-service.xml.Tpo -c -o indicator_messages_service-gen-messages-service.xml.o `test -f 'gen-messages-service.xml.c' || echo '$(srcdir)/'`gen-messages-service.xml.c |
2919 | +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/indicator_messages_service-gen-messages-service.xml.Tpo $(DEPDIR)/indicator_messages_service-gen-messages-service.xml.Po |
2920 | +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ |
2921 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gen-messages-service.xml.c' object='indicator_messages_service-gen-messages-service.xml.o' libtool=no @AMDEPBACKSLASH@ |
2922 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2923 | +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_messages_service_CFLAGS) $(CFLAGS) -c -o indicator_messages_service-gen-messages-service.xml.o `test -f 'gen-messages-service.xml.c' || echo '$(srcdir)/'`gen-messages-service.xml.c |
2924 | + |
2925 | +indicator_messages_service-gen-messages-service.xml.obj: gen-messages-service.xml.c |
2926 | +@am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_messages_service_CFLAGS) $(CFLAGS) -MT indicator_messages_service-gen-messages-service.xml.obj -MD -MP -MF $(DEPDIR)/indicator_messages_service-gen-messages-service.xml.Tpo -c -o indicator_messages_service-gen-messages-service.xml.obj `if test -f 'gen-messages-service.xml.c'; then $(CYGPATH_W) 'gen-messages-service.xml.c'; else $(CYGPATH_W) '$(srcdir)/gen-messages-service.xml.c'; fi` |
2927 | +@am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/indicator_messages_service-gen-messages-service.xml.Tpo $(DEPDIR)/indicator_messages_service-gen-messages-service.xml.Po |
2928 | +@am__fastdepCC_FALSE@ $(AM_V_CC) @AM_BACKSLASH@ |
2929 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='gen-messages-service.xml.c' object='indicator_messages_service-gen-messages-service.xml.obj' libtool=no @AMDEPBACKSLASH@ |
2930 | +@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@ |
2931 | +@am__fastdepCC_FALSE@ $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_messages_service_CFLAGS) $(CFLAGS) -c -o indicator_messages_service-gen-messages-service.xml.obj `if test -f 'gen-messages-service.xml.c'; then $(CYGPATH_W) 'gen-messages-service.xml.c'; else $(CYGPATH_W) '$(srcdir)/gen-messages-service.xml.c'; fi` |
2932 | + |
2933 | indicator_messages_service-im-menu-item.o: im-menu-item.c |
2934 | @am__fastdepCC_TRUE@ $(AM_V_CC)$(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(indicator_messages_service_CFLAGS) $(CFLAGS) -MT indicator_messages_service-im-menu-item.o -MD -MP -MF $(DEPDIR)/indicator_messages_service-im-menu-item.Tpo -c -o indicator_messages_service-im-menu-item.o `test -f 'im-menu-item.c' || echo '$(srcdir)/'`im-menu-item.c |
2935 | @am__fastdepCC_TRUE@ $(AM_V_at)$(am__mv) $(DEPDIR)/indicator_messages_service-im-menu-item.Tpo $(DEPDIR)/indicator_messages_service-im-menu-item.Po |
2936 | @@ -813,19 +843,15 @@ |
2937 | uninstall-messaginglibLTLIBRARIES |
2938 | |
2939 | |
2940 | -messages-service-client.h: $(srcdir)/messages-service.xml |
2941 | - dbus-binding-tool \ |
2942 | - --prefix=_messages_service_client \ |
2943 | - --mode=glib-client \ |
2944 | - --output=messages-service-client.h \ |
2945 | - $(srcdir)/messages-service.xml |
2946 | +gen-%.xml.h: %.xml |
2947 | + @echo "Building $@ from $<" |
2948 | + @echo "extern const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<))));" > $@ |
2949 | |
2950 | -messages-service-server.h: $(srcdir)/messages-service.xml |
2951 | - dbus-binding-tool \ |
2952 | - --prefix=_messages_service_server \ |
2953 | - --mode=glib-server \ |
2954 | - --output=messages-service-server.h \ |
2955 | - $(srcdir)/messages-service.xml |
2956 | +gen-%.xml.c: %.xml |
2957 | + @echo "Building $@ from $<" |
2958 | + echo "const char * _$(subst -,_,$(subst .,_,$(basename $(notdir $<)))) = " > $@ |
2959 | + @sed -e "s:\":\\\\\":g" -e s:^:\": -e s:\$$:\\\\n\": $< >> $@ |
2960 | + @echo ";" >> $@ |
2961 | |
2962 | # Tell versions [3.59,3.63) of GNU make to not export all variables. |
2963 | # Otherwise a system limit (for SysV at least) may be exceeded. |
2964 | |
2965 | === modified file 'src/app-menu-item.c' |
2966 | --- src/app-menu-item.c 2010-08-26 19:31:18 +0000 |
2967 | +++ src/app-menu-item.c 2011-01-14 20:29:34 +0000 |
2968 | @@ -70,8 +70,8 @@ |
2969 | static void activate_cb (AppMenuItem * self, guint timestamp, gpointer data); |
2970 | static void count_changed (IndicateListener * listener, IndicateListenerServer * server, guint count, gpointer data); |
2971 | static void count_cb (IndicateListener * listener, IndicateListenerServer * server, guint value, gpointer data); |
2972 | -static void menu_cb (IndicateListener * listener, IndicateListenerServer * server, gchar * menupath, gpointer data); |
2973 | -static void desktop_cb (IndicateListener * listener, IndicateListenerServer * server, gchar * value, gpointer data); |
2974 | +static void menu_cb (IndicateListener * listener, IndicateListenerServer * server, const gchar * menupath, gpointer data); |
2975 | +static void desktop_cb (IndicateListener * listener, IndicateListenerServer * server, const gchar * value, gpointer data); |
2976 | static void update_label (AppMenuItem * self); |
2977 | |
2978 | /* GObject Boilerplate */ |
2979 | @@ -300,7 +300,7 @@ |
2980 | app structure and start sucking data out of it. |
2981 | Mostly the name. */ |
2982 | static void |
2983 | -desktop_cb (IndicateListener * listener, IndicateListenerServer * server, gchar * value, gpointer data) |
2984 | +desktop_cb (IndicateListener * listener, IndicateListenerServer * server, const gchar * value, gpointer data) |
2985 | { |
2986 | g_return_if_fail(IS_APP_MENU_ITEM(data)); |
2987 | AppMenuItem * self = APP_MENU_ITEM(data); |
2988 | @@ -469,7 +469,7 @@ |
2989 | /* Gets the path to menuitems if there are some. Now we need to |
2990 | make them special. */ |
2991 | static void |
2992 | -menu_cb (IndicateListener * listener, IndicateListenerServer * server, gchar * menupath, gpointer data) |
2993 | +menu_cb (IndicateListener * listener, IndicateListenerServer * server, const gchar * menupath, gpointer data) |
2994 | { |
2995 | g_debug("Got Menu: %s", menupath); |
2996 | g_return_if_fail(IS_APP_MENU_ITEM(data)); |
2997 | |
2998 | === modified file 'src/dbus-data.h' |
2999 | --- src/dbus-data.h 2010-08-26 19:31:18 +0000 |
3000 | +++ src/dbus-data.h 2011-01-14 20:29:34 +0000 |
3001 | @@ -2,11 +2,11 @@ |
3002 | #ifndef __DBUS_DATA_H__ |
3003 | #define __DBUS_DATA_H__ 1 |
3004 | |
3005 | -#define INDICATOR_MESSAGES_DBUS_NAME "org.ayatana.indicator.messages" |
3006 | -#define INDICATOR_MESSAGES_DBUS_OBJECT "/org/ayatana/indicator/messages/menu" |
3007 | +#define INDICATOR_MESSAGES_DBUS_NAME "com.canonical.indicator.messages" |
3008 | +#define INDICATOR_MESSAGES_DBUS_OBJECT "/com/canonical/indicator/messages/menu" |
3009 | |
3010 | -#define INDICATOR_MESSAGES_DBUS_SERVICE_OBJECT "/org/ayatana/indicator/messages/service" |
3011 | -#define INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE "org.ayatana.indicator.messages.service" |
3012 | +#define INDICATOR_MESSAGES_DBUS_SERVICE_OBJECT "/com/canonical/indicator/messages/service" |
3013 | +#define INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE "com.canonical.indicator.messages.service" |
3014 | |
3015 | #define APPLICATION_MENUITEM_TYPE "application-item" |
3016 | #define APPLICATION_MENUITEM_PROP_NAME "label" |
3017 | |
3018 | === added file 'src/gen-messages-service.xml.c' |
3019 | --- src/gen-messages-service.xml.c 1970-01-01 00:00:00 +0000 |
3020 | +++ src/gen-messages-service.xml.c 2011-01-14 20:29:34 +0000 |
3021 | @@ -0,0 +1,27 @@ |
3022 | +const char * _messages_service = |
3023 | +"<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" |
3024 | +"<node name=\"/\">\n" |
3025 | +" <interface name=\"com.canonical.indicator.messages.service\">\n" |
3026 | +"\n" |
3027 | +"<!-- Methods -->\n" |
3028 | +" <method name=\"Watch\">\n" |
3029 | +" <annotation name=\"org.freedesktop.DBus.GLib.Async\" value=\"true\" />\n" |
3030 | +" </method>\n" |
3031 | +" <method name=\"AttentionRequested\">\n" |
3032 | +" <arg type=\"b\" name=\"dot\" direction=\"out\" />\n" |
3033 | +" </method>\n" |
3034 | +" <method name=\"IconShown\">\n" |
3035 | +" <arg type=\"b\" name=\"hidden\" direction=\"out\" />\n" |
3036 | +" </method>\n" |
3037 | +"\n" |
3038 | +"<!-- Signals -->\n" |
3039 | +" <signal name=\"AttentionChanged\">\n" |
3040 | +" <arg type=\"b\" name=\"dot\" direction=\"out\" />\n" |
3041 | +" </signal>\n" |
3042 | +" <signal name=\"IconChanged\">\n" |
3043 | +" <arg type=\"b\" name=\"hidden\" direction=\"out\" />\n" |
3044 | +" </signal>\n" |
3045 | +"\n" |
3046 | +" </interface>\n" |
3047 | +"</node>\n" |
3048 | +; |
3049 | |
3050 | === added file 'src/gen-messages-service.xml.h' |
3051 | --- src/gen-messages-service.xml.h 1970-01-01 00:00:00 +0000 |
3052 | +++ src/gen-messages-service.xml.h 2011-01-14 20:29:34 +0000 |
3053 | @@ -0,0 +1,1 @@ |
3054 | +extern const char * _messages_service; |
3055 | |
3056 | === modified file 'src/im-menu-item.c' |
3057 | --- src/im-menu-item.c 2010-08-12 14:25:35 +0000 |
3058 | +++ src/im-menu-item.c 2011-01-14 20:29:34 +0000 |
3059 | @@ -358,7 +358,7 @@ |
3060 | this indicator should be calling for attention or not. If we are, |
3061 | we need to signal that. */ |
3062 | static void |
3063 | -attention_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, const GValue * propertydata, gpointer data) |
3064 | +attention_cb (IndicateListener * listener, IndicateListenerServer * server, IndicateListenerIndicator * indicator, gchar * property, GVariant * propertydata, gpointer data) |
3065 | { |
3066 | g_debug("Got Attention Information"); |
3067 | ImMenuItem * self = IM_MENU_ITEM(data); |
3068 | @@ -373,10 +373,10 @@ |
3069 | ImMenuItemPrivate * priv = IM_MENU_ITEM_GET_PRIVATE(self); |
3070 | |
3071 | gboolean wantit; |
3072 | - if (G_VALUE_HOLDS_BOOLEAN(propertydata)) { |
3073 | - wantit = g_value_get_boolean(propertydata); |
3074 | - } else if (G_VALUE_HOLDS_STRING(propertydata)) { |
3075 | - const gchar * propstring = g_value_get_string(propertydata); |
3076 | + if (g_variant_is_of_type(propertydata, G_VARIANT_TYPE_BOOLEAN)) { |
3077 | + wantit = g_variant_get_boolean(propertydata); |
3078 | + } else if (g_variant_is_of_type(propertydata, G_VARIANT_TYPE_STRING)) { |
3079 | + const gchar * propstring = g_variant_get_string(propertydata, NULL); |
3080 | |
3081 | if (propstring == NULL || propstring[0] == '\0' || !g_strcmp0(propstring, "false")) { |
3082 | wantit = FALSE; |
3083 | @@ -427,7 +427,7 @@ |
3084 | } else if (!g_strcmp0(property, INDICATE_INDICATOR_MESSAGES_PROP_COUNT)) { |
3085 | indicate_listener_get_property(listener, server, indicator, INDICATE_INDICATOR_MESSAGES_PROP_COUNT, count_cb, self); |
3086 | } else if (!g_strcmp0(property, INDICATE_INDICATOR_MESSAGES_PROP_ATTENTION)) { |
3087 | - indicate_listener_get_property_value(listener, server, indicator, INDICATE_INDICATOR_MESSAGES_PROP_ATTENTION, attention_cb, self); |
3088 | + indicate_listener_get_property_variant(listener, server, indicator, INDICATE_INDICATOR_MESSAGES_PROP_ATTENTION, attention_cb, self); |
3089 | } else if (!g_strcmp0(property, "sender")) { |
3090 | /* This is a compatibility string with v1 and should be removed */ |
3091 | g_debug("Indicator is using 'sender' property which is a v1 string."); |
3092 | @@ -460,7 +460,7 @@ |
3093 | indicate_listener_get_property_time(listener, server, indicator, INDICATE_INDICATOR_MESSAGES_PROP_TIME, time_cb, self); |
3094 | indicate_listener_get_property(listener, server, indicator, INDICATE_INDICATOR_MESSAGES_PROP_ICON, icon_cb, self); |
3095 | indicate_listener_get_property(listener, server, indicator, INDICATE_INDICATOR_MESSAGES_PROP_COUNT, count_cb, self); |
3096 | - indicate_listener_get_property_value(listener, server, indicator, INDICATE_INDICATOR_MESSAGES_PROP_ATTENTION, attention_cb, self); |
3097 | + indicate_listener_get_property_variant(listener, server, indicator, INDICATE_INDICATOR_MESSAGES_PROP_ATTENTION, attention_cb, self); |
3098 | indicate_listener_get_property(listener, server, indicator, "sender", sender_cb, self); |
3099 | |
3100 | g_signal_connect(G_OBJECT(self), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK(activate_cb), NULL); |
3101 | |
3102 | === modified file 'src/indicator-messages.c' |
3103 | --- src/indicator-messages.c 2010-09-03 18:13:16 +0000 |
3104 | +++ src/indicator-messages.c 2011-01-14 20:29:34 +0000 |
3105 | @@ -26,8 +26,6 @@ |
3106 | #include <gtk/gtk.h> |
3107 | #include <libdbusmenu-gtk/menu.h> |
3108 | #include <libdbusmenu-gtk/menuitem.h> |
3109 | -#include <dbus/dbus-glib.h> |
3110 | -#include <dbus/dbus-glib-bindings.h> |
3111 | |
3112 | #include <libindicator/indicator.h> |
3113 | #include <libindicator/indicator-object.h> |
3114 | @@ -35,7 +33,7 @@ |
3115 | #include <libindicator/indicator-service-manager.h> |
3116 | |
3117 | #include "dbus-data.h" |
3118 | -#include "messages-service-client.h" |
3119 | +#include "gen-messages-service.xml.h" |
3120 | |
3121 | #define INDICATOR_MESSAGES_TYPE (indicator_messages_get_type ()) |
3122 | #define INDICATOR_MESSAGES(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), INDICATOR_MESSAGES_TYPE, IndicatorMessages)) |
3123 | @@ -69,8 +67,10 @@ |
3124 | |
3125 | /* Globals */ |
3126 | static GtkWidget * main_image = NULL; |
3127 | -static DBusGProxy * icon_proxy = NULL; |
3128 | +static GDBusProxy * icon_proxy = NULL; |
3129 | static GtkSizeGroup * indicator_right_group = NULL; |
3130 | +static GDBusNodeInfo * bus_node_info = NULL; |
3131 | +static GDBusInterfaceInfo * bus_interface_info = NULL; |
3132 | |
3133 | /* Prototypes */ |
3134 | static void indicator_messages_class_init (IndicatorMessagesClass *klass); |
3135 | @@ -99,6 +99,24 @@ |
3136 | io_class->get_image = get_icon; |
3137 | io_class->get_menu = get_menu; |
3138 | |
3139 | + if (bus_node_info == NULL) { |
3140 | + GError * error = NULL; |
3141 | + |
3142 | + bus_node_info = g_dbus_node_info_new_for_xml(_messages_service, &error); |
3143 | + if (error != NULL) { |
3144 | + g_error("Unable to parse Messaging Menu Interface description: %s", error->message); |
3145 | + g_error_free(error); |
3146 | + } |
3147 | + } |
3148 | + |
3149 | + if (bus_interface_info == NULL) { |
3150 | + bus_interface_info = g_dbus_node_info_lookup_interface(bus_node_info, INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE); |
3151 | + |
3152 | + if (bus_interface_info == NULL) { |
3153 | + g_error("Unable to find interface '" INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE "'"); |
3154 | + } |
3155 | + } |
3156 | + |
3157 | return; |
3158 | } |
3159 | |
3160 | @@ -145,54 +163,77 @@ |
3161 | |
3162 | /* Functions */ |
3163 | |
3164 | -/* Called everytime the attention changes in the service. */ |
3165 | -static void |
3166 | -attention_changed_cb (DBusGProxy * proxy, gboolean dot, gpointer userdata) |
3167 | -{ |
3168 | - if (dot) { |
3169 | - indicator_image_helper_update(GTK_IMAGE(main_image), "indicator-messages-new"); |
3170 | - } else { |
3171 | - indicator_image_helper_update(GTK_IMAGE(main_image), "indicator-messages"); |
3172 | - } |
3173 | - return; |
3174 | -} |
3175 | - |
3176 | -/* Change the icon to whether it should be visible or not */ |
3177 | -static void |
3178 | -icon_changed_cb (DBusGProxy * proxy, gboolean hidden, gpointer userdata) |
3179 | -{ |
3180 | - if (hidden) { |
3181 | - gtk_widget_hide(main_image); |
3182 | - } else { |
3183 | - gtk_widget_show(main_image); |
3184 | - } |
3185 | +/* Signal off of the proxy */ |
3186 | +static void |
3187 | +proxy_signal (GDBusProxy * proxy, const gchar * sender, const gchar * signal, GVariant * params, gpointer user_data) |
3188 | +{ |
3189 | + gboolean prop = g_variant_get_boolean(g_variant_get_child_value(params, 0)); |
3190 | + |
3191 | + if (g_strcmp0("AttentionChanged", signal) == 0) { |
3192 | + if (prop) { |
3193 | + indicator_image_helper_update(GTK_IMAGE(main_image), "indicator-messages-new"); |
3194 | + } else { |
3195 | + indicator_image_helper_update(GTK_IMAGE(main_image), "indicator-messages"); |
3196 | + } |
3197 | + } else if (g_strcmp0("IconChanged", signal) == 0) { |
3198 | + if (prop) { |
3199 | + gtk_widget_hide(main_image); |
3200 | + } else { |
3201 | + gtk_widget_show(main_image); |
3202 | + } |
3203 | + } else { |
3204 | + g_warning("Unknown signal %s", signal); |
3205 | + } |
3206 | + |
3207 | return; |
3208 | } |
3209 | |
3210 | /* Callback from getting the attention status from the service. */ |
3211 | static void |
3212 | -attention_cb (DBusGProxy * proxy, gboolean dot, GError * error, gpointer userdata) |
3213 | +attention_cb (GObject * object, GAsyncResult * ares, gpointer user_data) |
3214 | { |
3215 | + GError * error = NULL; |
3216 | + GVariant * res = g_dbus_proxy_call_finish(G_DBUS_PROXY(object), ares, &error); |
3217 | + |
3218 | if (error != NULL) { |
3219 | g_warning("Unable to get attention status: %s", error->message); |
3220 | g_error_free(error); |
3221 | return; |
3222 | } |
3223 | |
3224 | - return attention_changed_cb(proxy, dot, userdata); |
3225 | + gboolean prop = g_variant_get_boolean(g_variant_get_child_value(res, 0)); |
3226 | + |
3227 | + if (prop) { |
3228 | + indicator_image_helper_update(GTK_IMAGE(main_image), "indicator-messages-new"); |
3229 | + } else { |
3230 | + indicator_image_helper_update(GTK_IMAGE(main_image), "indicator-messages"); |
3231 | + } |
3232 | + |
3233 | + return; |
3234 | } |
3235 | |
3236 | /* Change from getting the icon visibility from the service */ |
3237 | static void |
3238 | -icon_cb (DBusGProxy * proxy, gboolean hidden, GError * error, gpointer userdata) |
3239 | +icon_cb (GObject * object, GAsyncResult * ares, gpointer user_data) |
3240 | { |
3241 | + GError * error = NULL; |
3242 | + GVariant * res = g_dbus_proxy_call_finish(G_DBUS_PROXY(object), ares, &error); |
3243 | + |
3244 | if (error != NULL) { |
3245 | g_warning("Unable to get icon visibility: %s", error->message); |
3246 | g_error_free(error); |
3247 | return; |
3248 | } |
3249 | |
3250 | - return icon_changed_cb(proxy, hidden, userdata); |
3251 | + gboolean prop = g_variant_get_boolean(g_variant_get_child_value(res, 0)); |
3252 | + |
3253 | + if (prop) { |
3254 | + gtk_widget_hide(main_image); |
3255 | + } else { |
3256 | + gtk_widget_show(main_image); |
3257 | + } |
3258 | + |
3259 | + return; |
3260 | } |
3261 | |
3262 | static guint connection_drop_timeout = 0; |
3263 | @@ -209,6 +250,43 @@ |
3264 | return FALSE; |
3265 | } |
3266 | |
3267 | +/* Proxy is setup now.. whoo! */ |
3268 | +static void |
3269 | +proxy_ready_cb (GObject * obj, GAsyncResult * res, gpointer user_data) |
3270 | +{ |
3271 | + GError * error = NULL; |
3272 | + GDBusProxy * proxy = g_dbus_proxy_new_for_bus_finish(res, &error); |
3273 | + |
3274 | + if (error != NULL) { |
3275 | + g_warning("Unable to get proxy of service: %s", error->message); |
3276 | + g_error_free(error); |
3277 | + return; |
3278 | + } |
3279 | + |
3280 | + icon_proxy = proxy; |
3281 | + |
3282 | + g_signal_connect(G_OBJECT(proxy), "g-signal", G_CALLBACK(proxy_signal), user_data); |
3283 | + |
3284 | + g_dbus_proxy_call(icon_proxy, |
3285 | + "AttentionRequested", |
3286 | + NULL, /* params */ |
3287 | + G_DBUS_CALL_FLAGS_NONE, |
3288 | + -1, /* timeout */ |
3289 | + NULL, /* cancel */ |
3290 | + attention_cb, |
3291 | + user_data); |
3292 | + g_dbus_proxy_call(icon_proxy, |
3293 | + "IconShown", |
3294 | + NULL, /* params */ |
3295 | + G_DBUS_CALL_FLAGS_NONE, |
3296 | + -1, /* timeout */ |
3297 | + NULL, /* cancel */ |
3298 | + icon_cb, |
3299 | + user_data); |
3300 | + |
3301 | + return; |
3302 | +} |
3303 | + |
3304 | /* Sets up all the icon information in the proxy. */ |
3305 | static void |
3306 | connection_change (IndicatorServiceManager * sm, gboolean connected, gpointer user_data) |
3307 | @@ -225,51 +303,46 @@ |
3308 | return; |
3309 | } |
3310 | |
3311 | - DBusGConnection * connection = dbus_g_bus_get(DBUS_BUS_SESSION, NULL); |
3312 | - if (connection == NULL) { |
3313 | - g_warning("Unable to get session bus"); |
3314 | - return; |
3315 | - } |
3316 | - |
3317 | if (icon_proxy == NULL) { |
3318 | - icon_proxy = dbus_g_proxy_new_for_name(connection, |
3319 | - INDICATOR_MESSAGES_DBUS_NAME, |
3320 | - INDICATOR_MESSAGES_DBUS_SERVICE_OBJECT, |
3321 | - INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE); |
3322 | - if (icon_proxy == NULL) { |
3323 | - g_warning("Unable to get messages service interface."); |
3324 | - return; |
3325 | - } |
3326 | - |
3327 | - dbus_g_proxy_add_signal(icon_proxy, "AttentionChanged", G_TYPE_BOOLEAN, G_TYPE_INVALID); |
3328 | - dbus_g_proxy_connect_signal(icon_proxy, |
3329 | - "AttentionChanged", |
3330 | - G_CALLBACK(attention_changed_cb), |
3331 | - NULL, |
3332 | - NULL); |
3333 | - |
3334 | - dbus_g_proxy_add_signal(icon_proxy, "IconChanged", G_TYPE_BOOLEAN, G_TYPE_INVALID); |
3335 | - dbus_g_proxy_connect_signal(icon_proxy, |
3336 | - "IconChanged", |
3337 | - G_CALLBACK(icon_changed_cb), |
3338 | - NULL, |
3339 | - NULL); |
3340 | + g_dbus_proxy_new_for_bus(G_BUS_TYPE_SESSION, |
3341 | + G_DBUS_PROXY_FLAGS_NONE, |
3342 | + bus_interface_info, |
3343 | + INDICATOR_MESSAGES_DBUS_NAME, |
3344 | + INDICATOR_MESSAGES_DBUS_SERVICE_OBJECT, |
3345 | + INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE, |
3346 | + NULL, /* cancel */ |
3347 | + proxy_ready_cb, |
3348 | + sm); |
3349 | + } else { |
3350 | + g_dbus_proxy_call(icon_proxy, |
3351 | + "AttentionRequested", |
3352 | + NULL, /* params */ |
3353 | + G_DBUS_CALL_FLAGS_NONE, |
3354 | + -1, /* timeout */ |
3355 | + NULL, /* cancel */ |
3356 | + attention_cb, |
3357 | + sm); |
3358 | + g_dbus_proxy_call(icon_proxy, |
3359 | + "IconShown", |
3360 | + NULL, /* params */ |
3361 | + G_DBUS_CALL_FLAGS_NONE, |
3362 | + -1, /* timeout */ |
3363 | + NULL, /* cancel */ |
3364 | + icon_cb, |
3365 | + sm); |
3366 | } |
3367 | |
3368 | - org_ayatana_indicator_messages_service_attention_requested_async(icon_proxy, attention_cb, NULL); |
3369 | - org_ayatana_indicator_messages_service_icon_shown_async(icon_proxy, icon_cb, NULL); |
3370 | - |
3371 | return; |
3372 | } |
3373 | |
3374 | /* Sets the icon when it changes. */ |
3375 | static void |
3376 | -application_icon_change_cb (DbusmenuMenuitem * mi, gchar * prop, GValue * value, gpointer user_data) |
3377 | +application_icon_change_cb (DbusmenuMenuitem * mi, gchar * prop, GVariant * value, gpointer user_data) |
3378 | { |
3379 | if (!g_strcmp0(prop, APPLICATION_MENUITEM_PROP_ICON)) { |
3380 | /* Set the main icon */ |
3381 | if (GTK_IS_IMAGE(user_data)) { |
3382 | - gtk_image_set_from_icon_name(GTK_IMAGE(user_data), g_value_get_string(value), GTK_ICON_SIZE_MENU); |
3383 | + gtk_image_set_from_icon_name(GTK_IMAGE(user_data), g_variant_get_string(value, NULL), GTK_ICON_SIZE_MENU); |
3384 | } |
3385 | } |
3386 | |
3387 | @@ -278,12 +351,12 @@ |
3388 | |
3389 | /* Sets the label when it changes. */ |
3390 | static void |
3391 | -application_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, GValue * value, gpointer user_data) |
3392 | +application_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, GVariant * value, gpointer user_data) |
3393 | { |
3394 | if (!g_strcmp0(prop, APPLICATION_MENUITEM_PROP_NAME)) { |
3395 | /* Set the main label */ |
3396 | if (GTK_IS_LABEL(user_data)) { |
3397 | - gtk_label_set_text(GTK_LABEL(user_data), g_value_get_string(value)); |
3398 | + gtk_label_set_text(GTK_LABEL(user_data), g_variant_get_string(value, NULL)); |
3399 | } |
3400 | } |
3401 | |
3402 | @@ -299,6 +372,7 @@ |
3403 | static gboolean |
3404 | application_triangle_draw_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data) |
3405 | { |
3406 | + GtkAllocation allocation; |
3407 | GtkStyle *style; |
3408 | cairo_t *cr; |
3409 | int x, y, arrow_width, arrow_height; |
3410 | @@ -316,11 +390,12 @@ |
3411 | /* set arrow position / dimensions */ |
3412 | arrow_width = 5; /* the pixel-based reference triangle is 5x9 */ |
3413 | arrow_height = 9; |
3414 | - x = widget->allocation.x; |
3415 | - y = widget->allocation.y + widget->allocation.height/2.0 - (double)arrow_height/2.0; |
3416 | + gtk_widget_get_allocation (widget, &allocation); |
3417 | + x = allocation.x; |
3418 | + y = allocation.y + allocation.height/2.0 - (double)arrow_height/2.0; |
3419 | |
3420 | /* initialize cairo drawing area */ |
3421 | - cr = (cairo_t*) gdk_cairo_create (widget->window); |
3422 | + cr = (cairo_t*) gdk_cairo_create (gtk_widget_get_window (widget)); |
3423 | |
3424 | /* set line width */ |
3425 | cairo_set_line_width (cr, 1.0); |
3426 | @@ -359,6 +434,7 @@ |
3427 | static gboolean |
3428 | numbers_draw_cb (GtkWidget *widget, GdkEventExpose *event, gpointer data) |
3429 | { |
3430 | + GtkAllocation allocation; |
3431 | GtkStyle *style; |
3432 | cairo_t *cr; |
3433 | double x, y, w, h; |
3434 | @@ -371,10 +447,11 @@ |
3435 | style = gtk_widget_get_style (widget); |
3436 | |
3437 | /* set arrow position / dimensions */ |
3438 | - w = widget->allocation.width; |
3439 | - h = widget->allocation.height; |
3440 | - x = widget->allocation.x; |
3441 | - y = widget->allocation.y; |
3442 | + gtk_widget_get_allocation (widget, &allocation); |
3443 | + w = allocation.width; |
3444 | + h = allocation.height; |
3445 | + x = allocation.x; |
3446 | + y = allocation.y; |
3447 | |
3448 | layout = gtk_label_get_layout (GTK_LABEL(widget)); |
3449 | |
3450 | @@ -385,7 +462,7 @@ |
3451 | font_size = pango_font_description_get_size (font_description); */ |
3452 | |
3453 | /* initialize cairo drawing area */ |
3454 | - cr = (cairo_t*) gdk_cairo_create (widget->window); |
3455 | + cr = (cairo_t*) gdk_cairo_create (gtk_widget_get_window (widget)); |
3456 | |
3457 | /* set line width */ |
3458 | cairo_set_line_width (cr, 1.0); |
3459 | @@ -468,14 +545,14 @@ |
3460 | /* Whenever we have a property change on a DbusmenuMenuitem |
3461 | we need to be responsive to that. */ |
3462 | static void |
3463 | -indicator_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, GValue * value, indicator_item_t * mi_data) |
3464 | +indicator_prop_change_cb (DbusmenuMenuitem * mi, gchar * prop, GVariant * value, indicator_item_t * mi_data) |
3465 | { |
3466 | if (!g_strcmp0(prop, INDICATOR_MENUITEM_PROP_LABEL)) { |
3467 | /* Set the main label */ |
3468 | - gtk_label_set_text(GTK_LABEL(mi_data->label), g_value_get_string(value)); |
3469 | + gtk_label_set_text(GTK_LABEL(mi_data->label), g_variant_get_string(value, NULL)); |
3470 | } else if (!g_strcmp0(prop, INDICATOR_MENUITEM_PROP_RIGHT)) { |
3471 | /* Set the right label */ |
3472 | - gtk_label_set_text(GTK_LABEL(mi_data->right), g_value_get_string(value)); |
3473 | + gtk_label_set_text(GTK_LABEL(mi_data->right), g_variant_get_string(value, NULL)); |
3474 | } else if (!g_strcmp0(prop, INDICATOR_MENUITEM_PROP_ICON)) { |
3475 | /* We don't use the value here, which is probably less efficient, |
3476 | but it's easier to use the easy function. And since th value |
3477 | |
3478 | === removed file 'src/messages-service-client.h' |
3479 | --- src/messages-service-client.h 2010-04-01 15:10:00 +0000 |
3480 | +++ src/messages-service-client.h 1970-01-01 00:00:00 +0000 |
3481 | @@ -1,139 +0,0 @@ |
3482 | -/* Generated by dbus-binding-tool; do not edit! */ |
3483 | - |
3484 | -#include <glib.h> |
3485 | -#include <dbus/dbus-glib.h> |
3486 | - |
3487 | -G_BEGIN_DECLS |
3488 | - |
3489 | -#ifndef _DBUS_GLIB_ASYNC_DATA_FREE |
3490 | -#define _DBUS_GLIB_ASYNC_DATA_FREE |
3491 | -static |
3492 | -#ifdef G_HAVE_INLINE |
3493 | -inline |
3494 | -#endif |
3495 | -void |
3496 | -_dbus_glib_async_data_free (gpointer stuff) |
3497 | -{ |
3498 | - g_slice_free (DBusGAsyncData, stuff); |
3499 | -} |
3500 | -#endif |
3501 | - |
3502 | -#ifndef DBUS_GLIB_CLIENT_WRAPPERS_org_ayatana_indicator_messages_service |
3503 | -#define DBUS_GLIB_CLIENT_WRAPPERS_org_ayatana_indicator_messages_service |
3504 | - |
3505 | -static |
3506 | -#ifdef G_HAVE_INLINE |
3507 | -inline |
3508 | -#endif |
3509 | -gboolean |
3510 | -org_ayatana_indicator_messages_service_watch (DBusGProxy *proxy, GError **error) |
3511 | - |
3512 | -{ |
3513 | - return dbus_g_proxy_call (proxy, "Watch", error, G_TYPE_INVALID, G_TYPE_INVALID); |
3514 | -} |
3515 | - |
3516 | -typedef void (*org_ayatana_indicator_messages_service_watch_reply) (DBusGProxy *proxy, GError *error, gpointer userdata); |
3517 | - |
3518 | -static void |
3519 | -org_ayatana_indicator_messages_service_watch_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data) |
3520 | -{ |
3521 | - DBusGAsyncData *data = (DBusGAsyncData*) user_data; |
3522 | - GError *error = NULL; |
3523 | - dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_INVALID); |
3524 | - (*(org_ayatana_indicator_messages_service_watch_reply)data->cb) (proxy, error, data->userdata); |
3525 | - return; |
3526 | -} |
3527 | - |
3528 | -static |
3529 | -#ifdef G_HAVE_INLINE |
3530 | -inline |
3531 | -#endif |
3532 | -DBusGProxyCall* |
3533 | -org_ayatana_indicator_messages_service_watch_async (DBusGProxy *proxy, org_ayatana_indicator_messages_service_watch_reply callback, gpointer userdata) |
3534 | - |
3535 | -{ |
3536 | - DBusGAsyncData *stuff; |
3537 | - stuff = g_slice_new (DBusGAsyncData); |
3538 | - stuff->cb = G_CALLBACK (callback); |
3539 | - stuff->userdata = userdata; |
3540 | - return dbus_g_proxy_begin_call (proxy, "Watch", org_ayatana_indicator_messages_service_watch_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); |
3541 | -} |
3542 | -static |
3543 | -#ifdef G_HAVE_INLINE |
3544 | -inline |
3545 | -#endif |
3546 | -gboolean |
3547 | -org_ayatana_indicator_messages_service_attention_requested (DBusGProxy *proxy, gboolean* OUT_dot, GError **error) |
3548 | - |
3549 | -{ |
3550 | - return dbus_g_proxy_call (proxy, "AttentionRequested", error, G_TYPE_INVALID, G_TYPE_BOOLEAN, OUT_dot, G_TYPE_INVALID); |
3551 | -} |
3552 | - |
3553 | -typedef void (*org_ayatana_indicator_messages_service_attention_requested_reply) (DBusGProxy *proxy, gboolean OUT_dot, GError *error, gpointer userdata); |
3554 | - |
3555 | -static void |
3556 | -org_ayatana_indicator_messages_service_attention_requested_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data) |
3557 | -{ |
3558 | - DBusGAsyncData *data = (DBusGAsyncData*) user_data; |
3559 | - GError *error = NULL; |
3560 | - gboolean OUT_dot; |
3561 | - dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_BOOLEAN, &OUT_dot, G_TYPE_INVALID); |
3562 | - (*(org_ayatana_indicator_messages_service_attention_requested_reply)data->cb) (proxy, OUT_dot, error, data->userdata); |
3563 | - return; |
3564 | -} |
3565 | - |
3566 | -static |
3567 | -#ifdef G_HAVE_INLINE |
3568 | -inline |
3569 | -#endif |
3570 | -DBusGProxyCall* |
3571 | -org_ayatana_indicator_messages_service_attention_requested_async (DBusGProxy *proxy, org_ayatana_indicator_messages_service_attention_requested_reply callback, gpointer userdata) |
3572 | - |
3573 | -{ |
3574 | - DBusGAsyncData *stuff; |
3575 | - stuff = g_slice_new (DBusGAsyncData); |
3576 | - stuff->cb = G_CALLBACK (callback); |
3577 | - stuff->userdata = userdata; |
3578 | - return dbus_g_proxy_begin_call (proxy, "AttentionRequested", org_ayatana_indicator_messages_service_attention_requested_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); |
3579 | -} |
3580 | -static |
3581 | -#ifdef G_HAVE_INLINE |
3582 | -inline |
3583 | -#endif |
3584 | -gboolean |
3585 | -org_ayatana_indicator_messages_service_icon_shown (DBusGProxy *proxy, gboolean* OUT_hidden, GError **error) |
3586 | - |
3587 | -{ |
3588 | - return dbus_g_proxy_call (proxy, "IconShown", error, G_TYPE_INVALID, G_TYPE_BOOLEAN, OUT_hidden, G_TYPE_INVALID); |
3589 | -} |
3590 | - |
3591 | -typedef void (*org_ayatana_indicator_messages_service_icon_shown_reply) (DBusGProxy *proxy, gboolean OUT_hidden, GError *error, gpointer userdata); |
3592 | - |
3593 | -static void |
3594 | -org_ayatana_indicator_messages_service_icon_shown_async_callback (DBusGProxy *proxy, DBusGProxyCall *call, void *user_data) |
3595 | -{ |
3596 | - DBusGAsyncData *data = (DBusGAsyncData*) user_data; |
3597 | - GError *error = NULL; |
3598 | - gboolean OUT_hidden; |
3599 | - dbus_g_proxy_end_call (proxy, call, &error, G_TYPE_BOOLEAN, &OUT_hidden, G_TYPE_INVALID); |
3600 | - (*(org_ayatana_indicator_messages_service_icon_shown_reply)data->cb) (proxy, OUT_hidden, error, data->userdata); |
3601 | - return; |
3602 | -} |
3603 | - |
3604 | -static |
3605 | -#ifdef G_HAVE_INLINE |
3606 | -inline |
3607 | -#endif |
3608 | -DBusGProxyCall* |
3609 | -org_ayatana_indicator_messages_service_icon_shown_async (DBusGProxy *proxy, org_ayatana_indicator_messages_service_icon_shown_reply callback, gpointer userdata) |
3610 | - |
3611 | -{ |
3612 | - DBusGAsyncData *stuff; |
3613 | - stuff = g_slice_new (DBusGAsyncData); |
3614 | - stuff->cb = G_CALLBACK (callback); |
3615 | - stuff->userdata = userdata; |
3616 | - return dbus_g_proxy_begin_call (proxy, "IconShown", org_ayatana_indicator_messages_service_icon_shown_async_callback, stuff, _dbus_glib_async_data_free, G_TYPE_INVALID); |
3617 | -} |
3618 | -#endif /* defined DBUS_GLIB_CLIENT_WRAPPERS_org_ayatana_indicator_messages_service */ |
3619 | - |
3620 | -G_END_DECLS |
3621 | |
3622 | === modified file 'src/messages-service-dbus.c' |
3623 | --- src/messages-service-dbus.c 2009-08-26 15:35:56 +0000 |
3624 | +++ src/messages-service-dbus.c 2011-01-14 20:29:34 +0000 |
3625 | @@ -24,9 +24,10 @@ |
3626 | #include "config.h" |
3627 | #endif |
3628 | |
3629 | -#include <dbus/dbus-glib.h> |
3630 | +#include <gio/gio.h> |
3631 | #include "messages-service-dbus.h" |
3632 | #include "dbus-data.h" |
3633 | +#include "gen-messages-service.xml.h" |
3634 | |
3635 | enum { |
3636 | ATTENTION_CHANGED, |
3637 | @@ -40,6 +41,7 @@ |
3638 | |
3639 | struct _MessageServiceDbusPrivate |
3640 | { |
3641 | + GDBusConnection * connection; |
3642 | gboolean dot; |
3643 | gboolean hidden; |
3644 | }; |
3645 | @@ -51,15 +53,26 @@ |
3646 | static void message_service_dbus_init (MessageServiceDbus *self); |
3647 | static void message_service_dbus_dispose (GObject *object); |
3648 | static void message_service_dbus_finalize (GObject *object); |
3649 | - |
3650 | -static void _messages_service_server_watch (void); |
3651 | -static gboolean _messages_service_server_attention_requested (MessageServiceDbus * self, gboolean * dot, GError ** error); |
3652 | -static gboolean _messages_service_server_icon_shown (MessageServiceDbus * self, gboolean * hidden, GError ** error); |
3653 | - |
3654 | -#include "messages-service-server.h" |
3655 | +static void bus_method_call (GDBusConnection * connection, |
3656 | + const gchar * sender, |
3657 | + const gchar * path, |
3658 | + const gchar * interface, |
3659 | + const gchar * method, |
3660 | + GVariant * params, |
3661 | + GDBusMethodInvocation * invocation, |
3662 | + gpointer user_data); |
3663 | + |
3664 | +static GDBusNodeInfo * bus_node_info = NULL; |
3665 | +static GDBusInterfaceInfo * bus_interface_info = NULL; |
3666 | +static const GDBusInterfaceVTable bus_interface_table = { |
3667 | + method_call: bus_method_call, |
3668 | + get_property: NULL, /* No properties */ |
3669 | + set_property: NULL /* No properties */ |
3670 | +}; |
3671 | |
3672 | G_DEFINE_TYPE (MessageServiceDbus, message_service_dbus, G_TYPE_OBJECT); |
3673 | |
3674 | + |
3675 | static void |
3676 | message_service_dbus_class_init (MessageServiceDbusClass *klass) |
3677 | { |
3678 | @@ -86,8 +99,57 @@ |
3679 | g_cclosure_marshal_VOID__BOOLEAN, |
3680 | G_TYPE_NONE, 1, G_TYPE_BOOLEAN); |
3681 | |
3682 | - |
3683 | - dbus_g_object_type_install_info(MESSAGE_SERVICE_DBUS_TYPE, &dbus_glib__messages_service_server_object_info); |
3684 | + if (bus_node_info == NULL) { |
3685 | + GError * error = NULL; |
3686 | + |
3687 | + bus_node_info = g_dbus_node_info_new_for_xml(_messages_service, &error); |
3688 | + if (error != NULL) { |
3689 | + g_error("Unable to parse Messaging Menu Interface description: %s", error->message); |
3690 | + g_error_free(error); |
3691 | + } |
3692 | + } |
3693 | + |
3694 | + if (bus_interface_info == NULL) { |
3695 | + bus_interface_info = g_dbus_node_info_lookup_interface(bus_node_info, INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE); |
3696 | + |
3697 | + if (bus_interface_info == NULL) { |
3698 | + g_error("Unable to find interface '" INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE "'"); |
3699 | + } |
3700 | + } |
3701 | + |
3702 | + return; |
3703 | +} |
3704 | + |
3705 | +static void |
3706 | +connection_cb (GObject * object, GAsyncResult * res, gpointer user_data) |
3707 | +{ |
3708 | + GError * error = NULL; |
3709 | + GDBusConnection * connection = g_bus_get_finish(res, &error); |
3710 | + |
3711 | + if (error != NULL) { |
3712 | + g_error("Unable to connect to the session bus: %s", error->message); |
3713 | + g_error_free(error); |
3714 | + return; |
3715 | + } |
3716 | + |
3717 | + MessageServiceDbusPrivate * priv = MESSAGE_SERVICE_DBUS_GET_PRIVATE(user_data); |
3718 | + priv->connection = connection; |
3719 | + |
3720 | + g_dbus_connection_register_object(connection, |
3721 | + INDICATOR_MESSAGES_DBUS_SERVICE_OBJECT, |
3722 | + bus_interface_info, |
3723 | + &bus_interface_table, |
3724 | + user_data, |
3725 | + NULL, /* destroy */ |
3726 | + &error); |
3727 | + |
3728 | + if (error != NULL) { |
3729 | + g_error("Unable to register on session bus: %s", error->message); |
3730 | + g_error_free(error); |
3731 | + return; |
3732 | + } |
3733 | + |
3734 | + g_debug("Service on session bus"); |
3735 | |
3736 | return; |
3737 | } |
3738 | @@ -95,10 +157,7 @@ |
3739 | static void |
3740 | message_service_dbus_init (MessageServiceDbus *self) |
3741 | { |
3742 | - DBusGConnection * connection = dbus_g_bus_get(DBUS_BUS_SESSION, NULL); |
3743 | - dbus_g_connection_register_g_object(connection, |
3744 | - INDICATOR_MESSAGES_DBUS_SERVICE_OBJECT, |
3745 | - G_OBJECT(self)); |
3746 | + g_bus_get(G_BUS_TYPE_SESSION, NULL, connection_cb, self); |
3747 | |
3748 | MessageServiceDbusPrivate * priv = MESSAGE_SERVICE_DBUS_GET_PRIVATE(self); |
3749 | |
3750 | @@ -111,7 +170,12 @@ |
3751 | static void |
3752 | message_service_dbus_dispose (GObject *object) |
3753 | { |
3754 | + MessageServiceDbusPrivate * priv = MESSAGE_SERVICE_DBUS_GET_PRIVATE(object); |
3755 | |
3756 | + if (priv->connection != NULL) { |
3757 | + g_object_unref(priv->connection); |
3758 | + priv->connection = NULL; |
3759 | + } |
3760 | |
3761 | G_OBJECT_CLASS (message_service_dbus_parent_class)->dispose (object); |
3762 | return; |
3763 | @@ -132,31 +196,23 @@ |
3764 | return MESSAGE_SERVICE_DBUS(g_object_new(MESSAGE_SERVICE_DBUS_TYPE, NULL)); |
3765 | } |
3766 | |
3767 | -/* DBus function to say that someone is watching */ |
3768 | +/* Method request off of DBus */ |
3769 | static void |
3770 | -_messages_service_server_watch (void) |
3771 | -{ |
3772 | - |
3773 | -} |
3774 | - |
3775 | -/* DBus interface to request the private variable to know |
3776 | - whether there is a green dot. */ |
3777 | -static gboolean |
3778 | -_messages_service_server_attention_requested (MessageServiceDbus * self, gboolean * dot, GError ** error) |
3779 | -{ |
3780 | - MessageServiceDbusPrivate * priv = MESSAGE_SERVICE_DBUS_GET_PRIVATE(self); |
3781 | - *dot = priv->dot; |
3782 | - return TRUE; |
3783 | -} |
3784 | - |
3785 | -/* DBus interface to request the private variable to know |
3786 | - whether the icon is hidden. */ |
3787 | -static gboolean |
3788 | -_messages_service_server_icon_shown (MessageServiceDbus * self, gboolean * hidden, GError ** error) |
3789 | -{ |
3790 | - MessageServiceDbusPrivate * priv = MESSAGE_SERVICE_DBUS_GET_PRIVATE(self); |
3791 | - *hidden = priv->hidden; |
3792 | - return TRUE; |
3793 | +bus_method_call (GDBusConnection * connection, const gchar * sender, const gchar * path, const gchar * interface, const gchar * method, GVariant * params, GDBusMethodInvocation * invocation, gpointer user_data) |
3794 | +{ |
3795 | + MessageServiceDbusPrivate * priv = MESSAGE_SERVICE_DBUS_GET_PRIVATE(user_data); |
3796 | + |
3797 | + if (g_strcmp0("AttentionRequested", method) == 0) { |
3798 | + g_dbus_method_invocation_return_value(invocation, g_variant_new("(b)", priv->dot)); |
3799 | + return; |
3800 | + } else if (g_strcmp0("IconShown", method) == 0) { |
3801 | + g_dbus_method_invocation_return_value(invocation, g_variant_new("(b)", priv->hidden)); |
3802 | + return; |
3803 | + } else { |
3804 | + g_warning("Unknown function call '%s'", method); |
3805 | + } |
3806 | + |
3807 | + return; |
3808 | } |
3809 | |
3810 | void |
3811 | @@ -167,6 +223,16 @@ |
3812 | if (attention != priv->dot) { |
3813 | priv->dot = attention; |
3814 | g_signal_emit(G_OBJECT(self), signals[ATTENTION_CHANGED], 0, priv->dot, TRUE); |
3815 | + |
3816 | + if (priv->connection != NULL) { |
3817 | + g_dbus_connection_emit_signal(priv->connection, |
3818 | + NULL, |
3819 | + INDICATOR_MESSAGES_DBUS_SERVICE_OBJECT, |
3820 | + INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE, |
3821 | + "AttentionChanged", |
3822 | + g_variant_new("(b)", priv->dot), |
3823 | + NULL); |
3824 | + } |
3825 | } |
3826 | return; |
3827 | } |
3828 | @@ -179,6 +245,16 @@ |
3829 | if (hidden != priv->hidden) { |
3830 | priv->hidden = hidden; |
3831 | g_signal_emit(G_OBJECT(self), signals[ICON_CHANGED], 0, priv->hidden, TRUE); |
3832 | + |
3833 | + if (priv->connection != NULL) { |
3834 | + g_dbus_connection_emit_signal(priv->connection, |
3835 | + NULL, |
3836 | + INDICATOR_MESSAGES_DBUS_SERVICE_OBJECT, |
3837 | + INDICATOR_MESSAGES_DBUS_SERVICE_INTERFACE, |
3838 | + "IconChanged", |
3839 | + g_variant_new("(b)", priv->hidden), |
3840 | + NULL); |
3841 | + } |
3842 | } |
3843 | return; |
3844 | } |
3845 | |
3846 | === removed file 'src/messages-service-server.h' |
3847 | --- src/messages-service-server.h 2010-08-12 18:09:42 +0000 |
3848 | +++ src/messages-service-server.h 1970-01-01 00:00:00 +0000 |
3849 | @@ -1,126 +0,0 @@ |
3850 | -/* Generated by dbus-binding-tool; do not edit! */ |
3851 | - |
3852 | - |
3853 | -#ifndef __dbus_glib_marshal__messages_service_server_MARSHAL_H__ |
3854 | -#define __dbus_glib_marshal__messages_service_server_MARSHAL_H__ |
3855 | - |
3856 | -#include <glib-object.h> |
3857 | - |
3858 | -G_BEGIN_DECLS |
3859 | - |
3860 | -#ifdef G_ENABLE_DEBUG |
3861 | -#define g_marshal_value_peek_boolean(v) g_value_get_boolean (v) |
3862 | -#define g_marshal_value_peek_char(v) g_value_get_char (v) |
3863 | -#define g_marshal_value_peek_uchar(v) g_value_get_uchar (v) |
3864 | -#define g_marshal_value_peek_int(v) g_value_get_int (v) |
3865 | -#define g_marshal_value_peek_uint(v) g_value_get_uint (v) |
3866 | -#define g_marshal_value_peek_long(v) g_value_get_long (v) |
3867 | -#define g_marshal_value_peek_ulong(v) g_value_get_ulong (v) |
3868 | -#define g_marshal_value_peek_int64(v) g_value_get_int64 (v) |
3869 | -#define g_marshal_value_peek_uint64(v) g_value_get_uint64 (v) |
3870 | -#define g_marshal_value_peek_enum(v) g_value_get_enum (v) |
3871 | -#define g_marshal_value_peek_flags(v) g_value_get_flags (v) |
3872 | -#define g_marshal_value_peek_float(v) g_value_get_float (v) |
3873 | -#define g_marshal_value_peek_double(v) g_value_get_double (v) |
3874 | -#define g_marshal_value_peek_string(v) (char*) g_value_get_string (v) |
3875 | -#define g_marshal_value_peek_param(v) g_value_get_param (v) |
3876 | -#define g_marshal_value_peek_boxed(v) g_value_get_boxed (v) |
3877 | -#define g_marshal_value_peek_pointer(v) g_value_get_pointer (v) |
3878 | -#define g_marshal_value_peek_object(v) g_value_get_object (v) |
3879 | -#else /* !G_ENABLE_DEBUG */ |
3880 | -/* WARNING: This code accesses GValues directly, which is UNSUPPORTED API. |
3881 | - * Do not access GValues directly in your code. Instead, use the |
3882 | - * g_value_get_*() functions |
3883 | - */ |
3884 | -#define g_marshal_value_peek_boolean(v) (v)->data[0].v_int |
3885 | -#define g_marshal_value_peek_char(v) (v)->data[0].v_int |
3886 | -#define g_marshal_value_peek_uchar(v) (v)->data[0].v_uint |
3887 | -#define g_marshal_value_peek_int(v) (v)->data[0].v_int |
3888 | -#define g_marshal_value_peek_uint(v) (v)->data[0].v_uint |
3889 | -#define g_marshal_value_peek_long(v) (v)->data[0].v_long |
3890 | -#define g_marshal_value_peek_ulong(v) (v)->data[0].v_ulong |
3891 | -#define g_marshal_value_peek_int64(v) (v)->data[0].v_int64 |
3892 | -#define g_marshal_value_peek_uint64(v) (v)->data[0].v_uint64 |
3893 | -#define g_marshal_value_peek_enum(v) (v)->data[0].v_long |
3894 | -#define g_marshal_value_peek_flags(v) (v)->data[0].v_ulong |
3895 | -#define g_marshal_value_peek_float(v) (v)->data[0].v_float |
3896 | -#define g_marshal_value_peek_double(v) (v)->data[0].v_double |
3897 | -#define g_marshal_value_peek_string(v) (v)->data[0].v_pointer |
3898 | -#define g_marshal_value_peek_param(v) (v)->data[0].v_pointer |
3899 | -#define g_marshal_value_peek_boxed(v) (v)->data[0].v_pointer |
3900 | -#define g_marshal_value_peek_pointer(v) (v)->data[0].v_pointer |
3901 | -#define g_marshal_value_peek_object(v) (v)->data[0].v_pointer |
3902 | -#endif /* !G_ENABLE_DEBUG */ |
3903 | - |
3904 | - |
3905 | -/* NONE:POINTER */ |
3906 | -#define dbus_glib_marshal__messages_service_server_VOID__POINTER g_cclosure_marshal_VOID__POINTER |
3907 | -#define dbus_glib_marshal__messages_service_server_NONE__POINTER dbus_glib_marshal__messages_service_server_VOID__POINTER |
3908 | - |
3909 | -/* BOOLEAN:POINTER,POINTER */ |
3910 | -extern void dbus_glib_marshal__messages_service_server_BOOLEAN__POINTER_POINTER (GClosure *closure, |
3911 | - GValue *return_value, |
3912 | - guint n_param_values, |
3913 | - const GValue *param_values, |
3914 | - gpointer invocation_hint, |
3915 | - gpointer marshal_data); |
3916 | -void |
3917 | -dbus_glib_marshal__messages_service_server_BOOLEAN__POINTER_POINTER (GClosure *closure, |
3918 | - GValue *return_value G_GNUC_UNUSED, |
3919 | - guint n_param_values, |
3920 | - const GValue *param_values, |
3921 | - gpointer invocation_hint G_GNUC_UNUSED, |
3922 | - gpointer marshal_data) |
3923 | -{ |
3924 | - typedef gboolean (*GMarshalFunc_BOOLEAN__POINTER_POINTER) (gpointer data1, |
3925 | - gpointer arg_1, |
3926 | - gpointer arg_2, |
3927 | - gpointer data2); |
3928 | - register GMarshalFunc_BOOLEAN__POINTER_POINTER callback; |
3929 | - register GCClosure *cc = (GCClosure*) closure; |
3930 | - register gpointer data1, data2; |
3931 | - gboolean v_return; |
3932 | - |
3933 | - g_return_if_fail (return_value != NULL); |
3934 | - g_return_if_fail (n_param_values == 3); |
3935 | - |
3936 | - if (G_CCLOSURE_SWAP_DATA (closure)) |
3937 | - { |
3938 | - data1 = closure->data; |
3939 | - data2 = g_value_peek_pointer (param_values + 0); |
3940 | - } |
3941 | - else |
3942 | - { |
3943 | - data1 = g_value_peek_pointer (param_values + 0); |
3944 | - data2 = closure->data; |
3945 | - } |
3946 | - callback = (GMarshalFunc_BOOLEAN__POINTER_POINTER) (marshal_data ? marshal_data : cc->callback); |
3947 | - |
3948 | - v_return = callback (data1, |
3949 | - g_marshal_value_peek_pointer (param_values + 1), |
3950 | - g_marshal_value_peek_pointer (param_values + 2), |
3951 | - data2); |
3952 | - |
3953 | - g_value_set_boolean (return_value, v_return); |
3954 | -} |
3955 | - |
3956 | -G_END_DECLS |
3957 | - |
3958 | -#endif /* __dbus_glib_marshal__messages_service_server_MARSHAL_H__ */ |
3959 | - |
3960 | -#include <dbus/dbus-glib.h> |
3961 | -static const DBusGMethodInfo dbus_glib__messages_service_server_methods[] = { |
3962 | - { (GCallback) _messages_service_server_watch, dbus_glib_marshal__messages_service_server_NONE__POINTER, 0 }, |
3963 | - { (GCallback) _messages_service_server_attention_requested, dbus_glib_marshal__messages_service_server_BOOLEAN__POINTER_POINTER, 48 }, |
3964 | - { (GCallback) _messages_service_server_icon_shown, dbus_glib_marshal__messages_service_server_BOOLEAN__POINTER_POINTER, 121 }, |
3965 | -}; |
3966 | - |
3967 | -const DBusGObjectInfo dbus_glib__messages_service_server_object_info = { |
3968 | - 0, |
3969 | - dbus_glib__messages_service_server_methods, |
3970 | - 3, |
3971 | -"org.ayatana.indicator.messages.service\0Watch\0A\0\0org.ayatana.indicator.messages.service\0AttentionRequested\0S\0dot\0O\0F\0N\0b\0\0org.ayatana.indicator.messages.service\0IconShown\0S\0hidden\0O\0F\0N\0b\0\0\0", |
3972 | -"org.ayatana.indicator.messages.service\0AttentionChanged\0org.ayatana.indicator.messages.service\0IconChanged\0\0", |
3973 | -"\0" |
3974 | -}; |
3975 | - |
3976 | |
3977 | === modified file 'src/messages-service.c' |
3978 | --- src/messages-service.c 2010-08-26 19:31:18 +0000 |
3979 | +++ src/messages-service.c 2011-01-14 20:29:34 +0000 |
3980 | @@ -25,7 +25,6 @@ |
3981 | #include <libintl.h> |
3982 | #include <config.h> |
3983 | #include <pango/pango-utils.h> |
3984 | -#include <dbus/dbus-glib-bindings.h> |
3985 | #include <libindicate/listener.h> |
3986 | #include <libindicator/indicator-service.h> |
3987 | #include <gio/gio.h> |
3988 | |
3989 | === modified file 'src/messages-service.xml' |
3990 | --- src/messages-service.xml 2009-08-26 02:40:35 +0000 |
3991 | +++ src/messages-service.xml 2011-01-14 20:29:34 +0000 |
3992 | @@ -1,6 +1,6 @@ |
3993 | <?xml version="1.0" encoding="UTF-8"?> |
3994 | <node name="/"> |
3995 | - <interface name="org.ayatana.indicator.messages.service"> |
3996 | + <interface name="com.canonical.indicator.messages.service"> |
3997 | |
3998 | <!-- Methods --> |
3999 | <method name="Watch"> |