зеркало из https://github.com/mozilla/pjs.git
Don't re-focus the download manager window each time a download starts. Patch by nhamblen@mac.com, r=bryner, sr=sfraser.
This commit is contained in:
Родитель
94b9b8c9d4
Коммит
4cf65180b8
|
@ -114,9 +114,11 @@ static id gSharedProgressController = nil;
|
|||
|
||||
- (void)didStartDownload:(id <CHDownloadProgressDisplay>)progressDisplay
|
||||
{
|
||||
[self showWindow:nil]; // make sure the window is visible
|
||||
if (![[self window] isVisible]) {
|
||||
[self showWindow:nil]; // make sure the window is visible
|
||||
}
|
||||
|
||||
[self rebuildViews];
|
||||
[self rebuildViews];
|
||||
[self setupDownloadTimer];
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче