diff options
Diffstat (limited to 'Mac/Tools/IDE/PythonIDEMain.py')
-rw-r--r-- | Mac/Tools/IDE/PythonIDEMain.py | 7 |
1 files 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) |