mirror of https://github.com/python/cpython
Added a File->Generate OSA Suite command.
This commit is contained in:
parent
71ad9fb74f
commit
aca44e2771
|
@ -86,6 +86,7 @@ class PythonIDE(Wapplication.Application):
|
||||||
saveasappletitem = FrameWork.MenuItem(m, "Save as Applet"+ELIPSES, None, 'save_as_applet')
|
saveasappletitem = FrameWork.MenuItem(m, "Save as Applet"+ELIPSES, None, 'save_as_applet')
|
||||||
FrameWork.Separator(m)
|
FrameWork.Separator(m)
|
||||||
instmgritem = FrameWork.MenuItem(m, "Package Manager", None, 'openpackagemanager')
|
instmgritem = FrameWork.MenuItem(m, "Package Manager", None, 'openpackagemanager')
|
||||||
|
gensuiteitem = FrameWork.MenuItem(m, "Generate OSA Suite...", None, 'gensuite')
|
||||||
if not runningOnOSX():
|
if not runningOnOSX():
|
||||||
# On OSX there's a special "magic" quit menu, so we shouldn't add
|
# On OSX there's a special "magic" quit menu, so we shouldn't add
|
||||||
# it to the File menu.
|
# it to the File menu.
|
||||||
|
@ -352,6 +353,10 @@ class PythonIDE(Wapplication.Application):
|
||||||
import PackageManager
|
import PackageManager
|
||||||
PackageManager.PackageBrowser()
|
PackageManager.PackageBrowser()
|
||||||
|
|
||||||
|
def domenu_gensuite(self):
|
||||||
|
import gensuitemodule
|
||||||
|
gensuitemodule.main_interactive()
|
||||||
|
|
||||||
def makehelpmenu(self):
|
def makehelpmenu(self):
|
||||||
hashelp, hasdocs = self.installdocumentation()
|
hashelp, hasdocs = self.installdocumentation()
|
||||||
self.helpmenu = m = self.gethelpmenu()
|
self.helpmenu = m = self.gethelpmenu()
|
||||||
|
|
Loading…
Reference in New Issue