GNOME Bugzilla – Bug 634002
Python Console plugin gconf error
Last modified: 2019-03-23 20:35:24 UTC
Created attachment 173828 [details] [review] python console config patch On Ubuntu 10.10 (gedit 2.30.4), when configuring the Python Console plugin, color changes give a python NameError: Traceback (most recent call last):
+ Trace 224489
self.config.color_command = colorbutton.get_color().to_string()
lambda self, value: self.gconf_set_str(GCONF_KEY_COMMAND_COLOR, value))
v = PythonConsoleConfig.gconf.Value(gconf.VALUE_STRING)
This can be fixed by including the prefix PythonConsoleConfig. to two of the gconf references in /usr/lib/gedit-2/plugins/pythonconsole/config.py . Jason Conti provided a fix at the Launchpad bug (https://bugs.launchpad.net/bugs/654867) and I'm attaching the patch here.
Python Console doesn't use gconf anymore so I'm closing this as obsolete.