Merge pull request #306 from macvim-dev/fix-tabbar-style-spelling

Correct the spelling of the "unified" tab bar style.
This commit is contained in:
Josh Petrie
2016-07-16 10:00:35 -07:00
committed by GitHub
+4 -4
View File
@@ -81,10 +81,10 @@
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_10
# define TABBAR_STYLE_UNIFINED @"Yosemite"
# define TABBAR_STYLE_UNIFIED @"Yosemite"
# define TABBAR_STYLE_METAL @"Yosemite"
#else
# define TABBAR_STYLE_UNIFINED @"Unified"
# define TABBAR_STYLE_UNIFIED @"Unified"
# define TABBAR_STYLE_METAL @"Metal"
#endif
@@ -1181,7 +1181,7 @@
[[window animator] setAlphaValue:0];
} completionHandler:^{
[window setStyleMask:([window styleMask] | NSFullScreenWindowMask)];
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFINED];
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFIED];
[self updateTablineSeparator];
// Stay dark for some time to wait for things to sync, then do the full screen operation
@@ -1317,7 +1317,7 @@
fullScreenEnabled = YES;
[window setAlphaValue:1];
[window setStyleMask:([window styleMask] | NSFullScreenWindowMask)];
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFINED];
[[vimView tabBarControl] setStyleNamed:TABBAR_STYLE_UNIFIED];
[self updateTablineSeparator];
[self maximizeWindow:fullScreenOptions];
}