mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-19 08:31:23 +08:00
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:
@@ -34,6 +34,9 @@
|
||||
[userDefaults setBool:YES forKey:@"NSDisabledDictationMenuItem"];
|
||||
[userDefaults setBool:YES forKey:@"NSDisabledCharacterPaletteMenuItem"];
|
||||
|
||||
if ([NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)])
|
||||
NSWindow.allowsAutomaticWindowTabbing = NO;
|
||||
|
||||
menuTree = @[
|
||||
@{
|
||||
@"name": @"Apple",
|
||||
|
||||
Reference in New Issue
Block a user