aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPAppController.m
diff options
context:
space:
mode:
authorrowanbeentje <rowan@beent.je>2010-04-02 15:22:26 +0000
committerrowanbeentje <rowan@beent.je>2010-04-02 15:22:26 +0000
commitd8373245efdb63f4f8a27bdc646053f7b939f2f2 (patch)
tree8f925fd763e3d431d99d44653cdf07492cbd0e84 /Source/SPAppController.m
parent65105b5a7cf72913ef0dbd6da41df7a19609d44a (diff)
downloadsequelpro-d8373245efdb63f4f8a27bdc646053f7b939f2f2.tar.gz
sequelpro-d8373245efdb63f4f8a27bdc646053f7b939f2f2.tar.bz2
sequelpro-d8373245efdb63f4f8a27bdc646053f7b939f2f2.zip
- Initialise prefs controller before setting Sparkle delegate
- Move sparkle prefs reset from 2056 to 2057 - Tweak prefs key binding to the user preference stats enabled key rather than the overall Sparkle stats enabled key
Diffstat (limited to 'Source/SPAppController.m')
-rw-r--r--Source/SPAppController.m10
1 files changed, 6 insertions, 4 deletions
diff --git a/Source/SPAppController.m b/Source/SPAppController.m
index 9fc4b7b1..f0d4c9bf 100644
--- a/Source/SPAppController.m
+++ b/Source/SPAppController.m
@@ -62,12 +62,14 @@
*/
- (void)awakeFromNib
{
- // Set Sparkle delegate
- [[SUUpdater sharedUpdater] setDelegate:self];
-
+
+ // Set up the prefs controller
prefsController = [[SPPreferenceController alloc] init];
aboutController = nil;
-
+
+ // Set Sparkle delegate
+ [[SUUpdater sharedUpdater] setDelegate:self];
+
// Register SPAppController as services provider
[NSApp setServicesProvider:self];