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:
scott%scott-macgregor.org 2003-04-26 01:50:56 +00:00
Родитель 882e317938
Коммит d98fce631a
1 изменённых файлов: 8 добавлений и 0 удалений

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

@ -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;