зеркало из https://github.com/mozilla/gecko-dev.git
bug 155679, mapi with turbo and multiple profile doesn't work, r=rdayal, sr=jag
This commit is contained in:
Родитель
262731580a
Коммит
7da59375cf
|
@ -1770,7 +1770,10 @@ nsNativeAppSupportWin::HandleRequest( LPBYTE request, PRBool newWindow ) {
|
||||||
// check wheather it is a MAPI request. If yes, don't open any new
|
// check wheather it is a MAPI request. If yes, don't open any new
|
||||||
// windows and just return.
|
// windows and just return.
|
||||||
rv = args->GetCmdLineValue(MAPI_STARTUP_ARG, getter_Copies(arg));
|
rv = args->GetCmdLineValue(MAPI_STARTUP_ARG, getter_Copies(arg));
|
||||||
if (NS_SUCCEEDED(rv) && (const char*)arg) return;
|
if (NS_SUCCEEDED(rv) && (const char*)arg) {
|
||||||
|
nativeApp->EnsureProfile(args);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
// Try standard startup's command-line handling logic from nsAppRunner.cpp...
|
// Try standard startup's command-line handling logic from nsAppRunner.cpp...
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче