Search
lxdream.org :: lxdream/src/cocoaui/cocoaui.c :: diff
lxdream 0.9.1
released Jun 29
Download Now
filename src/cocoaui/cocoaui.c
changeset 738:0cbff49086b8
prev736:a02d1475ccfd
next765:4cd066048203
author nkeynes
date Tue Jul 15 06:47:49 2008 +0000 (11 years ago)
permissions -rw-r--r--
last change Record the SVN revision in the build
Rationalise the version/copyright strings a little as well.
file annotate diff log raw
1.1 --- a/src/cocoaui/cocoaui.c Mon Jul 14 07:44:42 2008 +0000
1.2 +++ b/src/cocoaui/cocoaui.c Tue Jul 15 06:47:49 2008 +0000
1.3 @@ -68,7 +68,7 @@
1.4 /* Add menu items */
1.5 title = [@"About " stringByAppendingString:appName];
1.6 [appleMenu addItemWithTitle:title action:@selector(about_action:) keyEquivalent:@""];
1.7 -
1.8 +
1.9 // [appleMenu addItem:[NSMenuItem separatorItem]];
1.10 // [appleMenu addItemWithTitle: NS_("Preferences...") action:@selector(preferences_action:) keyEquivalent:@","];
1.11
1.12 @@ -151,7 +151,7 @@
1.13 - (void) about_action: (id)sender
1.14 {
1.15 NSArray *keys = [NSArray arrayWithObjects: @"Version", @"Copyright", nil];
1.16 - NSArray *values = [NSArray arrayWithObjects: @APP_VERSION, @"Copyright (C) 2005-2008 Nathan Keynes", nil];
1.17 + NSArray *values = [NSArray arrayWithObjects: NS_(lxdream_full_version), NS_(lxdream_copyright), nil];
1.18
1.19 NSDictionary *options= [NSDictionary dictionaryWithObjects: values forKeys: keys];
1.20
.