[Tracker] deskbar-handler, apps, conversations, fixes



Hi Jamie

This patch incorporates all I've done in the deskbar-handler so far.

The problem[1] reported a race condition with the handler dbus
connection and trackerd, this should now be fixed. I've put the
connection to dbus into the query method, i.e. the dbus connection
will be setup on the first search. This happens to work pretty good.
Another issue that is fixed now - when trackerd cannot be started by
dbus (i.e. an exception is thrown) I catch the exception and print an
error on stderr (xsession-errors will show this for bug reports) -
this prevent deskbar from being left nonfunctional (as reported).

Applications and Conversations are now supported. For conversations I
extract all information shown on the deskbar search results from the
log file path - that works pretty well and my test (on all logs i have
here, some 10MiB!) showed no issues.

Application data is extracted from the result returned by tracker -
that is application name, what is executed (shown in Deskbar results,
as does the Programs applet) and the icon. Also this worked pretty
good.

Please test this and ping me on issues ;)

Cheers, Marcus

Attachment: tracker_r758_deskbar-handler.patch
Description: Text Data



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]