* 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:
gcasa 2008-12-21 03:11:08 +00:00
parent a57d14d144
commit 2d2b5d17e0
5 changed files with 65 additions and 33 deletions

View file

@ -1058,6 +1058,11 @@ static NSImage *_pbc_image[5];
{
[aCoder encodeObject: _menu forKey: @"NSMenu"];
}
if (_menuItem != nil)
{
[aCoder encodeObject: _menuItem forKey: @"NSMenuItem"];
}
}
else
{