From d1b0870951eaba66da1e11716898b65cbc96302a Mon Sep 17 00:00:00 2001 From: Simon Howard Date: Tue, 12 Jan 2010 20:09:54 +0000 Subject: Set main menu title based on package name, not fixed string. Subversion-branch: /trunk/chocolate-doom Subversion-revision: 1807 --- pkg/osx/AppController.m | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3