Commit d78b2302 authored by Kurt B. Kaiser's avatar Kurt B. Kaiser

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
parent abe14e6f
...@@ -70,12 +70,9 @@ menudefs = [ ...@@ -70,12 +70,9 @@ menudefs = [
]), ]),
('options', [ ('options', [
('_Configure IDLE...', '<<open-config-dialog>>'), ('_Configure IDLE...', '<<open-config-dialog>>'),
## None,
## ('Revert to _Default Settings', '<<revert-all-settings>>'),
]), ]),
('help', [ ('help', [
('_About IDLE', '<<about-idle>>'), ('_About IDLE', '<<about-idle>>'),
('IDLE _Readme', '<<view-readme>>'),
None, None,
('_IDLE Help', '<<help>>'), ('_IDLE Help', '<<help>>'),
('Python _Docs', '<<python-docs>>'), ('Python _Docs', '<<python-docs>>'),
......
...@@ -106,7 +106,6 @@ class EditorWindow: ...@@ -106,7 +106,6 @@ class EditorWindow:
text.bind("<<paste>>", self.paste) text.bind("<<paste>>", self.paste)
text.bind("<<center-insert>>", self.center_insert_event) text.bind("<<center-insert>>", self.center_insert_event)
text.bind("<<help>>", self.help_dialog) text.bind("<<help>>", self.help_dialog)
text.bind("<<view-readme>>", self.view_readme)
text.bind("<<python-docs>>", self.python_docs) text.bind("<<python-docs>>", self.python_docs)
text.bind("<<about-idle>>", self.about_dialog) text.bind("<<about-idle>>", self.about_dialog)
text.bind("<<open-config-dialog>>", self.config_dialog) text.bind("<<open-config-dialog>>", self.config_dialog)
...@@ -297,15 +296,11 @@ class EditorWindow: ...@@ -297,15 +296,11 @@ class EditorWindow:
self.rmenu = rmenu self.rmenu = rmenu
def about_dialog(self, event=None): def about_dialog(self, event=None):
aboutDialog.AboutDialog(self.top,'About IDLEfork') aboutDialog.AboutDialog(self.top,'About IDLE')
def config_dialog(self, event=None): def config_dialog(self, event=None):
configDialog.ConfigDialog(self.top,'Settings') 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): def help_dialog(self, event=None):
fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),'help.txt') fn=os.path.join(os.path.abspath(os.path.dirname(__file__)),'help.txt')
textView.TextViewer(self.top,'Help',fn) textView.TextViewer(self.top,'Help',fn)
......
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