aboutsummaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/SPAppController.m10
-rw-r--r--Source/SPPreferenceController.m4
2 files changed, 8 insertions, 6 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];
diff --git a/Source/SPPreferenceController.m b/Source/SPPreferenceController.m
index 3bbc42a2..20173b32 100644
--- a/Source/SPPreferenceController.m
+++ b/Source/SPPreferenceController.m
@@ -303,8 +303,8 @@
[prefs removeObjectForKey:@"FetchCorrectRowCount"];
}
- // For versions prior to r2056 (~0.9.8), reset the Sparkle prefs so the user is prompted about submitting information
- if (recordedVersionNumber < 2056 && [prefs objectForKey:@"SUEnableAutomaticChecks"]) {
+ // For versions prior to r2057 (~0.9.8), reset the Sparkle prefs so the user is prompted about submitting information
+ if (recordedVersionNumber < 2057 && [prefs objectForKey:@"SUEnableAutomaticChecks"]) {
[prefs removeObjectForKey:@"SUEnableAutomaticChecks"];
[prefs removeObjectForKey:@"SUSendProfileInfo"];
}