XQuartz: Cleaned up the about box.
(cherry picked from commit 0279a59706
)
This commit is contained in:
parent
b37e1f1f5c
commit
f7d6d20ad6
|
@ -143,18 +143,21 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
|
||||||
NSMutableDictionary *dict;
|
NSMutableDictionary *dict;
|
||||||
NSDictionary *infoDict;
|
NSDictionary *infoDict;
|
||||||
NSString *tem;
|
NSString *tem;
|
||||||
|
|
||||||
dict = [NSMutableDictionary dictionaryWithCapacity:2];
|
dict = [NSMutableDictionary dictionaryWithCapacity:3];
|
||||||
infoDict = [[NSBundle mainBundle] infoDictionary];
|
infoDict = [[NSBundle mainBundle] infoDictionary];
|
||||||
|
|
||||||
[dict setObject: NSLocalizedString (@"The X Window System", @"About panel")
|
[dict setObject: NSLocalizedString (@"The X Window System", @"About panel")
|
||||||
forKey:@"ApplicationName"];
|
forKey:@"ApplicationName"];
|
||||||
|
|
||||||
tem = [infoDict objectForKey:@"CFBundleShortVersionString"];
|
tem = [infoDict objectForKey:@"CFBundleShortVersionString"];
|
||||||
|
|
||||||
[dict setObject:[NSString stringWithFormat:@"XQuartz %@ - (xorg-server %s)", tem, XSERVER_VERSION]
|
[dict setObject:[NSString stringWithFormat:@"XQuartz %@", tem]
|
||||||
forKey:@"ApplicationVersion"];
|
forKey:@"ApplicationVersion"];
|
||||||
|
|
||||||
|
[dict setObject:[NSString stringWithFormat:@"xorg-server %s", XSERVER_VERSION]
|
||||||
|
forKey:@"Version"];
|
||||||
|
|
||||||
[self orderFrontStandardAboutPanelWithOptions: dict];
|
[self orderFrontStandardAboutPanelWithOptions: dict];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user