Updated NSBundleAdditions with bug fix so that NSOwner's awakeFromNib is called.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14173 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2002-07-18 13:46:41 +00:00
parent d617658a43
commit 61cd8f4f97
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2002-07-18 Gregory John Casamento <greg_casamento@yahoo.com>
* NSBundleAdditions.m: (-[awakeWithContext:]) Corrected
a problem in this method which was preventing awakeFromNib
from being called on NSOwner. I have confirmed that this
is the correct behavior on OPENSTEP 4.2/Mach.
2002-07-18 Gregory John Casamento <greg_casamento@yahoo.com>
* Source/NSOutlineView.m: Removed an extraneous NSLog.

View file

@ -503,7 +503,8 @@ Class gmodel_class(void)
enumerator = [nameTable keyEnumerator];
while ((key = [enumerator nextObject]) != nil)
{
if ([context objectForKey: key] == nil)
if ([context objectForKey: key] == nil ||
[key isEqualToString: @"NSOwner"]) // we want to send the message to the owner
{
id o;