aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPBundleEditorController.m
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-12-10 10:22:25 +0000
committerBibiko <bibiko@eva.mpg.de>2010-12-10 10:22:25 +0000
commite645692c25fbd9a40e9c7ab65f33f7748f77a211 (patch)
tree95bcebed1565f440ba9de84964237a5b5d302ccb /Source/SPBundleEditorController.m
parent370e35a72e344c5a2c29ff76cdf1e84b4f475807 (diff)
downloadsequelpro-e645692c25fbd9a40e9c7ab65f33f7748f77a211.tar.gz
sequelpro-e645692c25fbd9a40e9c7ab65f33f7748f77a211.tar.bz2
sequelpro-e645692c25fbd9a40e9c7ab65f33f7748f77a211.zip
• Bundle command support
- renamed menu item - minor code cleaning
Diffstat (limited to 'Source/SPBundleEditorController.m')
-rw-r--r--Source/SPBundleEditorController.m12
1 files changed, 0 insertions, 12 deletions
diff --git a/Source/SPBundleEditorController.m b/Source/SPBundleEditorController.m
index 1aced5e8..99da4bc4 100644
--- a/Source/SPBundleEditorController.m
+++ b/Source/SPBundleEditorController.m
@@ -297,11 +297,6 @@
[anItem setTag:kDataTableScopeArrayIndex];
[inputGeneralScopePopUpMenu addItem:anItem];
[anItem release];
- // [inputGeneralScopePopUpMenu addItem:[NSMenuItem separatorItem]];
- // anItem = [[NSMenuItem alloc] initWithTitle:NSLocalizedString(@"Disable Command", @"disable command menu label") action:@selector(scopeButtonChanged:) keyEquivalent:@""];
- // [anItem setTag:kDisabledScopeTag];
- // [inputGeneralScopePopUpMenu addItem:anItem];
- // [anItem release];
[scopePopupButton setMenu:inputGeneralScopePopUpMenu];
[keyEquivalentField setCanCaptureGlobalHotKeys:YES];
@@ -1041,13 +1036,6 @@
- (void)windowWillClose:(NSNotification *)notification
{
- // Clear some stuff if window will close to save memory
- // [touchedBundleArray removeAllObjects];
- // [[[commandBundleTree objectForKey:kChildrenKey] objectAtIndex:0] setObject:[NSMutableArray array] forKey:kChildrenKey];
- // [[[commandBundleTree objectForKey:kChildrenKey] objectAtIndex:1] setObject:[NSMutableArray array] forKey:kChildrenKey];
- // [[[commandBundleTree objectForKey:kChildrenKey] objectAtIndex:2] setObject:[NSMutableArray array] forKey:kChildrenKey];
- // [commandsOutlineView reloadData];
-
// Remove temporary drag file if any
if(draggedFilePath) {
[[NSFileManager defaultManager] removeItemAtPath:draggedFilePath error:nil];