summaryrefslogtreecommitdiffstats
path: root/macosx/HBPreferencesController.m
diff options
context:
space:
mode:
authorDamiano Galassi <[email protected]>2015-10-25 07:41:28 +0100
committerDamiano Galassi <[email protected]>2015-10-25 07:41:28 +0100
commit7d7740033448cf58d560efdfa0b78562f6aa62d1 (patch)
treecf49f413403e0308f122038db8ae9fc5a2ccfb86 /macosx/HBPreferencesController.m
parentb5a8b39d9b2efea411a02bc906f275fc78ba92b4 (diff)
MacGui: remove the daily and monthly update check option.
Diffstat (limited to 'macosx/HBPreferencesController.m')
-rw-r--r--macosx/HBPreferencesController.m7
1 files changed, 6 insertions, 1 deletions
diff --git a/macosx/HBPreferencesController.m b/macosx/HBPreferencesController.m
index 80eab0a2e..fe20160d0 100644
--- a/macosx/HBPreferencesController.m
+++ b/macosx/HBPreferencesController.m
@@ -58,7 +58,7 @@
NSURL *desktopURL = [NSURL fileURLWithPath:desktopDirectory isDirectory:YES];
[[NSUserDefaults standardUserDefaults] registerDefaults:@{
- @"LaunchSourceBehavior": @"Open Source",
+ @"HBShowOpenPanelAtLaunch": @YES,
@"DefaultLanguage": @"English",
@"DefaultMpegExtension": @"Auto",
@"UseDvdNav": @"YES",
@@ -81,6 +81,11 @@
@"HBPreviewViewExpandedStatus": @[@(4097268371718322522), @(3576901712372066251)],
@"HBDrawerSize": NSStringFromSize(NSMakeSize(184, 591))
}];
+
+ // Overwrite the update check interval because previous versions
+ // could be set to a dayly check.
+ NSUInteger week = 60 * 60 * 24 * 7;
+ [[NSUserDefaults standardUserDefaults] setObject:@(week) forKey:@"SUScheduledCheckInterval"];
}
/**