mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-04 20:50:58 +00:00
Adding fix for report #5205. Services and Windows menus now should behave correctly.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17741 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
afc30ec329
commit
a09deaeee7
2 changed files with 26 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-09-27 19:29 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/GSNibContainer.m: [GSNibContainer awakeWithContext:]
|
||||
Added code to set the services and windows menus as designated in
|
||||
Gorm. Addresses Report #5205
|
||||
|
||||
2003-09-27 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* Source/NSCell.m (-compare:): Compare the stringValue of
|
||||
|
|
|
@ -136,6 +136,26 @@ static const int currentVersion = 1; // GSNibItem version number...
|
|||
[NSApp setMainMenu: menu];
|
||||
}
|
||||
|
||||
/*
|
||||
* Set the Services menu.
|
||||
* Report #5205, Services/Window menu does not behave correctly.
|
||||
*/
|
||||
menu = [nameTable objectForKey: @"NSServicesMenu"];
|
||||
if (menu != nil && [menu isKindOfClass: [NSMenu class]] == YES)
|
||||
{
|
||||
[NSApp setServicesMenu: menu];
|
||||
}
|
||||
|
||||
/*
|
||||
* Set the Services menu.
|
||||
* Report #5205, Services/Window menu does not behave correctly.
|
||||
*/
|
||||
menu = [nameTable objectForKey: @"NSWindowsMenu"];
|
||||
if (menu != nil && [menu isKindOfClass: [NSMenu class]] == YES)
|
||||
{
|
||||
[NSApp setWindowsMenu: menu];
|
||||
}
|
||||
|
||||
/*
|
||||
* Now tell all the objects that they have been loaded from
|
||||
* a nib.
|
||||
|
|
Loading…
Reference in a new issue