mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 20:01:11 +00:00
Recognize "Window" as windows menu (for menus ported from macosx)
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@6153 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
9823cba8d9
commit
dc9e1e6615
1 changed files with 3 additions and 1 deletions
|
@ -1699,7 +1699,9 @@ NSAssert([event retainCount] > 0, NSInternalInconsistencyException);
|
|||
for (i = 0; i < j; ++i)
|
||||
{
|
||||
anItem = [menuItems objectAtIndex: i];
|
||||
if ([[anItem title] compare: @"Windows"] == NSOrderedSame)
|
||||
/* "Window" is for compatibility with menus ported from apple */
|
||||
if (([[anItem title] compare: @"Windows"] == NSOrderedSame)
|
||||
|| ([[anItem title] compare: @"Window"] == NSOrderedSame))
|
||||
{
|
||||
windows_menu = anItem;
|
||||
break;
|
||||
|
|
Loading…
Reference in a new issue