From: Kurt B. Kaiser Date: Thu, 12 Jun 2003 04:03:49 +0000 (+0000) Subject: 1. Remove the Readme entry on the Help Menu, now in About dialog. X-Git-Tag: v2.3c1~481 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d78b23025c9c9f6288e14112411d83f44bcf85a8;p=python 1. Remove the Readme entry on the Help Menu, now in About dialog. 2. Change title on About dialog. Modified Files: Bindings.py EditorWindow.py --- diff --git a/Lib/idlelib/Bindings.py b/Lib/idlelib/Bindings.py index e11aec595d..af6ec56bc3 100644 --- a/Lib/idlelib/Bindings.py +++ b/Lib/idlelib/Bindings.py @@ -70,12 +70,9 @@ menudefs = [ ]), ('options', [ ('_Configure IDLE...', '<>'), -## None, -## ('Revert to _Default Settings', '<>'), ]), ('help', [ ('_About IDLE', '<>'), - ('IDLE _Readme', '<>'), None, ('_IDLE Help', '<>'), ('Python _Docs', '<>'), diff --git a/Lib/idlelib/EditorWindow.py b/Lib/idlelib/EditorWindow.py index c63823aa70..6deb4f2f9a 100644 --- a/Lib/idlelib/EditorWindow.py +++ b/Lib/idlelib/EditorWindow.py @@ -106,7 +106,6 @@ class EditorWindow: text.bind("<>", self.paste) text.bind("<>", self.center_insert_event) text.bind("<>", self.help_dialog) - text.bind("<>", self.view_readme) text.bind("<>", self.python_docs) text.bind("<>", self.about_dialog) text.bind("<>", self.config_dialog) @@ -297,15 +296,11 @@ class EditorWindow: self.rmenu = rmenu def about_dialog(self, event=None): - aboutDialog.AboutDialog(self.top,'About IDLEfork') + aboutDialog.AboutDialog(self.top,'About IDLE') def config_dialog(self, event=None): configDialog.ConfigDialog(self.top,'Settings') - def view_readme(self, event=None): - fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),'README.txt') - textView.TextViewer(self.top,'IDLEfork - README',fn) - def help_dialog(self, event=None): fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),'help.txt') textView.TextViewer(self.top,'Help',fn)