mirror of
https://gitlab.freedesktop.org/xorg/xserver.git
synced 2026-05-04 21:08:13 +02:00
XQuartz: Cleaned up the about box.
(cherry picked from commit 0279a59706)
This commit is contained in:
parent
b37e1f1f5c
commit
f7d6d20ad6
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