On Fri, Jul 2, 2010 at 6:26 AM, Vincent Untz <[email protected]> wrote: > Le vendredi 02 juillet 2010, à 06:12 -0700, Sandy Armstrong a écrit : >> On Fri, Jul 2, 2010 at 5:41 AM, Vincent Untz <[email protected]> wrote: >> > Hi, >> > >> > I want to remove the GnomeDesktopItem API from gnome-desktop. It's an >> > old API that is not needed anymore in our world with GKeyFile and >> > GDesktopAppInfo. > > [...] > >> For what it's worth, I was just about to start using this API in >> Tomboy as part of >> https://bugzilla.gnome.org/show_bug.cgi?id=580422 (see comment 21, and >> comments 45 and below). > > As far as I understand, you don't really need this API. You just need to > add/remove a file in the autostart dir. Is there any reason to not do it > with the usual API for that? > > Ah, I see you need to change the Exec key. GKeyFile can do that, no idea > if it's wrapped in mono, though :/
It also has unofficial bindings floating around. But you're right that since we control our .desktop file we could easily achieve this without use of the API at all. Thanks, Sandy _______________________________________________ desktop-devel-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/desktop-devel-list
