117 |
|
|
118 |
[ws getInfoForFile: myPath application: &defApp type: &type]; |
[ws getInfoForFile: myPath application: &defApp type: &type]; |
119 |
ASSIGN (myType, type); |
ASSIGN (myType, type); |
120 |
isPakage = [gw isPakageAtPath: myPath]; |
isPakage = [GWLib isPakageAtPath: myPath]; |
121 |
|
|
122 |
ASSIGN (icon, [gw iconForFile: myPath ofType: myType]); |
ASSIGN (icon, [GWLib iconForFile: myPath ofType: myType]); |
123 |
|
|
124 |
if ([myType isEqualToString: NSApplicationFileType] == NO) { |
if ([myType isEqualToString: NSApplicationFileType] == NO) { |
125 |
NSString *name; |
NSString *name; |
502 |
if(isDragTarget == YES) { |
if(isDragTarget == YES) { |
503 |
isDragTarget = NO; |
isDragTarget = NO; |
504 |
if ([myType isEqualToString: NSApplicationFileType] == NO) { |
if ([myType isEqualToString: NSApplicationFileType] == NO) { |
505 |
ASSIGN (icon, [gw iconForFile: myPath ofType: myType]); |
ASSIGN (icon, [GWLib iconForFile: myPath ofType: myType]); |
506 |
[self setNeedsDisplay: YES]; |
[self setNeedsDisplay: YES]; |
507 |
} |
} |
508 |
} |
} |
530 |
NSMutableArray *files; |
NSMutableArray *files; |
531 |
int tag; |
int tag; |
532 |
|
|
533 |
ASSIGN (icon, [gw iconForFile: myPath ofType: myType]); |
ASSIGN (icon, [GWLib iconForFile: myPath ofType: myType]); |
534 |
[self setNeedsDisplay: YES]; |
[self setNeedsDisplay: YES]; |
535 |
|
|
536 |
source = [[sourcePaths objectAtIndex: 0] stringByDeletingLastPathComponent]; |
source = [[sourcePaths objectAtIndex: 0] stringByDeletingLastPathComponent]; |