summaryrefslogtreecommitdiffstats
path: root/Mac/Tools
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2003-03-31 15:11:14 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2003-03-31 15:11:14 (GMT)
commitaca44e277170fed72668ba18430c8b53c7f6f499 (patch)
treef3ab308c2316a70d59481ef6279c2ce9ca7cf52f /Mac/Tools
parent71ad9fb74ff367e0c89f3fce34febd4eae2a4e2b (diff)
downloadcpython-aca44e277170fed72668ba18430c8b53c7f6f499.zip
cpython-aca44e277170fed72668ba18430c8b53c7f6f499.tar.gz
cpython-aca44e277170fed72668ba18430c8b53c7f6f499.tar.bz2
Added a File->Generate OSA Suite command.
Diffstat (limited to 'Mac/Tools')
-rw-r--r--Mac/Tools/IDE/PythonIDEMain.py5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/PythonIDEMain.py b/Mac/Tools/IDE/PythonIDEMain.py
index fec8620..fa71cb7 100644
--- a/Mac/Tools/IDE/PythonIDEMain.py
+++ b/Mac/Tools/IDE/PythonIDEMain.py
@@ -86,6 +86,7 @@ class PythonIDE(Wapplication.Application):
saveasappletitem = FrameWork.MenuItem(m, "Save as Applet"+ELIPSES, None, 'save_as_applet')
FrameWork.Separator(m)
instmgritem = FrameWork.MenuItem(m, "Package Manager", None, 'openpackagemanager')
+ gensuiteitem = FrameWork.MenuItem(m, "Generate OSA Suite...", None, 'gensuite')
if not runningOnOSX():
# On OSX there's a special "magic" quit menu, so we shouldn't add
# it to the File menu.
@@ -352,6 +353,10 @@ class PythonIDE(Wapplication.Application):
import PackageManager
PackageManager.PackageBrowser()
+ def domenu_gensuite(self):
+ import gensuitemodule
+ gensuitemodule.main_interactive()
+
def makehelpmenu(self):
hashelp, hasdocs = self.installdocumentation()
self.helpmenu = m = self.gethelpmenu()