1.1 --- a/src/cocoaui/cocoaui.c Tue Jul 15 06:47:49 2008 +0000
1.2 +++ b/src/cocoaui/cocoaui.c Wed Jul 23 11:11:30 2008 +0000
1.4 title = [@"About " stringByAppendingString:appName];
1.5 [appleMenu addItemWithTitle:title action:@selector(about_action:) keyEquivalent:@""];
1.7 - // [appleMenu addItem:[NSMenuItem separatorItem]];
1.8 - // [appleMenu addItemWithTitle: NS_("Preferences...") action:@selector(preferences_action:) keyEquivalent:@","];
1.9 + [appleMenu addItem:[NSMenuItem separatorItem]];
1.10 + [appleMenu addItemWithTitle: NS_("Preferences...") action:@selector(preferences_action:) keyEquivalent:@","];
1.13 [appleMenu addItem:[NSMenuItem separatorItem]];
1.16 - (void) preferences_action: (id)sender
1.18 - LxdreamPrefsPanel *panel = [[LxdreamPrefsPanel alloc] initWithContentRect: NSMakeRect(0,0,600,400)];
1.19 - [NSApp runModalForWindow: panel];
1.20 + cocoa_gui_show_preferences();
1.22 - (void) load_action: (id)sender