diff options
author | Terry Jan Reedy <tjreedy@udel.edu> | 2015-11-12 20:02:57 (GMT) |
---|---|---|
committer | Terry Jan Reedy <tjreedy@udel.edu> | 2015-11-12 20:02:57 (GMT) |
commit | d0c0f0041c3eb561adfa57179bc41f4dae212317 (patch) | |
tree | 5c9d1a6b937f7f89aff55ffcb21802aacf95d875 /Lib/idlelib/EditorWindow.py | |
parent | 84023247b432afba7075e87090986bca72a0e8b0 (diff) | |
download | cpython-d0c0f0041c3eb561adfa57179bc41f4dae212317.zip cpython-d0c0f0041c3eb561adfa57179bc41f4dae212317.tar.gz cpython-d0c0f0041c3eb561adfa57179bc41f4dae212317.tar.bz2 |
Issue #25313: Change the handling of new built-in text color themes to better
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
Diffstat (limited to 'Lib/idlelib/EditorWindow.py')
-rw-r--r-- | Lib/idlelib/EditorWindow.py | 2 |
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') |