mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-15 15:24:03 +00:00
Remove decoding of NSContents
This commit is contained in:
parent
deaae76366
commit
c84fa5a10f
2 changed files with 3 additions and 7 deletions
|
@ -27,7 +27,7 @@
|
||||||
#import "AppKit/NSImage.h"
|
#import "AppKit/NSImage.h"
|
||||||
#import "AppKit/NSPathComponentCell.h"
|
#import "AppKit/NSPathComponentCell.h"
|
||||||
|
|
||||||
Class pathComponentCellClass;
|
static Class pathComponentCellClass;
|
||||||
|
|
||||||
@interface NSPathCell (Private)
|
@interface NSPathCell (Private)
|
||||||
+ (NSArray *) _generateCellsForURL: (NSURL *)url;
|
+ (NSArray *) _generateCellsForURL: (NSURL *)url;
|
||||||
|
@ -236,11 +236,7 @@ Class pathComponentCellClass;
|
||||||
[self setPathComponentCells: [coder decodeObjectForKey: @"NSPathComponentCells"]];
|
[self setPathComponentCells: [coder decodeObjectForKey: @"NSPathComponentCells"]];
|
||||||
}
|
}
|
||||||
|
|
||||||
if ([coder containsValueForKey: @"NSContents"])
|
// [self setURL: [self objectValue]];
|
||||||
{
|
|
||||||
[self setObjectValue: [coder decodeObjectForKey: @"NSContents"]];
|
|
||||||
}
|
|
||||||
|
|
||||||
NSLog(@"OBJECTVALUE = %@", [self objectValue]);
|
NSLog(@"OBJECTVALUE = %@", [self objectValue]);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@
|
||||||
#import "AppKit/NSTrackingArea.h"
|
#import "AppKit/NSTrackingArea.h"
|
||||||
|
|
||||||
static NSNotificationCenter *nc = nil;
|
static NSNotificationCenter *nc = nil;
|
||||||
Class pathCellClass;
|
static Class pathCellClass;
|
||||||
|
|
||||||
@interface NSPathCell (PathControlPrivate)
|
@interface NSPathCell (PathControlPrivate)
|
||||||
- (void) _setClickedPathComponentCell: (NSPathComponentCell *)c;
|
- (void) _setClickedPathComponentCell: (NSPathComponentCell *)c;
|
||||||
|
|
Loading…
Reference in a new issue