summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/PythonIDEMain.py
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2002-09-06 23:03:32 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2002-09-06 23:03:32 (GMT)
commit7f677f49ead80c1c81c684d31c0dd9f084a05c25 (patch)
tree27a7a0f42d3c4b8ed5af5bdc1569d4df977737d2 /Mac/Tools/IDE/PythonIDEMain.py
parent25a8f0d5f891eda3a591f808a910cf8884a6da4c (diff)
downloadcpython-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/Tools/IDE/PythonIDEMain.py')
-rw-r--r--Mac/Tools/IDE/PythonIDEMain.py7
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)