diff options
Diffstat (limited to 'Mac/Tools/IDE/PythonIDEMain.py')
-rw-r--r-- | Mac/Tools/IDE/PythonIDEMain.py | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/Mac/Tools/IDE/PythonIDEMain.py b/Mac/Tools/IDE/PythonIDEMain.py index 365082d..c79d9fc 100644 --- a/Mac/Tools/IDE/PythonIDEMain.py +++ b/Mac/Tools/IDE/PythonIDEMain.py @@ -82,6 +82,8 @@ class PythonIDE(Wapplication.Application): saveasitem = FrameWork.MenuItem(m, "Save as"+ELIPSES, None, 'save_as') FrameWork.Separator(m) saveasappletitem = FrameWork.MenuItem(m, "Save as Applet"+ELIPSES, None, 'save_as_applet') + FrameWork.Separator(m) + instmgritem = FrameWork.MenuItem(m, "Package Manager", None, 'openpackagemanager') if not runningOnOSX(): # On OSX there's a special "magic" quit menu, so we shouldn't add # it to the File menu. @@ -308,6 +310,11 @@ class PythonIDE(Wapplication.Application): sys.__stderr__.write("*** PythonIDE: Can't write preferences ***\n") self.quitting = 1 + def domenu_openpackagemanager(self): + import PackageManager + PackageManager.PackageBrowser() + print "Done" + def makehelpmenu(self): docs = self.installdocumentation() self.helpmenu = m = self.gethelpmenu() |