From 2638b04a66bef4c3d8e1043e1ef52df720c108b9 Mon Sep 17 00:00:00 2001 From: "gayatrib%netscape.com" Date: Tue, 6 Jul 1999 08:32:21 +0000 Subject: [PATCH] Modified to load the newpm.xul to invoke profile manager ui --- xpfe/bootstrap/nsAppRunner.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/xpfe/bootstrap/nsAppRunner.cpp b/xpfe/bootstrap/nsAppRunner.cpp index 34a8a0098b4b..33c961225267 100644 --- a/xpfe/bootstrap/nsAppRunner.cpp +++ b/xpfe/bootstrap/nsAppRunner.cpp @@ -376,7 +376,7 @@ int main(int argc, char* argv[]) if (NS_SUCCEEDED(rv)) { 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 profileService->MigrateProfileInfo(); #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"; } 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 profWindow; rv = profAppShell->CreateTopLevelWindow(nsnull, profURL, PR_TRUE, getter_AddRefs(profWindow), - nsnull, nsnull, NS_SIZETOCONTENT, NS_SIZETOCONTENT); + nsnull, nsnull, profWinWidth, profWinHeight); NS_RELEASE(profURL);