Re: Will gsettings eventually be able to modify lists?
|[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]|
On Mon, Apr 11, 2011 at 09:27:48 -0400, Matthias Clasen <mclasen@xxxxxxxxxx> wrote: > On Sun, 2011-04-10 at 08:48 -0500, Bruno Wolff III wrote: > > It would be nice to use gsettings to add or remove an item from the > > favorite-apps key without having to read the old list, parse it with > > something, pass a modified list back to gsettings to replace the old > > value. > > > > Is there any plan for gsettings to get a feature to do this in one step? > > No immediate plan, no. I wouldn't necessarily reject a patch, but it is > a little hard to know where to stop, once you start down that route... > GSettings lets you store arbitrary variants. I was afraid that the list structure was opaque to gsettings. That does make it harder to start down that path, but isn't really a surprise. The list format looks python friendly. I was a bit worried about writing a script to use to process the changes in python for kickstart files, but given that livecd-creator and anaconda both need python, it seems pretty safe to assume python will be available where I need it. Thanks for the response. -- desktop mailing list desktop@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/desktop