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:
Akemi 2017-08-18 21:44:33 +02:00
parent 344b75f52d
commit 98f5579c02
1 changed files with 3 additions and 0 deletions

View File

@ -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",