per bugzilla 106523, set PR_TRUE in observerService->AddObserver() for initializing profiles

git-svn-id: svn://10.0.0.236/trunk@106561 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
depstein%netscape.com
2001-10-29 19:43:32 +00:00
parent bc470f1b6b
commit 25e89b0967

View File

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