aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsqlprodev <sqlprodev@northofthree.com>2012-07-05 19:14:04 +0000
committersqlprodev <sqlprodev@northofthree.com>2012-07-05 19:14:04 +0000
commita944a6603409642e8b5ac0a2295042644d5bf05c (patch)
tree7ee223b79c734f9e82cf39192dec6539a6421808
parent2dc02505710b3980704637e7c7647057ef3c0e14 (diff)
downloadsequelpro-a944a6603409642e8b5ac0a2295042644d5bf05c.tar.gz
sequelpro-a944a6603409642e8b5ac0a2295042644d5bf05c.tar.bz2
sequelpro-a944a6603409642e8b5ac0a2295042644d5bf05c.zip
Another tweak for SP r3710 merge with Coda
-rw-r--r--Source/SPConnectionControllerInitializer.m2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/SPConnectionControllerInitializer.m b/Source/SPConnectionControllerInitializer.m
index 8a30bf40..8915c6bb 100644
--- a/Source/SPConnectionControllerInitializer.m
+++ b/Source/SPConnectionControllerInitializer.m
@@ -149,6 +149,7 @@ static NSString *SPConnectionViewNibName = @"ConnectionView";
*/
- (void)registerForNotifications
{
+#ifndef SP_REFACTOR
[[NSNotificationCenter defaultCenter] addObserver:self
selector:@selector(scrollViewFrameChanged:)
name:NSViewFrameDidChangeNotification
@@ -253,6 +254,7 @@ static NSString *SPConnectionViewNibName = @"ConnectionView";
forKeyPath:SPFavoriteSSLCACertFileLocationKey
options:(NSKeyValueObservingOptionOld | NSKeyValueObservingOptionNew)
context:NULL];
+#endif
}
/**