Re: dconf



On 04/16/2009 06:17 PM, Rodrigo Moya wrote:
On Tue, 2009-04-07 at 10:23 -0400, Ryan Lortie wrote:
Callum McKenzie wrote:
Can current gconf settings be easily loaded into dconf? e.g. can someone
launching into a gnome 3.0, dconf-based, system for the first time still
have the same wallpaper settings as they did before?

I'm assuming that a) the settings still make sense and b) that the
application can provide a mapping between old and new settings.
Yes, but currently this would have to be completely manual and would
require the application to link to both dconf and GConf.  This sucks.

I guess a good solution would be to provide some easy-to-use framework
by which applications could have migration scripts in python or
something.  That way the application itself doesn't need to do GConf,
but the python script can if GConf is still installed.

Ideas are definitely welcome in this direction.

there could be a process started by gnome-shell that just migrates the
whole GConf database to dconf? or is this automatic migration not
possible?

Definitely possible. But I'm yet to see a reason why a fully API-compatible gconf client can't be written on top of dconf. And when that happens, we can mount the current gconf tree under dconf's /org/gnome transparently and not have to worry as much.

My .02CAD
behdad


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