summaryrefslogtreecommitdiffstats
path: root/Mac/Python/macmain.c
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>1996-09-06 00:30:45 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>1996-09-06 00:30:45 (GMT)
commit3469e997b4cab1927737d45132b416efc17916bb (patch)
treefd6637a5dc712aba556c446e019159e2c8c70f28 /Mac/Python/macmain.c
parentc204c70c1a8a581ea0458657e81a6716404863f5 (diff)
downloadcpython-3469e997b4cab1927737d45132b416efc17916bb.zip
cpython-3469e997b4cab1927737d45132b416efc17916bb.tar.gz
cpython-3469e997b4cab1927737d45132b416efc17916bb.tar.bz2
Python about box implemented. Slightly convoluted, since (a) we have
to override an internal sioux routine and (b) we have to override the "about sioux" menuitem after sioux has created its menus.
Diffstat (limited to 'Mac/Python/macmain.c')
-rw-r--r--Mac/Python/macmain.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c
index 019e0be..a85f88f 100644
--- a/Mac/Python/macmain.c
+++ b/Mac/Python/macmain.c
@@ -351,6 +351,12 @@ Py_Main(argc, argv)
}
}
+ /*
+ ** For reasons I don't fully understand we cannot insert our
+ ** menu earlier. Leave it here, we hope to be rid of Sioux soon anyway.
+ */
+ PyMac_InitMenuBar();
+
Py_Initialize();
PySys_SetArgv(argc-1, argv+1);