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).
This commit is contained in:
parent
25a8f0d5f8
commit
7f677f49ea
|
@ -285,10 +285,11 @@ 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)
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue