Skip to content
This repository has been archived by the owner on Feb 11, 2021. It is now read-only.

Commit

Permalink
Added disabled preferences menu option so it looks more like other ap…
Browse files Browse the repository at this point in the history
…plication menus.
  • Loading branch information
slouken committed Feb 22, 2011
1 parent db00b94 commit 1d431b2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/video/cocoa/SDL_cocoaevents.m
Expand Up @@ -91,6 +91,10 @@ - (NSApplicationTerminateReply)applicationShouldTerminate:(NSApplication *)sende

[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"*/""];

Expand Down

0 comments on commit 1d431b2

Please sign in to comment.