Freedesktop desktop entry

Tuukka Mäkinen tukem at iki.fi
Wed Dec 10 20:09:28 CET 2003


Hello

Do you have any ideas about what to do with Freedesktop desktop entry 
standard?
http://freedesktop.org/Standards/desktop-entry-spec/desktop-entry-spec-0.9.4.html

I would need one kind of implementation to use with desktop menu but 
there might be similar needs elsewhere. Function I have in mind is 
something like:

/* Parses the given .desktop file
    path = location of .desktop file
    Others = LOCALE values, can be empty
*/
DesktopEntry* parse_desktop_entry_file(gchar* path, gchar* lang, gchar* 
country, gchar* encoding, gchar* modifier );

where DesktopEntry can be pretty much anything as long as it contains 
all properties from the file.


-Tuukka




More information about the Xfce4-dev mailing list