Commit a6fcfb77 authored by David Fuhrmann's avatar David Fuhrmann Committed by Felix Paul Kühne

macosx: proper menu validation for all menus

Especially this fixes validation for audio and playback menus.
Signed-off-by: default avatarFelix Paul Kühne <fkuehne@videolan.org>
parent 5dc28924
...@@ -37,6 +37,7 @@ ...@@ -37,6 +37,7 @@
#import "open.h" #import "open.h"
#import "controls.h" #import "controls.h"
#import "playlist.h" #import "playlist.h"
#import "MainMenu.h"
#import "CoreInteraction.h" #import "CoreInteraction.h"
#import <vlc_keys.h> #import <vlc_keys.h>
...@@ -403,3 +404,12 @@ ...@@ -403,3 +404,12 @@
} }
@end @end
@implementation VLCControls (NSMenuValidation)
- (BOOL)validateMenuItem:(NSMenuItem *)o_mi
{
return [[VLCMainMenu sharedInstance] validateMenuItem:o_mi];
}
@end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment