indicator-sound-developers team mailing list archive
-
indicator-sound-developers team
-
Mailing list archive
-
Message #00024
Re: Changes to the sound menu registration process for Natty
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 12/08/2010 05:25 AM, shuerhaaken wrote:
> Ok.
> I guess the (per-user)desktop files in $XDG_DATA_HOME/applications will
> then be used before the ones in /usr/share/applications/ and these have
> to be full copies of the original desktop files
> in /usr/share/applications/ + some extra entries ?
> Sorry for this lazy question.
> Regards and thanks
> Jörn
>
>
Yeah, this is how it works when you edit a launcher from alacarte too.
GLib has helpers for this. Basically just load a GKeyFile of type
G_KEY_FILE_DESKTOP_TYPE_APPLICATION, modify the keys, and then write it
back out in the data dir.
- --
Alex Launi
Canonical Desktop Experience Team
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAkz/ZkIACgkQpL94dTyos27LFACfWNq95nXxZOPsXzi2NcwBp8kT
BckAni2sIOet2YdymxkOv8c8+3oN+lvx
=ap9d
-----END PGP SIGNATURE-----
Follow ups
References