summaryrefslogtreecommitdiff
path: root/Lib/idlelib/EditorWindow.py
diff options
context:
space:
mode:
authorTerry Jan Reedy <tjreedy@udel.edu>2015-11-12 15:03:30 -0500
committerTerry Jan Reedy <tjreedy@udel.edu>2015-11-12 15:03:30 -0500
commit4df5c7aa30d4e8cc3542cff3d2a31c08fa16cbc5 (patch)
tree231a0a9824f9e50fc7ab1999567dc6cb7d354440 /Lib/idlelib/EditorWindow.py
parentd5c075143b9fc133b206229c6d86cd6a0c46364a (diff)
parente19f3ec07228aeaa9bd1379413a3054953a5c51e (diff)
downloadcpython-git-4df5c7aa30d4e8cc3542cff3d2a31c08fa16cbc5.tar.gz
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 34ef89d06e..58a01dc1a2 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')