зеркало из https://github.com/mozilla/pjs.git
per bugzilla 106523, set PR_TRUE in observerService->AddObserver() for initializing profiles
This commit is contained in:
Родитель
bc8969206e
Коммит
d2be015d71
|
@ -493,9 +493,9 @@ BOOL CTestEmbedApp::InitializeProfiles()
|
|||
nsCOMPtr<nsIObserverService>observerService(do_GetService("@mozilla.org/observer-service;1",&rv));
|
||||
if (NS_SUCCEEDED(rv))
|
||||
{
|
||||
observerService->AddObserver(this, "profile-approve-change", PR_FALSE);
|
||||
observerService->AddObserver(this, "profile-change-teardown", PR_FALSE);
|
||||
observerService->AddObserver(this, "profile-after-change", PR_FALSE);
|
||||
observerService->AddObserver(this, "profile-approve-change", PR_TRUE);
|
||||
observerService->AddObserver(this, "profile-change-teardown", PR_TRUE);
|
||||
observerService->AddObserver(this, "profile-after-change", PR_TRUE);
|
||||
}
|
||||
|
||||
m_ProfileMgr->StartUp();
|
||||
|
|
Загрузка…
Ссылка в новой задаче