94 |
|
|
95 |
[ws getInfoForFile: fullPath application: &defApp type: &t]; |
[ws getInfoForFile: fullPath application: &defApp type: &t]; |
96 |
ASSIGN (type, t); |
ASSIGN (type, t); |
97 |
isPakage = [gw isPakageAtPath: fullPath]; |
isPakage = [GWLib isPakageAtPath: fullPath]; |
98 |
|
|
99 |
} else { |
} else { |
100 |
fullPath = nil; |
fullPath = nil; |
106 |
} |
} |
107 |
|
|
108 |
if (singlepath == YES) { |
if (singlepath == YES) { |
109 |
ASSIGN (icon, [gw iconForFile: fullPath ofType: type]); |
ASSIGN (icon, [GWLib iconForFile: fullPath ofType: type]); |
110 |
} else { |
} else { |
111 |
ASSIGN (icon, [NSImage imageNamed: @"MultipleSelection.tiff"]); |
ASSIGN (icon, [NSImage imageNamed: @"MultipleSelection.tiff"]); |
112 |
} |
} |
188 |
} |
} |
189 |
[ws getInfoForFile: fullPath application: &defApp type: &t]; |
[ws getInfoForFile: fullPath application: &defApp type: &t]; |
190 |
ASSIGN (type, t); |
ASSIGN (type, t); |
191 |
isPakage = [gw isPakageAtPath: fullPath]; |
isPakage = [GWLib isPakageAtPath: fullPath]; |
192 |
} else { |
} else { |
193 |
TEST_RELEASE (fullPath); |
TEST_RELEASE (fullPath); |
194 |
fullPath = nil; |
fullPath = nil; |
200 |
} |
} |
201 |
|
|
202 |
if (singlepath == YES) { |
if (singlepath == YES) { |
203 |
ASSIGN (icon, [gw iconForFile: fullPath ofType: type]); |
ASSIGN (icon, [GWLib iconForFile: fullPath ofType: type]); |
204 |
} else { |
} else { |
205 |
ASSIGN (icon, [NSImage imageNamed: @"MultipleSelection.tiff"]); |
ASSIGN (icon, [NSImage imageNamed: @"MultipleSelection.tiff"]); |
206 |
} |
} |
270 |
- (void)renewIcon |
- (void)renewIcon |
271 |
{ |
{ |
272 |
if (singlepath == YES) { |
if (singlepath == YES) { |
273 |
ASSIGN (icon, [gw iconForFile: fullPath ofType: type]); |
ASSIGN (icon, [GWLib iconForFile: fullPath ofType: type]); |
274 |
} else { |
} else { |
275 |
ASSIGN (icon, [NSImage imageNamed: @"MultipleSelection.tiff"]); |
ASSIGN (icon, [NSImage imageNamed: @"MultipleSelection.tiff"]); |
276 |
} |
} |
659 |
if(isDragTarget == YES) { |
if(isDragTarget == YES) { |
660 |
isDragTarget = NO; |
isDragTarget = NO; |
661 |
if (onSelf == NO) { |
if (onSelf == NO) { |
662 |
ASSIGN (icon, [gw iconForFile: fullPath ofType: type]); |
ASSIGN (icon, [GWLib iconForFile: fullPath ofType: type]); |
663 |
[self setNeedsDisplay: YES]; |
[self setNeedsDisplay: YES]; |
664 |
} |
} |
665 |
onSelf = NO; |
onSelf = NO; |
693 |
return; |
return; |
694 |
} |
} |
695 |
|
|
696 |
ASSIGN (icon, [gw iconForFile: fullPath ofType: type]); |
ASSIGN (icon, [GWLib iconForFile: fullPath ofType: type]); |
697 |
[self setNeedsDisplay: YES]; |
[self setNeedsDisplay: YES]; |
698 |
|
|
699 |
sourceDragMask = [sender draggingSourceOperationMask]; |
sourceDragMask = [sender draggingSourceOperationMask]; |