mirror of
https://github.com/electron/electron.git
synced 2026-02-19 03:14:51 -05:00
Disable Show Tab Bar menu item on macOS Sierrra
This commit is contained in:
@@ -21,6 +21,11 @@
|
||||
// Don't add the "Enter Full Screen" menu item automatically.
|
||||
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"NSFullScreenMenuItemEverywhere"];
|
||||
|
||||
// Don't add the "Show Tab Bar" menu item.
|
||||
if ([NSWindow respondsToSelector:@selector(allowsAutomaticWindowTabbing)]) {
|
||||
NSWindow.allowsAutomaticWindowTabbing = NO;
|
||||
}
|
||||
|
||||
atom::Browser::Get()->WillFinishLaunching();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user