зеркало из https://github.com/mozilla/gecko-dev.git
Sync with interface changes. Not part of the build.
This commit is contained in:
Родитель
aaa6413f0d
Коммит
061b9b3853
|
@ -1456,7 +1456,7 @@ static nsresult main1(int argc, char* argv[], nsISupports *nativeApp,
|
||||||
if (NS_FAILED(rv)) return rv;
|
if (NS_FAILED(rv)) return rv;
|
||||||
|
|
||||||
// So we can open and close windows during startup
|
// So we can open and close windows during startup
|
||||||
appShell->SetQuitOnLastWindowClosing(PR_FALSE);
|
appShell->EnterLastWindowClosingSurvivalArea();
|
||||||
|
|
||||||
// Initialize Profile Service here.
|
// Initialize Profile Service here.
|
||||||
NS_TIMELINE_ENTER("InitializeProfileService");
|
NS_TIMELINE_ENTER("InitializeProfileService");
|
||||||
|
@ -1499,8 +1499,9 @@ static nsresult main1(int argc, char* argv[], nsISupports *nativeApp,
|
||||||
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to Ensure1Window");
|
NS_ASSERTION(NS_SUCCEEDED(rv), "failed to Ensure1Window");
|
||||||
if (NS_FAILED(rv)) return rv;
|
if (NS_FAILED(rv)) return rv;
|
||||||
|
|
||||||
// From this point on, should be true
|
#if !defined(XP_MAC) && !defined(XP_MACOSX)
|
||||||
appShell->SetQuitOnLastWindowClosing(PR_TRUE);
|
appShell->ExitLastWindowClosingSurvivalArea();
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifdef MOZ_ENABLE_XREMOTE
|
#ifdef MOZ_ENABLE_XREMOTE
|
||||||
// if we have X remote support and we have our one window up and
|
// if we have X remote support and we have our one window up and
|
||||||
|
|
Загрузка…
Ссылка в новой задаче