Commit 3866d9bb authored by Cheryl Sabella's avatar Cheryl Sabella Committed by Terry Jan Reedy

bpo-30781: IDLE: Fix help button on configdialog (#3238)

This fixes an omission in the ttk conversion patch for this issue, hence no new news.
Patch by Cheryl Sabella.
parent 58fc71c4
...@@ -187,12 +187,12 @@ class ConfigDialog(Toplevel): ...@@ -187,12 +187,12 @@ class ConfigDialog(Toplevel):
"""Create textview for config dialog help. """Create textview for config dialog help.
Attrbutes accessed: Attrbutes accessed:
tab_pages note
Methods: Methods:
view_text: Method from textview module. 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', view_text(self, title='Help for IDLE preferences',
text=help_common+help_pages.get(page, '')) text=help_common+help_pages.get(page, ''))
...@@ -2104,7 +2104,7 @@ machine. Some do not take affect until IDLE is restarted. ...@@ -2104,7 +2104,7 @@ machine. Some do not take affect until IDLE is restarted.
[Cancel] only cancels changes made since the last save. [Cancel] only cancels changes made since the last save.
''' '''
help_pages = { help_pages = {
'Highlighting': ''' 'Highlights': '''
Highlighting: Highlighting:
The IDLE Dark color theme is new in October 2015. It can only 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 be used with older IDLE releases if it is saved as a custom
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment