PDA

View Full Version : Any (Gtk) API to handle .desktop files?



t1497f35
February 27th, 2011, 08:48 PM
Hi,
Is there any (additional or integrated) Gtk API to query the system for the corresponding desktop entry (.desktop) for a given mime type?

Or do I have to do it by hand? That is, finding all system .desktop files, parsing them, caching, ordering, creating the code which decides which .desktop file is best for given mime type etc etc as described on freedesktop.org.