]> granicus.if.org Git - python/commit
The new menu initialization code would also add the SIOUX menus if a (frozen) Python...
authorJack Jansen <jack.jansen@cwi.nl>
Mon, 10 Dec 2001 16:08:14 +0000 (16:08 +0000)
committerJack Jansen <jack.jansen@cwi.nl>
Mon, 10 Dec 2001 16:08:14 +0000 (16:08 +0000)
commit52306a780b622ebe90f80f4296a311e6921d274a
tree538e894de73b43030e55857898749f68b05f4451
parent1d961f5e5fb80a77f37cbdf350e78718e6131abf
The new menu initialization code would also add the SIOUX menus if a (frozen) Python program had installed its own menubar previously. We now guard against this, with a bit of a hack: FrameWork uses the same Menu ID as Sioux, and the init code checks that the text in the menu is "About SIOUX" before replacing it.
Mac/Lib/FrameWork.py
Mac/Python/macglue.c