View Single Post
Bundyo's Avatar
Posts: 4,708 | Thanked: 4,649 times | Joined on Oct 2007 @ Bulgaria
#48
You can use this:
http://library.gnome.org/devel/gio/2...-GAppInfo.html

or simple GKeyFile
http://library.gnome.org/devel/glib/...le-parser.html

Check how I'm doing it in Search Tool (Vala but nevertheless), utils.vala. I'm using mime types to detect the needed executable/dbus service to open it with.
__________________
Technically, there are three determinate states the cat could be in: Alive, Dead, and Bloody Furious.

Last edited by Bundyo; 2010-07-19 at 21:31.
 

The Following User Says Thank You to Bundyo For This Useful Post: