26 |
#include <Foundation/Foundation.h> |
#include <Foundation/Foundation.h> |
27 |
#include <AppKit/AppKit.h> |
#include <AppKit/AppKit.h> |
28 |
#ifdef GNUSTEP |
#ifdef GNUSTEP |
29 |
|
#include "GWLib.h" |
30 |
#include "GWFunctions.h" |
#include "GWFunctions.h" |
31 |
#include "GWNotifications.h" |
#include "GWNotifications.h" |
32 |
#else |
#else |
33 |
|
#include <GWorkspace/GWLib.h> |
34 |
#include <GWorkspace/GWFunctions.h> |
#include <GWorkspace/GWFunctions.h> |
35 |
#include <GWorkspace/GWNotifications.h> |
#include <GWorkspace/GWNotifications.h> |
36 |
#endif |
#endif |
342 |
if(isDragTarget == YES) { |
if(isDragTarget == YES) { |
343 |
isDragTarget = NO; |
isDragTarget = NO; |
344 |
if (onSelf == NO) { |
if (onSelf == NO) { |
345 |
ASSIGN (icon, [gw iconForFile: fullPath ofType: type]); |
ASSIGN (icon, [GWLib iconForFile: fullPath ofType: type]); |
346 |
[self setNeedsDisplay: YES]; |
[self setNeedsDisplay: YES]; |
347 |
} |
} |
348 |
onSelf = NO; |
onSelf = NO; |
377 |
return; |
return; |
378 |
} |
} |
379 |
|
|
380 |
ASSIGN (icon, [gw iconForFile: fullPath ofType: type]); |
ASSIGN (icon, [GWLib iconForFile: fullPath ofType: type]); |
381 |
[self setNeedsDisplay: YES]; |
[self setNeedsDisplay: YES]; |
382 |
|
|
383 |
sourceDragMask = [sender draggingSourceOperationMask]; |
sourceDragMask = [sender draggingSourceOperationMask]; |