Re: [Tracker] Tracker 0.10 and gnome-shell




Well, at least I think it makes sense to use Tracker to search for 
applications and files (or recently used files). There are a lot of 
other applications for Tracker, like searching contacts, emails, etc.

I started looking into this this week, but didn't see any clear API or 
way to do this yet - am I looking in the wrong place? Can you point us 
in the right direction? Owen did say there is an extension type API we 
can use.

I spent some time this afternoon looking into it. You will need to start
with the first part [1] of the Zeitgeist patch [2] because this adds the
infrastructure to add search results async.

Then it looks to be a matter of writing a wrapper around either the
tracker DBus API, or using the tracker-sparql library from
introspection.

Implement DocSearchProvider, and add yourself to the overview [3]. I'm
not sure if adding to the overview can be done from an extension yet.

John

[1] https://bugzilla.gnome.org/attachment.cgi?id=179842
[2] https://bugzilla.gnome.org/show_bug.cgi?id=640659
[3] https://bugzilla.gnome.org/attachment.cgi?id=179844






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