Mercurial > cpython-lru_cache-weakref
diff Mac/Python/macglue.c @ 20828:6f259f7bbed8 legacy-trunk
We always install the Sioux menubar, in stead of only when no menubar
was installed previously. This fixes bug #476904, but I'm not 100%
sure it doesn't break anything else. But if it does I'll notice tomorrow
when I try to build GRiNS:-)
| author | Jack Jansen <jack.jansen@cwi.nl> |
|---|---|
| date | Thu, 01 Nov 2001 23:17:35 +0000 |
| parents | 2b581f4c69b4 |
| children | d27ce8fe43f8 |
line wrap: on
line diff
--- a/Mac/Python/macglue.c Thu Nov 01 23:12:27 2001 +0000 +++ b/Mac/Python/macglue.c Thu Nov 01 23:17:35 2001 +0000 @@ -720,7 +720,15 @@ MenuHandle applemenu; if ( sioux_mbar ) return; +#if 0 + /* This code does not seem to work anymore: apparently + ** we now always have a menubar (since MacOS9?). + ** So we simply always setup the Sioux menus here. + */ if ( (sioux_mbar=GetMenuBar()) == NULL ) { +#else + { +#endif /* Sioux menu not installed yet. Do so */ SIOUXSetupMenus(); if ( (sioux_mbar=GetMenuBar()) == NULL )
