Changing the behavior of the level of Sparkle's update window for the case of an LSUIElement. In that case, I think it's best for Sparkle to use NSFloatingWindowLevel, so that it's clear why the menu items are disabled (due to modality) when they click the menu icon again, thus focusing the update alert. We'll see how well this works.

This commit is contained in:
Andy Matuschak committed 2008-08-03 01:15:56 -07:00
1 parent 9c720fd6b7
commit d73d8333a1
1 file changed
-1
-1
View File
@@ -29,7 +29,6 @@
if ([host isBackgroundApplication])
{
[[updateAlert window] setHidesOnDeactivate:NO];
[[updateAlert window] setLevel:NSNormalWindowLevel];
[NSApp activateIgnoringOtherApps:YES];
}