]> granicus.if.org Git - python/commitdiff
1. Remove the Readme entry on the Help Menu, now in About dialog.
authorKurt B. Kaiser <kbk@shore.net>
Thu, 12 Jun 2003 04:03:49 +0000 (04:03 +0000)
committerKurt B. Kaiser <kbk@shore.net>
Thu, 12 Jun 2003 04:03:49 +0000 (04:03 +0000)
2. Change title on About dialog.
 Modified Files:
  Bindings.py EditorWindow.py

Lib/idlelib/Bindings.py
Lib/idlelib/EditorWindow.py

index e11aec595d310ad8be5bd3d488635fbfc94e413f..af6ec56bc32a3c6d009c41e0fec196c5d06b1219 100644 (file)
@@ -70,12 +70,9 @@ menudefs = [
    ]),
  ('options', [
    ('_Configure IDLE...', '<<open-config-dialog>>'),
-##   None,
-##   ('Revert to _Default Settings', '<<revert-all-settings>>'),
    ]),
  ('help', [
    ('_About IDLE', '<<about-idle>>'),
-   ('IDLE _Readme', '<<view-readme>>'),
    None,
    ('_IDLE Help', '<<help>>'),
    ('Python _Docs', '<<python-docs>>'),
index c63823aa708dc25e9f64925e5fe0efb258786b60..6deb4f2f9a34d07eca70fbcf585ab51cdc9b026a 100644 (file)
@@ -106,7 +106,6 @@ class EditorWindow:
         text.bind("<<paste>>", self.paste)
         text.bind("<<center-insert>>", self.center_insert_event)
         text.bind("<<help>>", self.help_dialog)
-        text.bind("<<view-readme>>", self.view_readme)
         text.bind("<<python-docs>>", self.python_docs)
         text.bind("<<about-idle>>", self.about_dialog)
         text.bind("<<open-config-dialog>>", 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)