diff --git a/Sparkle/SUStatusController.m b/Sparkle/SUStatusController.m index c7def5d5..290bfeae 100644 --- a/Sparkle/SUStatusController.m +++ b/Sparkle/SUStatusController.m @@ -42,7 +42,7 @@ - (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [self class], [self.host bundlePath], [self.host installationPath]]; } -- (void)awakeFromNib +- (void)windowDidLoad { if ([self.host isBackgroundApplication]) { [[self window] setLevel:NSFloatingWindowLevel]; diff --git a/Sparkle/SUUpdateAlert.m b/Sparkle/SUUpdateAlert.m index 3beadcfa..1ab5eed2 100644 --- a/Sparkle/SUUpdateAlert.m +++ b/Sparkle/SUUpdateAlert.m @@ -178,7 +178,7 @@ return allowAutoUpdates; } -- (void)awakeFromNib +- (void)windowDidLoad { BOOL showReleaseNotes = [self showsReleaseNotes]; diff --git a/Sparkle/SUUpdatePermissionPrompt.m b/Sparkle/SUUpdatePermissionPrompt.m index e9e47404..4a338dba 100644 --- a/Sparkle/SUUpdatePermissionPrompt.m +++ b/Sparkle/SUUpdatePermissionPrompt.m @@ -78,7 +78,7 @@ - (NSString *)description { return [NSString stringWithFormat:@"%@ <%@>", [self class], [self.host bundlePath]]; } -- (void)awakeFromNib +- (void)windowDidLoad { if (![self shouldAskAboutProfile]) {