aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPWindowController.h
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2010-06-30 16:34:03 +0000
committeravenjamin <avenjamin@gmail.com>2010-06-30 16:34:03 +0000
commitba332e64c29622e0b69412cb2fea639182ac1d1c (patch)
tree23d990c97bc1c70fe4a26450b2ea0b579ddbe919 /Source/SPWindowController.h
parent92b97ba3f3ee634e101483f5129f25b4f8230117 (diff)
downloadsequelpro-ba332e64c29622e0b69412cb2fea639182ac1d1c.tar.gz
sequelpro-ba332e64c29622e0b69412cb2fea639182ac1d1c.tar.bz2
sequelpro-ba332e64c29622e0b69412cb2fea639182ac1d1c.zip
Add option to toggle the tab bar visibility.
- Only applies when one tab is present. - Saves last used state to preferences.
Diffstat (limited to 'Source/SPWindowController.h')
-rw-r--r--Source/SPWindowController.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/SPWindowController.h b/Source/SPWindowController.h
index 33d6df49..828c6cda 100644
--- a/Source/SPWindowController.h
+++ b/Source/SPWindowController.h
@@ -29,7 +29,7 @@
{
IBOutlet PSMTabBarControl *tabBar;
IBOutlet NSTabView *tabView;
-
+
NSMenuItem *closeWindowMenuItem;
NSMenuItem *closeTabMenuItem;
@@ -46,6 +46,7 @@
- (IBAction)closeTab:(id)sender;
- (IBAction)selectNextDocumentTab:(id)sender;
- (IBAction)selectPreviousDocumentTab:(id)sender;
+- (IBAction)toggleTabBarShown:(id)sender;
- (NSArray *)documents;
- (void)selectTabAtIndex:(NSInteger)index;
- (void)setHideForSingleTab:(BOOL)hide;