1
0
spogulis no https://github.com/arsenetar/dupeguru.git synced 2025-07-05 23:13:20 +00:00

Fixed auto update checks in Cocoa which were broken.

Šī revīzija ir iekļauta:
Virgil Dupras 2011-01-23 12:47:21 +01:00
vecāks f48e14af8a
revīzija 8175762e74

Parādīt failu

@ -17,6 +17,13 @@ http://www.hardcoded.net/licenses/bsd_license
@implementation AppDelegateBase
- (void)awakeFromNib
{
NSUserDefaults *ud = [NSUserDefaults standardUserDefaults];
/* Because the pref pane is lazily loaded, we have to manually do the update check if the
preference is set.
*/
if ([ud boolForKey:@"SUEnableAutomaticChecks"]) {
[[SUUpdater sharedUpdater] checkForUpdatesInBackground];
}
_recentResults = [[HSRecentFiles alloc] initWithName:@"recentResults" menu:recentResultsMenu];
[_recentResults setDelegate:self];
_resultWindow = [self createResultWindow];