Fix bug 319257: make sure we bring the browser window to the front when creating new tabs from external apps, if another window (like Downloads) is frontmost.

This commit is contained in:
smfr%smfr.org 2005-12-07 04:54:48 +00:00
Родитель 5ae73894d2
Коммит f3600aa101
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -1119,6 +1119,9 @@ Otherwise, we return the URL we originally got. Right now this supports .url and
[controller openNewTabWithURL:inURLString referrer:aReferrer loadInBackground:loadInBackground allowPopups:NO];
else
[controller openNewWindowWithURL:inURLString referrer:aReferrer loadInBackground:loadInBackground allowPopups:NO];
if (!loadInBackground)
[[controller window] makeKeyAndOrderFront:nil];
}
else
controller = [self openBrowserWindowWithURL:inURLString andReferrer:aReferrer behind:nil allowPopups:NO];