From 2eb8227dd16d942b2aa82761d7878819b9972ddf Mon Sep 17 00:00:00 2001 From: "darin%meer.net" Date: Wed, 22 Jun 2005 01:26:28 +0000 Subject: [PATCH] Make sure the updater UI is initially visible to the user. --- toolkit/mozapps/update/src/updater/progressui_osx.mm | 3 +++ 1 file changed, 3 insertions(+) diff --git a/toolkit/mozapps/update/src/updater/progressui_osx.mm b/toolkit/mozapps/update/src/updater/progressui_osx.mm index 72e7c846e14..8f7cd7c0467 100644 --- a/toolkit/mozapps/update/src/updater/progressui_osx.mm +++ b/toolkit/mozapps/update/src/updater/progressui_osx.mm @@ -80,6 +80,9 @@ static const char *sProgramPath; [[NSTimer scheduledTimerWithTimeInterval:TIMER_INTERVAL target:self selector:@selector(updateProgressUI:) userInfo:nil repeats:YES] retain]; + + // Make sure we are on top initially + [NSApp activateIgnoringOtherApps:YES]; } // called when the timer goes off