/[gnustep]/gnustep/usr-apps/gworkspace/GWorkspace/Fiend/FiendLeaf.m
ViewVC logotype

Diff of /gnustep/usr-apps/gworkspace/GWorkspace/Fiend/FiendLeaf.m

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

revision 1.3 by esersale, Mon Sep 1 10:49:04 2003 UTC revision 1.4 by esersale, Tue Sep 30 15:38:05 2003 UTC
# Line 117  Line 117 
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;
# Line 502  Line 502 
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    }    }
# Line 530  Line 530 
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];

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

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