mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 10:10:59 +00:00
* Source/NSTableView.m:
* Source/GSNibLoading.m: Move -[coder setClassName: @"_NSCornerView" forClass: [GSTableCornerView class]] call from -[NSTableView initWithCoder:] to GSNibLoading, because corner views can be encountered before hitting -[NSTableView initWithCoder:] git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@34919 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
2a07533d00
commit
ad80fdd717
3 changed files with 15 additions and 2 deletions
12
ChangeLog
12
ChangeLog
|
@ -1,3 +1,15 @@
|
|||
2012-03-09 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSTableView.m:
|
||||
* Source/GSNibLoading.m: Move -[coder setClassName: @"_NSCornerView"
|
||||
forClass: [GSTableCornerView class]] call from
|
||||
-[NSTableView initWithCoder:] to GSNibLoading, because corner views
|
||||
can be encountered before hitting -[NSTableView initWithCoder:]
|
||||
|
||||
2012-03-09 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSClipView.m: Re-enable copy-on-scroll
|
||||
|
||||
2012-03-09 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Source/NSWindow.m: Only invoke -prepareForDragOperation: if the
|
||||
|
|
|
@ -1738,6 +1738,9 @@ static BOOL _isInInterfaceBuilder = NO;
|
|||
NSArray *accessibilityOidsKeys = nil;
|
||||
NSArray *accessibilityOidsValues = nil;
|
||||
|
||||
[(NSKeyedUnarchiver *)coder setClass: NSClassFromString(@"GSTableCornerView")
|
||||
forClassName: @"_NSCornerView"];
|
||||
|
||||
//
|
||||
// Get root, font, framwork and oid.
|
||||
// Retain objects since NSKeyedUnarchiver autoreleases unarchived objects.
|
||||
|
|
|
@ -5573,8 +5573,6 @@ This method is deprecated, use -columnIndexesInRect:. */
|
|||
[self setRowHeight: [aDecoder decodeFloatForKey: @"NSRowHeight"]];
|
||||
}
|
||||
|
||||
[(NSKeyedUnarchiver *)aDecoder setClass: [GSTableCornerView class]
|
||||
forClassName: @"_NSCornerView"];
|
||||
if ([aDecoder containsValueForKey: @"NSCornerView"])
|
||||
{
|
||||
NSView *aView = [aDecoder decodeObjectForKey: @"NSCornerView"];
|
||||
|
|
Loading…
Reference in a new issue