shithub: choc

Download patch

ref: d1b0870951eaba66da1e11716898b65cbc96302a
parent: b777eebd4d4bd3b974b11e1fc4968e6f2b0e65d5
author: Simon Howard <[email protected]>
date: Tue Jan 12 15:09:54 EST 2010

Set main menu title based on package name, not fixed string.

Subversion-branch: /trunk/chocolate-doom
Subversion-revision: 1807

--- 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