Re: Removing GnomeDesktopItem API from gnome-desktop



Le vendredi 02 juillet 2010, à 06:12 -0700, Sandy Armstrong a écrit :
> On Fri, Jul 2, 2010 at 5:41 AM, Vincent Untz <vuntz gnome org> 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 :/

> >  Bindings (shouldn't be an issue):
> >  - gnome-python-desktop
> >  - vala
> 
> Add gnome-desktop-sharp here.

(We missed it because it doesn't use git.gnome.org)

Vincent

-- 
Les gens heureux ne sont pas pressés.


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]