Add tab button on tabline is back

git-svn-id: http://macvim.googlecode.com/svn/trunk@148 96c4425d-ca35-0410-94e5-3396d5c13a8f
This commit is contained in:
Bjorn Winckler
2007-08-17 07:22:04 +00:00
parent 0d336c2bf5
commit 980078e79c
+3 -1
View File
@@ -180,7 +180,9 @@ NSMutableArray *buildMenuAddress(NSMenu *menu)
[tabBarControl setCellMaxWidth:[ud integerForKey:MMTabMaxWidthKey]];
[tabBarControl setCellOptimumWidth:
[ud integerForKey:MMTabOptimumWidthKey]];
[tabBarControl setShowAddTabButton:YES];
[[tabBarControl addTabButton] setTarget:self];
[[tabBarControl addTabButton] setAction:@selector(addNewTab:)];
[tabBarControl setAllowsDragBetweenWindows:NO];
[tablineSeparator setBoxType:NSBoxSeparator];