GNOME Bugzilla – Bug 662766
Port to GSettings
Last modified: 2012-08-24 23:39:06 UTC
Migrating from GConf to GSettings is an official GNOME goal now. http://live.gnome.org/GnomeGoals/GSettingsMigration
Does anybody work on this / will this really happen for 3.4 ("GNOME Target" field) or shall this be postponed to 3.6?
Hmm. Not working as expected. Nobody worked on this AFAIK.
André, Bastein, I will take this. I am going to create these keys and its schema: share-enabled org.gnome.desktop.lockdown require_password org.gnome.desktop.lockdown bluetooth_enabled org.gnome.desktop.lockdown bluetooth_allow_write org.gnome.desktop.lockdown bluetooth_require_pairing org.gnome.desktop.lockdown bluetooth_obexpush_enabled org.gnome.desktop.lockdown bluetooth_accept_files org.gnome.desktop.lockdown bluetooth_notify org.gnome.desktop.lockdown Julita
Created attachment 211439 [details] [review] Creating the key called bluetooth-enable preference. The schema created was called 'org.gnome.desktop.share.gschema.xml'. It must be stored in '/usr/bin' and must be compiled by doing: glib-compile-schemas. This is its content: <?xml version="1.0" encoding="UTF-8"?> <schemalist gettext-domain="gsettings-desktop-schemas"> <schema path="/org/gnome/desktop/share/" id="org.gnome.desktop.share"> <key type="b" name="bluetooth-enable"> <default>true</default> <summary>Activate Bluetooth</summary> <description>Enables sharing trough Bluetooth.</description> </key> </schema> </schemalist>
Created attachment 215524 [details] [review] Port to settings Since it seems that no progress in this bug, I took a look on it and write this patch. It's a 1:1 port to GSettings: I didn't took account on lockdown issues, reorganization of keys or other non related stuff. The patch is pretty straightforward, it took me about 1 hour and the bugzilla was down at that time, because of this I couldn't read any previous comments. Sorry if I stepped on others work.
Would be nice to get this in for 3.6, to make the gsettings migration story more complete.
This was committed today