Merge pull request #3750 from atom/fullscreen-menu-item

Don't add the "Enter Full Screen" menu item automatically
This commit is contained in:
Cheng Zhao 2015-12-10 11:54:26 +08:00
commit f4f4b9428d

View file

@ -21,6 +21,9 @@
}
- (void)applicationWillFinishLaunching:(NSNotification*)notify {
// Don't add the "Enter Full Screen" menu item automatically.
[[NSUserDefaults standardUserDefaults] setBool:NO forKey:@"NSFullScreenMenuItemEverywhere"];
atom::Browser::Get()->WillFinishLaunching();
}