summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSimon Howard2010-01-12 20:09:54 +0000
committerSimon Howard2010-01-12 20:09:54 +0000
commitd1b0870951eaba66da1e11716898b65cbc96302a (patch)
tree91b248b0b41c39a53e64a581382cdd1be237ef5d
parentb777eebd4d4bd3b974b11e1fc4968e6f2b0e65d5 (diff)
downloadchocolate-doom-d1b0870951eaba66da1e11716898b65cbc96302a.tar.gz
chocolate-doom-d1b0870951eaba66da1e11716898b65cbc96302a.tar.bz2
chocolate-doom-d1b0870951eaba66da1e11716898b65cbc96302a.zip
Set main menu title based on package name, not fixed string.
Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1807
-rw-r--r--pkg/osx/AppController.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkg/osx/AppController.m b/pkg/osx/AppController.m
index 32afd9c4..a26a7c9e 100644
--- a/pkg/osx/AppController.m
+++ b/pkg/osx/AppController.m
@@ -22,6 +22,8 @@
#include "AppController.h"
+#include "config.h"
+
@implementation AppController
+ (void)initialize
@@ -58,7 +60,7 @@
- (void)awakeFromNib
{
- [[NSApp mainMenu] setTitle:@"ChocolateDoom"];
+ [[NSApp mainMenu] setTitle:@PACKAGE_NAME];
}
- (void)applicationDidFinishLaunching:(NSNotification *)aNotif