summaryrefslogtreecommitdiffstats
path: root/Lib/idlelib
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2017-09-11 03:19:35 (GMT)
committerTerry Jan Reedy <tjreedy@udel.edu>2017-09-11 03:19:35 (GMT)
commit4a8b53a2083506ee13ff2eba2c14264f5a7faa91 (patch)
tree12dd1ad78270cbf9dd3b9c09087e80cacfd78d97 /Lib/idlelib
parent2a0f7c34c386dc80519da6c3fb150f081943f204 (diff)
downloadcpython-4a8b53a2083506ee13ff2eba2c14264f5a7faa91.zip
cpython-4a8b53a2083506ee13ff2eba2c14264f5a7faa91.tar.gz
cpython-4a8b53a2083506ee13ff2eba2c14264f5a7faa91.tar.bz2
[3.6] bpo-30781: IDLE: Fix help button on configdialog (GH-3238) (#3489)
This fixes an omission in the ttk conversion patch for this issue, hence no new news. Patch by Cheryl Sabella. (cherry picked from commit 3866d9bbcf808cea98b3d00007f9f246b83858ce)
Diffstat (limited to 'Lib/idlelib')
-rw-r--r--Lib/idlelib/configdialog.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py
index 604719f..683c36e 100644
--- a/Lib/idlelib/configdialog.py
+++ b/Lib/idlelib/configdialog.py
@@ -187,12 +187,12 @@ class ConfigDialog(Toplevel):
"""Create textview for config dialog help.
Attrbutes accessed:
- tab_pages
+ note
Methods:
view_text: Method from textview module.
"""
- page = self.tab_pages._current_page
+ page = self.note.tab(self.note.select(), option='text').strip()
view_text(self, title='Help for IDLE preferences',
text=help_common+help_pages.get(page, ''))
@@ -2104,7 +2104,7 @@ machine. Some do not take affect until IDLE is restarted.
[Cancel] only cancels changes made since the last save.
'''
help_pages = {
- 'Highlighting': '''
+ 'Highlights': '''
Highlighting:
The IDLE Dark color theme is new in October 2015. It can only
be used with older IDLE releases if it is saved as a custom