зеркало из https://github.com/mozilla/pjs.git
Make sure the updater UI is initially visible to the user.
This commit is contained in:
Родитель
d981693d0d
Коммит
2eb8227dd1
|
@ -80,6 +80,9 @@ static const char *sProgramPath;
|
||||||
[[NSTimer scheduledTimerWithTimeInterval:TIMER_INTERVAL target:self
|
[[NSTimer scheduledTimerWithTimeInterval:TIMER_INTERVAL target:self
|
||||||
selector:@selector(updateProgressUI:)
|
selector:@selector(updateProgressUI:)
|
||||||
userInfo:nil repeats:YES] retain];
|
userInfo:nil repeats:YES] retain];
|
||||||
|
|
||||||
|
// Make sure we are on top initially
|
||||||
|
[NSApp activateIgnoringOtherApps:YES];
|
||||||
}
|
}
|
||||||
|
|
||||||
// called when the timer goes off
|
// called when the timer goes off
|
||||||
|
|
Загрузка…
Ссылка в новой задаче