Permalink
Browse files

Set the level of the update check status window to NSFloatingWindowLe…

…vel if the host application is background-only.
  • Loading branch information...
1 parent a6d776c commit 2300f2bcb0e66ba0474c2ba8ad3e823db1511331 @ksuther ksuther committed Jul 25, 2011
Showing with 4 additions and 0 deletions.
  1. +4 −0 SUStatusController.m
@@ -41,6 +41,10 @@ - (NSString *)description { return [NSString stringWithFormat:@"%@ <%@, %@>", [s
- (void)awakeFromNib
{
+ if ([host isBackgroundApplication]) {
+ [[self window] setLevel:NSFloatingWindowLevel];
+ }
+
[[self window] center];
[[self window] setFrameAutosaveName:@"SUStatusFrame"];
[progressBar setUsesThreadedAnimation:YES];

0 comments on commit 2300f2b

Please sign in to comment.