Added disabled preferences menu option so it looks more like other application menus.
authorSam Lantinga <slouken@libsdl.org>
Mon, 21 Feb 2011 20:34:22 -0800
changeset 5377 6125f6da3dae
parent 5376 183ec2d4485c
child 5378 738a96883fa6
Added disabled preferences menu option so it looks more like other application menus.
src/video/cocoa/SDL_cocoaevents.m
--- a/src/video/cocoa/SDL_cocoaevents.m	Mon Feb 21 17:15:50 2011 -0800
+++ b/src/video/cocoa/SDL_cocoaevents.m	Mon Feb 21 20:34:22 2011 -0800
@@ -91,6 +91,10 @@
 
     [appleMenu addItem:[NSMenuItem separatorItem]];
 
+    [appleMenu addItemWithTitle:@"Preferences" action:nil keyEquivalent:@""];
+
+    [appleMenu addItem:[NSMenuItem separatorItem]];
+
     title = [@"Hide " stringByAppendingString:appName];
     [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@/*"h"*/""];