1.1 --- a/src/cocoaui/cocoa_path.c Wed Jul 23 11:11:30 2008 +0000
1.2 +++ b/src/cocoaui/cocoa_path.c Tue Jul 29 10:55:51 2008 +0000
1.8 +@interface LxdreamPrefsPathPane: LxdreamPrefsPane
1.11 ++ (LxdreamPrefsPathPane *)new;
1.14 @implementation LxdreamPrefsPathPane
1.15 + (LxdreamPrefsPathPane *)new
1.17 if( entry->label != NULL ) {
1.18 NSRect frame = NSMakeRect( TEXT_GAP, height -((TEXT_HEIGHT+TEXT_GAP)*i - 2),
1.19 150, LABEL_HEIGHT );
1.20 - NSTextField *label = [self addLabel: NS_(entry->label) withFrame: frame];
1.21 + NSTextField *label = cocoa_gui_add_label(self, NS_(entry->label), frame);
1.22 [label setAlignment: NSRightTextAlignment];
1.24 frame = NSMakeRect( 150 + (TEXT_GAP*2),
1.31 +NSView *cocoa_gui_create_prefs_path_pane()
1.33 + return [LxdreamPrefsPathPane new];