- 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
This commit is contained in:
Jack Jansen 1997-06-12 10:49:13 +00:00
parent 455838a217
commit caa7c46ac4
2 changed files with 27 additions and 21 deletions

View file

@ -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