aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authoravenjamin <avenjamin@gmail.com>2009-07-29 14:14:26 +0000
committeravenjamin <avenjamin@gmail.com>2009-07-29 14:14:26 +0000
commit11740d2b61c1a9811f818b06c2ad0e763b129656 (patch)
tree1babc9d77f9df93993ec518e9d5b5dc5ee392a32 /Source
parent455c5326835d811b55d12b3ac8c0373608825b8d (diff)
downloadsequelpro-11740d2b61c1a9811f818b06c2ad0e763b129656.tar.gz
sequelpro-11740d2b61c1a9811f818b06c2ad0e763b129656.tar.bz2
sequelpro-11740d2b61c1a9811f818b06c2ad0e763b129656.zip
- Added Splitview delegate method to hide the drag handle on the Table Info pane and Filter view.
Diffstat (limited to 'Source')
-rw-r--r--Source/TablesList.m19
1 files changed, 19 insertions, 0 deletions
diff --git a/Source/TablesList.m b/Source/TablesList.m
index f3c39d60..e5f4a35d 100644
--- a/Source/TablesList.m
+++ b/Source/TablesList.m
@@ -38,6 +38,7 @@
@implementation TablesList
+#pragma mark -
#pragma mark IBAction methods
/**
@@ -805,6 +806,7 @@
[[NSUserDefaults standardUserDefaults] setObject:[NSNumber numberWithBool:([tableInfoCollapseButton state] == NSOffState)] forKey:@"TableInformationPanelCollapsed"];
}
+#pragma mark -
#pragma mark Alert sheet methods
/**
@@ -839,6 +841,7 @@
[NSApp stopModalWithCode:[sender tag]];
}
+#pragma mark -
#pragma mark Additional methods
/**
@@ -1296,6 +1299,7 @@
}
}
+#pragma mark -
#pragma mark Getter methods
/**
@@ -1426,6 +1430,7 @@
return statusLoaded;
}
+#pragma mark -
#pragma mark Setter methods
/**
@@ -1491,6 +1496,7 @@
return YES;
}
+#pragma mark -
#pragma mark Datasource methods
/**
@@ -1633,6 +1639,7 @@
}
}
+#pragma mark -
#pragma mark TableView delegate methods
/**
@@ -1754,6 +1761,7 @@
return (row == 0) ? 25 : 17;
}
+#pragma mark -
#pragma mark TabView delegate methods
/**
@@ -1806,6 +1814,7 @@
return [super validateMenuItem:menuItem];
}
+#pragma mark -
#pragma mark Table list filter interaction
/**
@@ -1928,6 +1937,16 @@
// [tablesListView selectRowIndexes:[NSIndexSet indexSetWithIndex:rowIndex] byExtendingSelection:NO];
}
+#pragma mark -
+#pragma mark SplitView Delegate Methods
+
+- (NSRect)splitView:(NSSplitView *)splitView effectiveRect:(NSRect)proposedEffectiveRect forDrawnRect:(NSRect)drawnRect ofDividerAtIndex:(NSInteger)dividerIndex
+{
+ return (splitView == tableListSplitView ? NSZeroRect : proposedEffectiveRect);
+}
+
+
+#pragma mark -
#pragma mark Other
/**