From: Cheryl Sabella Date: Mon, 11 Sep 2017 02:41:10 +0000 (-0400) Subject: bpo-30781: IDLE: Fix help button on configdialog (#3238) X-Git-Tag: v3.7.0a1~81 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3866d9bbcf808cea98b3d00007f9f246b83858ce;p=python 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. --- diff --git a/Lib/idlelib/configdialog.py b/Lib/idlelib/configdialog.py index 604719f045..683c36e977 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