Re: [Tracker] runtime checking for tracker availability



2006/10/20, Jamie McCracken <jamiemcc blueyonder co uk>:
Mikkel Kamstrup Erlandsen wrote:
> Is there an easy *clean* way to check if tracker is installed at
> runtime? I thinking here namely on the deskbar handler which needs to do
> this.
>
> I have been playing around with some dbus stuff. I need a call to check
> whether tracker is available without starting it (via dbus activation)!
>
> dbus.bus.ListActivatableNames was added in dbus 0.91.0 but edgy only has
> 0.70.0...

you could check for the tracker service file in usr/dbus-1/services

Yeah, but for that I'd need the path where dbus service files are installed... Digging around I hva not been able to device a runtime way of doing this.

Cheers,
Mikkel




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