An exception to the broken gconf is gnome-tweak-tool which is still able
to set gconf values (like the previously mentioned window theme). gnome-
tweak-tool uses the following code:
from gi.repository import GConf
class GConfSetting:
def __init__(self, key, _type):
self._key = key
self._type = _type
assert(self._type in (str, bool))
self._client = GConf.Client.get_default()
def set_value(self, value):
if self._type == bool:
self._client.set_bool(self._key, value)
elif self._type == str:
self._client.set_string(self._key, value)
else:
assert(False)
** Bug watch added: GNOME Bug Tracker #656873
https://bugzilla.gnome.org/show_bug.cgi?id=656873
** Also affects: gconf via
https://bugzilla.gnome.org/show_bug.cgi?id=656873
Importance: Unknown
Status: Unknown
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/836443
Title:
[oneiric] gconf settings don't get set properly
To manage notifications about this bug go to:
https://bugs.launchpad.net/gconf/+bug/836443/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs