mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-06 05:48:02 +02:00
XQuartz: Cleaned up the about box.
This commit is contained in:
parent
fe22794404
commit
0279a59706
1 changed files with 12 additions and 9 deletions
|
|
@ -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];
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue