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:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user