From 7f677f49ead80c1c81c684d31c0dd9f084a05c25 Mon Sep 17 00:00:00 2001 From: Jack Jansen Date: Fri, 6 Sep 2002 23:03:32 +0000 Subject: 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). --- Mac/Tools/IDE/PythonIDEMain.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Mac/Tools/IDE/PythonIDEMain.py b/Mac/Tools/IDE/PythonIDEMain.py index d93dc1c..cbaeb87 100644 --- a/Mac/Tools/IDE/PythonIDEMain.py +++ b/Mac/Tools/IDE/PythonIDEMain.py @@ -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) -- cgit v0.12