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 53776125f6da3dae
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
     1.1 --- a/src/video/cocoa/SDL_cocoaevents.m	Mon Feb 21 17:15:50 2011 -0800
     1.2 +++ b/src/video/cocoa/SDL_cocoaevents.m	Mon Feb 21 20:34:22 2011 -0800
     1.3 @@ -91,6 +91,10 @@
     1.4  
     1.5      [appleMenu addItem:[NSMenuItem separatorItem]];
     1.6  
     1.7 +    [appleMenu addItemWithTitle:@"Preferences" action:nil keyEquivalent:@""];
     1.8 +
     1.9 +    [appleMenu addItem:[NSMenuItem separatorItem]];
    1.10 +
    1.11      title = [@"Hide " stringByAppendingString:appName];
    1.12      [appleMenu addItemWithTitle:title action:@selector(hide:) keyEquivalent:@/*"h"*/""];
    1.13