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/ClassBrowser.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/ClassBrowser.py')
-rw-r--r-- | Lib/idlelib/ClassBrowser.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/idlelib/ClassBrowser.py b/Lib/idlelib/ClassBrowser.py index 5be65ef..d09c52f 100644 --- a/Lib/idlelib/ClassBrowser.py +++ b/Lib/idlelib/ClassBrowser.py @@ -56,7 +56,7 @@ class ClassBrowser: self.settitle() top.focus_set() # create scrolled canvas - theme = idleConf.GetOption('main','Theme','name') + theme = idleConf.CurrentTheme() background = idleConf.GetHighlight(theme, 'normal')['background'] sc = ScrolledCanvas(top, bg=background, highlightthickness=0, takefocus=1) sc.frame.pack(expand=1, fill="both") |