XQuartz: Cleaned up the about box.

(cherry picked from commit 0279a59706)
This commit is contained in:
Jeremy Huddleston 2008-05-12 13:36:35 -07:00
parent b37e1f1f5c
commit f7d6d20ad6

View File

@ -143,18 +143,21 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
NSMutableDictionary *dict;
NSDictionary *infoDict;
NSString *tem;
dict = [NSMutableDictionary dictionaryWithCapacity:2];
dict = [NSMutableDictionary dictionaryWithCapacity:3];
infoDict = [[NSBundle mainBundle] infoDictionary];
[dict setObject: NSLocalizedString (@"The X Window System", @"About panel")
forKey:@"ApplicationName"];
forKey:@"ApplicationName"];
tem = [infoDict objectForKey:@"CFBundleShortVersionString"];
[dict setObject:[NSString stringWithFormat:@"XQuartz %@ - (xorg-server %s)", tem, XSERVER_VERSION]
forKey:@"ApplicationVersion"];
[dict setObject:[NSString stringWithFormat:@"XQuartz %@", tem]
forKey:@"ApplicationVersion"];
[dict setObject:[NSString stringWithFormat:@"xorg-server %s", XSERVER_VERSION]
forKey:@"Version"];
[self orderFrontStandardAboutPanelWithOptions: dict];
}