From 3ab111b775ac8cd5dcb452d42ff72b48b7b1a4b0 Mon Sep 17 00:00:00 2001 From: Kent Sutherland Date: Mon, 26 Dec 2005 06:42:05 +0000 Subject: [PATCH] Using CFBundleName + CFBundleVersion instead of the weird shoft bundle version string. --- ITAboutWindowController.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ITAboutWindowController.m b/ITAboutWindowController.m index cea9a78..71a6ed7 100644 --- a/ITAboutWindowController.m +++ b/ITAboutWindowController.m @@ -24,7 +24,7 @@ static ITAboutWindowController *_sharedController; { [_appIcon setImage:[[[NSImage alloc] initWithContentsOfFile:[[NSBundle mainBundle] pathForImageResource:[[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleIconFile"]]] autorelease]]; - [_appName setStringValue:[[NSBundle mainBundle] localizedStringForKey:@"CFBundleShortVersionString" value:@"" table:@"InfoPlist"]]; + [_appName setStringValue:[NSString stringWithFormat:@"%@ %@", [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleName"], [[NSBundle mainBundle] objectForInfoDictionaryKey:@"CFBundleVersion"]]]; [_companySite setStringValue:@"http://www.ithinksw.com/"]; [_copyright setStringValue:[[NSBundle mainBundle] localizedStringForKey:@"NSHumanReadableCopyright" value:@"" table:@"InfoPlist"]]; -- 2.20.1