mirror of
https://github.com/python/cpython.git
synced 2025-08-27 12:16:04 +00:00
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
This commit is contained in:
parent
abe14e6f04
commit
d78b23025c
2 changed files with 1 additions and 9 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue