diff options
author | abhibeckert <abhi@abhibeckert.com> | 2008-05-02 12:15:16 +0000 |
---|---|---|
committer | abhibeckert <abhi@abhibeckert.com> | 2008-05-02 12:15:16 +0000 |
commit | 87db30e021e17dd43d9fcfbb07171923e1114a4b (patch) | |
tree | dd0ef6453720173ca18226eda222c6a382e1447d /TableDocument.m | |
parent | 374b6ec778c7feceebf658480bb78dfba9cd119f (diff) | |
download | sequelpro-87db30e021e17dd43d9fcfbb07171923e1114a4b.tar.gz sequelpro-87db30e021e17dd43d9fcfbb07171923e1114a4b.tar.bz2 sequelpro-87db30e021e17dd43d9fcfbb07171923e1114a4b.zip |
issue 16 - move show server variables toolbar item into database menu
Diffstat (limited to 'TableDocument.m')
-rw-r--r-- | TableDocument.m | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/TableDocument.m b/TableDocument.m index d273a102..151a4c39 100644 --- a/TableDocument.m +++ b/TableDocument.m @@ -925,7 +925,7 @@ reused when user hits the close button of the variablseSheet or of the createTab } } -- (void)showVariables +- (void)showVariables:(id)sender /* shows the mysql variables */ @@ -1201,16 +1201,6 @@ passes the request to the tableDump object //set up the target action [toolbarItem setTarget:self]; [toolbarItem setAction:@selector(flushPrivileges)]; - } else if ([itemIdentifier isEqualToString:@"ShowVariablesIdentifier"]) { - //set the text label to be displayed in the toolbar and customization palette - [toolbarItem setLabel:NSLocalizedString(@"Show Variables", @"toolbar item for show variables")]; - [toolbarItem setPaletteLabel:NSLocalizedString(@"Show Variables", @"toolbar item for show variables")]; - //set up tooltip and image - [toolbarItem setToolTip:NSLocalizedString(@"Show the MySQL Variables", @"tooltip for toolbar item for show variables")]; - [toolbarItem setImage:[NSImage imageNamed:@"showvariables"]]; - //set up the target action - [toolbarItem setTarget:self]; - [toolbarItem setAction:@selector(showVariables)]; } else if ([itemIdentifier isEqualToString:@"SwitchToTableStructureToolbarItemIdentifier"]) { [toolbarItem setLabel:NSLocalizedString(@"Table", @"toolbar item label for switching to the Table Structure tab")]; [toolbarItem setPaletteLabel:NSLocalizedString(@"Table Structure", @"toolbar item label for switching to the Table Structure tab")]; @@ -1264,7 +1254,6 @@ passes the request to the tableDump object DatabaseSelectToolbarItemIdentifier, @"ToggleConsoleIdentifier", @"ClearConsoleIdentifier", - @"ShowVariablesIdentifier", @"FlushPrivilegesIdentifier", NSToolbarCustomizeToolbarItemIdentifier, NSToolbarFlexibleSpaceItemIdentifier, |