Modified to load the newpm.xul to invoke profile manager ui

This commit is contained in:
gayatrib%netscape.com 1999-07-06 08:32:21 +00:00
parent d838f8b9de
commit 2638b04a66

View File

@ -376,7 +376,7 @@ int main(int argc, char* argv[])
if (NS_SUCCEEDED(rv)) if (NS_SUCCEEDED(rv))
{ {
if (cmdResult) { if (cmdResult) {
profstr = "resource:/res/profile/profileManagerContainer.xul"; profstr = "resource:/res/profile/pm.xul";
} }
} }
@ -397,7 +397,7 @@ int main(int argc, char* argv[])
#ifdef XP_PC #ifdef XP_PC
profileService->MigrateProfileInfo(); profileService->MigrateProfileInfo();
#endif #endif
profstr = "resource:/res/profile/profileManagerContainer.xul"; profstr = "resource:/res/profile/pm.xul";
} }
} }
@ -608,7 +608,7 @@ int main(int argc, char* argv[])
profstr = "resource:/res/profile/cpw.xul"; profstr = "resource:/res/profile/cpw.xul";
} }
else if (numProfiles > 1) else if (numProfiles > 1)
profstr = "resource:/res/profile/profileManagerContainer.xul"; profstr = "resource:/res/profile/pm.xul";
} }
@ -631,7 +631,7 @@ int main(int argc, char* argv[])
nsCOMPtr<nsIWebShellWindow> profWindow; nsCOMPtr<nsIWebShellWindow> profWindow;
rv = profAppShell->CreateTopLevelWindow(nsnull, profURL, PR_TRUE, getter_AddRefs(profWindow), rv = profAppShell->CreateTopLevelWindow(nsnull, profURL, PR_TRUE, getter_AddRefs(profWindow),
nsnull, nsnull, NS_SIZETOCONTENT, NS_SIZETOCONTENT); nsnull, nsnull, profWinWidth, profWinHeight);
NS_RELEASE(profURL); NS_RELEASE(profURL);