Set return value to false for nsIUriContentListener->OnStartUriOpen(). Added urlDialog for nsIUriLoader->OpenUri(). Now passing 2nd parameter (doCommandState) in DoCommandTest() in nsICommandMgr.cpp. Not part of the build.

git-svn-id: svn://10.0.0.236/trunk@129878 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
depstein%netscape.com
2002-09-18 03:42:09 +00:00
parent 9f07ef48e9
commit ec2bffd8d4
6 changed files with 25 additions and 16 deletions

View File

@@ -157,11 +157,11 @@ winEmbedFileLocProvider::GetFile(const char *prop, PRBool *persistant, nsIFile *
// Please see http://www.mozilla.org/projects/embedding/MRE.html
// for more info. on GRE
//---------------------------------------------------------------
else if (nsCRT::strcmp(prop, NS_GRE_DIR) == 0)
else if (nsCRT::strcmp(prop, NS_MRE_DIR) == 0)
{
rv = GetGreDirectory(getter_AddRefs(localFile));
}
else if (nsCRT::strcmp(prop, NS_GRE_COMPONENT_DIR) == 0)
else if (nsCRT::strcmp(prop, NS_MRE_COMPONENT_DIR) == 0)
{
rv = GetGreDirectory(getter_AddRefs(localFile));
if (NS_SUCCEEDED(rv))
@@ -236,7 +236,7 @@ NS_METHOD winEmbedFileLocProvider::GetGreDirectory(nsILocalFile **aLocalFile)
// Get the path of the GRE which is compatible with our embedding application
// from the registry
//
char *pGreDir = GetMreLocationFromRegistry();
char *pGreDir = GetGreLocationFromRegistry();
if(pGreDir)
{
nsCOMPtr<nsILocalFile> tempLocal;