diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1997-06-12 10:49:13 +0000 |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1997-06-12 10:49:13 +0000 |
commit | caa7c46ac4152748daad7ae06d7a555838548d17 (patch) | |
tree | 7984ea653a842776ee26b0328d8b61181db2cc44 /Mac/Python/macmain.c | |
parent | 455838a217473fef352deb2ecbda821c066a1869 (diff) | |
download | cpython-git-caa7c46ac4152748daad7ae06d7a555838548d17.tar.gz |
- Restore SIOUX menubar just before exiting, if the console window is kept
open (so the user can quit with cmd-Q, print, etc)
- Removed a few unused routines
Diffstat (limited to 'Mac/Python/macmain.c')
-rw-r--r-- | Mac/Python/macmain.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Mac/Python/macmain.c b/Mac/Python/macmain.c index 8fd7bd20ea..49563a3796 100644 --- a/Mac/Python/macmain.c +++ b/Mac/Python/macmain.c @@ -214,6 +214,7 @@ init_common(int *argcp, char ***argvp, int embedded) #ifdef USE_SIOUX /* Set various SIOUX flags. Some are changed later based on options */ +/* SIOUXSettings.standalone = 0; /* XXXX Attempting to keep sioux from eating events */ SIOUXSettings.asktosaveonclose = 0; SIOUXSettings.showstatusline = 0; SIOUXSettings.tabspaces = 4; @@ -462,6 +463,7 @@ PyMac_Exit(status) SIOUXSettings.standalone = 1; SIOUXSettings.autocloseonquit = 0; SIOUXSetTitle("\p\307terminated\310"); + PyMac_RestoreMenuBar(); #ifdef USE_MSL /* ** Temporary workaround: autocloseonquit clearing does not |