/[gnustep]/gnustep/usr-apps/gworkspace/GWorkspace/Desktop/DesktopViewIcon.m
ViewVC logotype

Diff of /gnustep/usr-apps/gworkspace/GWorkspace/Desktop/DesktopViewIcon.m

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.2 by esersale, Mon Aug 25 17:19:14 2003 UTC revision 1.3 by esersale, Tue Sep 30 15:38:05 2003 UTC
# Line 26  Line 26 
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
# Line 340  Line 342 
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;
# Line 375  Line 377 
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];  

Legend:
Removed from v.1.2  
changed lines
  Added in v.1.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26