1
Description: Patch to fix ubuntu bug #654867
2
This patch fixes ubuntu bug #654867 by making sure the PythonConsoleConfig
3
gconf class is used in the python console plugin configuration dialog.
4
Patch created by Jason Conti
6
Bug-Ubuntu: https://launchpad.net/bugs/654867
7
--- a/plugins/pythonconsole/pythonconsole/config.py-backup 2010-10-04 17:37:27.634246001 -0400
8
+++ b/plugins/pythonconsole/pythonconsole/config.py 2010-10-04 17:38:39.034246002 -0400
12
val = PythonConsoleConfig.gconf.client_get_default().get(key)
13
- if val is not None and val.type == gconf.VALUE_STRING:
14
+ if val is not None and val.type == PythonConsoleConfig.gconf.VALUE_STRING:
15
return val.get_string()
19
if not PythonConsoleConfig.gconf:
22
- v = PythonConsoleConfig.gconf.Value(gconf.VALUE_STRING)
23
+ v = PythonConsoleConfig.gconf.Value(PythonConsoleConfig.gconf.VALUE_STRING)
25
PythonConsoleConfig.gconf.client_get_default().set(key, v)