Fixes for Windows menu in translated applications

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12033 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-01-07 19:58:53 +00:00
parent b199ab97da
commit 5ec2b71c98

View file

@ -1,3 +1,16 @@
Mon Jan 7 17:35:30 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Headers/gnustep/gui/NSApplication.h (_windows_menu): Changed to
be an NSMenu * instead of a NSMenuItem *. This is more logical
since often the windows menu is set before the main menu is
created.
* Source/NSApplication.m: Updated for change in ivar.
([-setWindowsMenu:]), ([-setMainMenu:]): Simplified a lot. All
code dependent on the name of the 'Windows' menu was removed as
too complex and unreliable when the application is translated.
All applications are now required to create the Windows menu
themselves, and to call setWindowsMenu: to have it used.
Mon Jan 7 16:05:19 2002 Nicola Pero <n.pero@mi.flashnet.it>
* Source/NSApplication.m ([-setMainMenu:]): Only manually set a