mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 05:00:38 +00:00
* Source/GSNibLoading.m: Read objects/accessibility and oids
maps if we are in a gui builder so that data is accessible. * Source/NSActionCell.m: Don't archive target/action if they have no values. * Source/NSMenu.m: Only archive as "_NSMainMenu" if it has no parent and is not owner by a popup. * Source/NSPopUpButtonCell.m: Archive the default menu item which will show when this popup is displayed. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@27363 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
232de18e5e
commit
555fc13e2e
5 changed files with 65 additions and 33 deletions
|
@ -1058,6 +1058,11 @@ static NSImage *_pbc_image[5];
|
|||
{
|
||||
[aCoder encodeObject: _menu forKey: @"NSMenu"];
|
||||
}
|
||||
|
||||
if (_menuItem != nil)
|
||||
{
|
||||
[aCoder encodeObject: _menuItem forKey: @"NSMenuItem"];
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue