mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-26 06:38:36 +00:00
Modified to load the newpm.xul to invoke profile manager ui
This commit is contained in:
parent
d838f8b9de
commit
2638b04a66
@ -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);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user