mirror of https://github.com/mpv-player/mpv
osx: remove the standard "Show Tab Bar" menu item
it's unused and added automatically. we need to guard the deactivation since it's a 10.12+ feature.
This commit is contained in:
parent
344b75f52d
commit
98f5579c02
|
@ -34,6 +34,9 @@
|
||||||
[userDefaults setBool:YES forKey:@"NSDisabledDictationMenuItem"];
|
[userDefaults setBool:YES forKey:@"NSDisabledDictationMenuItem"];
|
||||||
[userDefaults setBool:YES forKey:@"NSDisabledCharacterPaletteMenuItem"];
|
[userDefaults setBool:YES forKey:@"NSDisabledCharacterPaletteMenuItem"];
|
||||||
|
|
||||||
|
if ([NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)])
|
||||||
|
NSWindow.allowsAutomaticWindowTabbing = NO;
|
||||||
|
|
||||||
menuTree = @[
|
menuTree = @[
|
||||||
@{
|
@{
|
||||||
@"name": @"Apple",
|
@"name": @"Apple",
|
||||||
|
|
Loading…
Reference in New Issue