/[gnustep]/gnustep/usr-apps/gworkspace/Viewers/IconsViewer/IconsPath.m
ViewVC logotype

Diff of /gnustep/usr-apps/gworkspace/Viewers/IconsViewer/IconsPath.m

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

revision 1.3 by esersale, Fri Sep 26 10:25:38 2003 UTC revision 1.4 by esersale, Tue Sep 30 15:38:06 2003 UTC
# Line 27  Line 27 
27  #include <AppKit/AppKit.h>  #include <AppKit/AppKit.h>
28  #include <math.h>  #include <math.h>
29    #ifdef GNUSTEP    #ifdef GNUSTEP
30    #include "GWLib.h"
31  #include "GWProtocol.h"  #include "GWProtocol.h"
32  #include "GWFunctions.h"  #include "GWFunctions.h"
33  #include "GWNotifications.h"  #include "GWNotifications.h"
34  #include "BNameEditor.h"  #include "BNameEditor.h"
35    #else    #else
36    #include <GWorkspace/GWLib.h>
37  #include <GWorkspace/GWProtocol.h>  #include <GWorkspace/GWProtocol.h>
38  #include <GWorkspace/GWFunctions.h>  #include <GWorkspace/GWFunctions.h>
39  #include <GWorkspace/GWNotifications.h>  #include <GWorkspace/GWNotifications.h>
# Line 39  Line 41 
41    #endif    #endif
42  #include "IconsPath.h"  #include "IconsPath.h"
43  #include "PathIcon.h"  #include "PathIcon.h"
44  #include "GNUstep.h"  #include "GNUstep.h"
45    
46  #define LABEL_MARGIN 8  #define LABEL_MARGIN 8
47  #define EDIT_MARGIN 4  #define EDIT_MARGIN 4
# Line 71  Line 73 
73    self = [super init];    self = [super init];
74        
75    if (self) {    if (self) {
     #ifdef GNUSTEP  
                   Class gwclass = [[NSBundle mainBundle] principalClass];  
     #else  
                   Class gwclass = [[NSBundle mainBundle] classNamed: @"GWorkspace"];  
     #endif  
   
                 gworkspace = (id<GWProtocol>)[gwclass gworkspace];  
76      ASSIGN (root, rpath);      ASSIGN (root, rpath);
77      columnsWidth = cwidth;      columnsWidth = cwidth;
78                  [self setDelegate: adelegate];                  [self setDelegate: adelegate];

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