Skip to content

Commit

Permalink
Center the "checking for updates..." window when summoned.
Browse files Browse the repository at this point in the history
  • Loading branch information
andymatuschak committed Jul 9, 2008
1 parent bc7aff3 commit a1b295c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SUUserInitiatedUpdateDriver.m
Expand Up @@ -15,7 +15,7 @@ - (void)checkForUpdatesAtURL:(NSURL *)appcastURL hostBundle:(NSBundle *)hb
{
[super checkForUpdatesAtURL:appcastURL hostBundle:hb];
checkingController = [[SUStatusController alloc] initWithHostBundle:hb];
[checkingController window]; // Force the checking controller to load its window.
[[checkingController window] center]; // Force the checking controller to load its window.
[checkingController beginActionWithTitle:SULocalizedString(@"Checking for updates\u2026", nil) maxProgressValue:0 statusText:nil];
[checkingController setButtonTitle:SULocalizedString(@"Cancel", nil) target:self action:@selector(cancelCheckForUpdates:) isDefault:NO];
[checkingController showWindow:self];
Expand Down

0 comments on commit a1b295c

Please sign in to comment.