diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 2002-09-06 23:03:32 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 2002-09-06 23:03:32 (GMT) |
commit | 7f677f49ead80c1c81c684d31c0dd9f084a05c25 (patch) | |
tree | 27a7a0f42d3c4b8ed5af5bdc1569d4df977737d2 /Mac | |
parent | 25a8f0d5f891eda3a591f808a910cf8884a6da4c (diff) | |
download | cpython-7f677f49ead80c1c81c684d31c0dd9f084a05c25.zip cpython-7f677f49ead80c1c81c684d31c0dd9f084a05c25.tar.gz cpython-7f677f49ead80c1c81c684d31c0dd9f084a05c25.tar.bz2 |
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).
Diffstat (limited to 'Mac')
-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) |