aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-11-11 13:15:46 +0000
committerstuconnolly <stuart02@gmail.com>2010-11-11 13:15:46 +0000
commit0a990aea16056b35fc95fb6845ac2570700bb613 (patch)
tree8fc6e9be062115d739e389dcf7eb36d262178666 /Source/SPAppController.m
parentf5a548c05eb23afd80d3c7f105233542b0cfe8aa (diff)
downloadsequelpro-0a990aea16056b35fc95fb6845ac2570700bb613.tar.gz
sequelpro-0a990aea16056b35fc95fb6845ac2570700bb613.tar.bz2
sequelpro-0a990aea16056b35fc95fb6845ac2570700bb613.zip
More work on the new favorites controller, including loading and saving as well as the method to migrate existing favorites data. Currently not yet active.
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m4
1 files changed, 3 insertions, 1 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index c6c5c44a..a1f8b292 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -31,6 +31,7 @@
#import "SPDataImport.h"
#import "SPEncodingPopupAccessory.h"
#import "SPWindowController.h"
+#import "SPPreferencesUpgrade.h"
#import <PSMTabBar/PSMTabBarControl.h>
#import <Sparkle/Sparkle.h>
@@ -61,6 +62,8 @@
// Register application defaults
[[NSUserDefaults standardUserDefaults] registerDefaults:[NSDictionary dictionaryWithContentsOfFile:[[NSBundle mainBundle] pathForResource:@"PreferenceDefaults" ofType:@"plist"]]];
+ // Migrate old connection favorites to the app's support directory (only uncomment when ready)
+ //SPMigrateConnectionFavoritesData();
}
/**
@@ -68,7 +71,6 @@
*/
- (void)awakeFromNib
{
-
// Register url scheme handle
[[NSAppleEventManager sharedAppleEventManager] setEventHandler:self andSelector:@selector(handleEvent:withReplyEvent:) forEventClass:kInternetEventClass andEventID:kAEGetURL];