Re: [Tracker] runtime checking for tracker availability
- From: Gabriel de Perthuis <tobutaz gmail com>
- To: Ulrik Mikaelsson <public-ulrik mikaelsson-Re5JQEeQqe8AvxtiuMwx3w ciao gmane org>
- Cc: Tracker List <public-tracker-list-rDKQcyrBJuzYtjvyW6yDsg ciao gmane org>
- Subject: Re: [Tracker] runtime checking for tracker availability
- Date: Mon, 30 Oct 2006 20:09:01 +0100
* Ulrik Mikaelsson:
That would work on 98% of all systems, but I would really like a
completely generic test...
You could just go ahead and pretend to make a query, and check for nulls
or a particular exception in the DBus return values.
That way you'll pickup everything, even if tracker isn't in a standard
prefix (I do that since it's CVS, however I do have to copy the dbus
service file into a system dir).
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]