/[gnustep]/gnustep/usr-apps/gworkspace/GWLib/BMatrix.m
ViewVC logotype

Diff of /gnustep/usr-apps/gworkspace/GWLib/BMatrix.m

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

revision 1.3 by esersale, Mon Sep 29 13:20:28 2003 UTC revision 1.4 by esersale, Tue Sep 30 15:38:04 2003 UTC
# Line 53  Line 53 
53                          numberOfRows: numRows numberOfColumns: numColumns];                          numberOfRows: numRows numberOfColumns: numColumns];
54    
55    if (self) {    if (self) {
     #ifdef GNUSTEP  
                   Class gwclass = [[NSBundle mainBundle] principalClass];  
     #else  
                   Class gwclass = [[NSBundle mainBundle] classNamed: @"GWorkspace"];  
     #endif  
   
                 gworkspace = (id<GWProtocol>)[gwclass gworkspace];  
     
56      column = col;      column = col;
57      browser = [column browser];      browser = [column browser];
58      dndTarget = nil;      dndTarget = nil;
# Line 303  Line 295 
295        dragIcon = [NSImage imageNamed: @"MultipleSelection.tiff"];        dragIcon = [NSImage imageNamed: @"MultipleSelection.tiff"];
296      } else {      } else {
297        NSString *path = [paths objectAtIndex: 0];        NSString *path = [paths objectAtIndex: 0];
298        NSString *type = [gworkspace typeOfFileAt: path];        NSString *type = [GWLib typeOfFileAt: path];
299    
300        dragIcon = [gworkspace iconForFile: path ofType: type];        dragIcon = [GWLib iconForFile: path ofType: type];
301      }      }
302    }      }  
303    
# Line 315  Line 307 
307              event: event              event: event
308         pasteboard: pb         pasteboard: pb
309             source: self             source: self
310          slideBack: [gworkspace animateSlideBack]];          slideBack: [[GWLib workspaceApp] animateSlideBack]];
311  }  }
312    
313  - (void)draggedImage:(NSImage *)anImage  - (void)draggedImage:(NSImage *)anImage

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