[Sugar-devel] Porting to GSettings and XDG directories

Gonzalo Odiard gonzalo at laptop.org
Mon Dec 17 06:59:51 EST 2012


    * If they tried to get the sugar keys (like buddy color) instead

> of going through sugar.profile, they will get outdated settings until
> they port.
>

I think we should port sugar.profile to use GSettings,
then you have all the activities using it ported.

In fact, we should use add a glib signal in profile to update the data
if GSetting has changed. In this way, we can cache the value in profile
and don't do the query every time, and activities/code where we need update
the value can use that signal and not need use GSettings in every place.
Right now, we query a lot GConf, mostly to get the user color.


> * Remove support for multiple profiles. sugar-build is already
> providing it on the base of xdg directories and it's a developer only
> feature afaik.
>

This is a nice thing to support if possible. At times you need test by
example
collaboration and is very useful.

Gonzalo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20121217/dd5aa536/attachment.html>


More information about the Sugar-devel mailing list