summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-11-12 20:03:30 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2015-11-12 20:03:30 (GMT)
commit4df5c7aa30d4e8cc3542cff3d2a31c08fa16cbc5 (patch)
tree231a0a9824f9e50fc7ab1999567dc6cb7d354440 /Lib/idlelib/EditorWindow.py
parentd5c075143b9fc133b206229c6d86cd6a0c46364a (diff)
parente19f3ec07228aeaa9bd1379413a3054953a5c51e (diff)
downloadcpython-4df5c7aa30d4e8cc3542cff3d2a31c08fa16cbc5.zip
cpython-4df5c7aa30d4e8cc3542cff3d2a31c08fa16cbc5.tar.gz
cpython-4df5c7aa30d4e8cc3542cff3d2a31c08fa16cbc5.tar.bz2
Merge with 3.5
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')