aboutsummaryrefslogtreecommitdiffstats
path: root/TableDocument.m
diff options
context:
space:
mode:
Diffstat (limited to 'TableDocument.m')
-rw-r--r--TableDocument.m13
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,