[Sugar-devel] From GConf to GSettings

Emil Dudev emildudev at gmail.com
Thu Dec 26 12:30:08 EST 2013


My changes to the makefiles only add gsettings support. GConf can
still be used and I doubt there will be any problems.
While I was working on this, the following article came to my
attention: https://developer.gnome.org/gio/2.26/ch26s07.html
>From what I understand of the article, the transition can be made
without affecting any of the activities.

Emil Dudev

On Thu, Dec 26, 2013 at 7:23 PM, Daniel Narvaez <dwnarvaez at gmail.com> wrote:
> 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?


More information about the Sugar-devel mailing list