diff options
Diffstat (limited to 'Source/SPWindowController.m')
-rw-r--r-- | Source/SPWindowController.m | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/SPWindowController.m b/Source/SPWindowController.m index 341d8afa..23346af3 100644 --- a/Source/SPWindowController.m +++ b/Source/SPWindowController.m @@ -61,13 +61,13 @@ [tabBar setCellMaxWidth:250]; [tabBar setCellOptimumWidth:250]; [tabBar setSelectsTabsOnMouseDown:YES]; - [tabBar setDoubleClickCreatesTab:YES]; + [tabBar setCreatesTabOnDoubleClick:YES]; [tabBar setTearOffStyle:PSMTabBarTearOffAlphaWindow]; [tabBar setUsesSafariStyleDragging:YES]; // hook up add tab button - [[tabBar addTabButton] setTarget:self]; - [[tabBar addTabButton] setAction:@selector(addNewConnection:)]; + [tabBar setCreateNewTabTarget:self]; + [tabBar setCreateNewTabAction:@selector(addNewConnection:)]; // Retrieve references to the 'Close Window' and 'Close Tab' menus. These are updated as window focus changes. closeWindowMenuItem = [[[[NSApp mainMenu] itemWithTag:SPMainMenuFile] submenu] itemWithTag:1003]; |