зеркало из https://github.com/mozilla/pjs.git
Bug #194315 --> for thunderbird, bring up mail chrome as part of ensure 1 window and not a browser window.
does not effect seamonkey builds sr=bryner a=sspitzer
This commit is contained in:
Родитель
882e317938
Коммит
d98fce631a
|
@ -1231,7 +1231,15 @@ nsAppShellService::Ensure1Window(nsICmdLineService *aCmdLineService)
|
|||
if (NS_SUCCEEDED(rv) && !tempString.IsEmpty())
|
||||
PR_sscanf(tempString.get(), "%d", &height);
|
||||
|
||||
#ifdef MOZ_THUNDERBIRD
|
||||
PRBool windowOpened = PR_FALSE;
|
||||
rv = LaunchTask(NULL, height, width, &windowOpened);
|
||||
if (NS_FAILED(rv) || !windowOpened)
|
||||
rv = LaunchTask("mail", height, width, &windowOpened);
|
||||
|
||||
#else
|
||||
rv = OpenBrowserWindow(height, width);
|
||||
#endif
|
||||
}
|
||||
}
|
||||
return rv;
|
||||
|
|
Загрузка…
Ссылка в новой задаче