[Sugar-devel] From GConf to GSettings

Daniel Narvaez dwnarvaez at gmail.com
Thu Dec 26 12:23:43 EST 2013


On 26 December 2013 17:02, Emil Dudev <emildudev at gmail.com> wrote:

> As GConf is deprecated, it should be replaced by GSettings.
>
> I've made a patch that will change most of the code to use GSettings.
> (I'm not sure how to include the link, as it will cause the mail to be
> sent to the spam folder).
>

Awesome, will try to review it asap.


> Moving to GSettings is not something easy. The biggest issue is the
> compatibility of the activities.
> How should it be handled?
> I'm not sure how many activities use GConf. I was able to find only 3:
> read and write (using sugar's speech settings), and browse. But I'm
> sure there are more activities.
>

There are only a limited number of "system" settings that activities could
be using. I think we should set those both in GConf and in GSettings for a
while to give activity authors the time to port (gtk2 activities can't even
do that). We can use local imports so that GConf is loaded only when
setting those properties. Hopefully the migration scripts doesn't affect
the GConf database?

What do you think? Any reason this wouldn't work?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20131226/aef0f7e7/attachment.html>


More information about the Sugar-devel mailing list