Commit bd436fbe authored by Jack Jansen's avatar Jack Jansen

Reorganized order of help menu, and don't show Carbon documentation

entries on OS9 (where they are never available, and simply disabling
them might lead people to think otherwise).
parent 0834bbb0
......@@ -285,11 +285,12 @@ class PythonIDE(Wapplication.Application):
self.helpmenu = m = self.gethelpmenu()
docitem = FrameWork.MenuItem(m, "Python Documentation", None, self.domenu_localdocs)
docitem.enable(docs)
doc2item = FrameWork.MenuItem(m, "Apple Developer Documentation", None, self.domenu_appledocs)
FrameWork.Separator(m)
finditem = FrameWork.MenuItem(m, "Lookup in Python Documentation", None, 'lookuppython')
finditem.enable(docs)
find2item = FrameWork.MenuItem(m, "Lookup in Carbon Documentation", None, 'lookupcarbon')
if runningOnOSX():
FrameWork.Separator(m)
doc2item = FrameWork.MenuItem(m, "Apple Developer Documentation", None, self.domenu_appledocs)
find2item = FrameWork.MenuItem(m, "Lookup in Carbon Documentation", None, 'lookupcarbon')
FrameWork.Separator(m)
webitem = FrameWork.MenuItem(m, "Python Documentation on the Web", None, self.domenu_webdocs)
web2item = FrameWork.MenuItem(m, "Python on the Web", None, self.domenu_webpython)
......
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