XQuartz: Cleaned up the about box.
(cherry picked from commit 0279a59706
)
This commit is contained in:
parent
b37e1f1f5c
commit
f7d6d20ad6
|
@ -144,7 +144,7 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
|
|||
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")
|
||||
|
@ -152,9 +152,12 @@ static void message_kit_thread (SEL selector, NSObject *arg) {
|
|||
|
||||
tem = [infoDict objectForKey:@"CFBundleShortVersionString"];
|
||||
|
||||
[dict setObject:[NSString stringWithFormat:@"XQuartz %@ - (xorg-server %s)", tem, XSERVER_VERSION]
|
||||
[dict setObject:[NSString stringWithFormat:@"XQuartz %@", tem]
|
||||
forKey:@"ApplicationVersion"];
|
||||
|
||||
[dict setObject:[NSString stringWithFormat:@"xorg-server %s", XSERVER_VERSION]
|
||||
forKey:@"Version"];
|
||||
|
||||
[self orderFrontStandardAboutPanelWithOptions: dict];
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user