summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-11-12 20:03:17 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-11-12 20:03:17 (GMT)
commite19f3ec07228aeaa9bd1379413a3054953a5c51e (patch)
tree958f95fe937af722c99f472ed2c9f1bc83880e8b /Lib/idlelib/EditorWindow.py
parent2f85555531c79184767d4954f20e310beda99421 (diff)
parentd0c0f0041c3eb561adfa57179bc41f4dae212317 (diff)
downloadcpython-e19f3ec07228aeaa9bd1379413a3054953a5c51e.zip
cpython-e19f3ec07228aeaa9bd1379413a3054953a5c51e.tar.gz
cpython-e19f3ec07228aeaa9bd1379413a3054953a5c51e.tar.bz2
Merge with 3.4
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r--Lib/idlelib/EditorWindow.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py
index 34ef89d..58a01dc 100644
--- a/Lib/idlelib/EditorWindow.py
+++ b/Lib/idlelib/EditorWindow.py
@@ -739,7 +739,7 @@ class EditorWindow(object):
# Called from self.filename_change_hook and from configDialog.py
self._rmcolorizer()
self._addcolorizer()
- theme = idleConf.GetOption('main','Theme','name')
+ theme = idleConf.CurrentTheme()
normal_colors = idleConf.GetHighlight(theme, 'normal')
cursor_color = idleConf.GetHighlight(theme, 'cursor', fgBg='fg')
select_colors = idleConf.GetHighlight(theme, 'hilite')