← Back to team overview

indicator-sound-developers team mailing list archive

Desktop file path



In order for the menu to start any one of the potential clients, it needs to know about the location of the desktop file. Thankfully libindicate provides an easy way to do this. As part of the registration process it's also necessary to set the path to desktop file. To facilitate this you will need to call this method :

from server.h within libindicate

indicate_server_set_desktop_file(IndicateServer * server, const gchar * path);

I have updated the vala example with this on http://wiki.ubuntu.com/SoundMenu