Make it possible to render the bookmarks tree, but you can't click on a

bookmark to open it in the browser due to a Java side deadlock.
This commit is contained in:
edburns%acm.org 2002-05-04 00:30:01 +00:00
Родитель ddba0b8fa0
Коммит 2f1efcfc15
2 изменённых файлов: 9 добавлений и 6 удалений

Просмотреть файл

@ -148,6 +148,8 @@ LCFLAGS = \
$(NULL)
!endif
NO_DIST_INSTALL=1
include <$(DEPTH)\config\rules.mak>
#!CMDSWITCHES -S
@ -166,7 +168,7 @@ buildRunems:
!endif
!endif
install:: $(DLL) buildRunems
libs:: $(DLL) buildRunems
clobber_all:: clobber

Просмотреть файл

@ -167,7 +167,8 @@ nsresult rdf_InitRDFUtils()
}
}
rdf_inited = PR_TRUE;
rv = gBookmarks->ReadBookmarks(&rdf_inited);
return rv;
}
@ -223,7 +224,7 @@ void rdf_recursiveResourceTraversal(nsCOMPtr<nsIRDFResource> currentResource)
PR_ASSERT(gComponentManager);
// get a container in order to recurr
rv = gComponentManager->
rv = nsComponentManager::
CreateInstance(kRDFContainerCID,
nsnull,
NS_GET_IID(nsIRDFContainer),
@ -471,7 +472,7 @@ nsresult rdf_getChildAt(int index, nsIRDFResource *theParent,
PR_ASSERT(gComponentManager);
rv = gComponentManager->CreateInstance(kRDFContainerCID,
rv = nsComponentManager::CreateInstance(kRDFContainerCID,
nsnull,
NS_GET_IID(nsIRDFContainer),
getter_AddRefs(container));
@ -539,7 +540,7 @@ nsresult rdf_getChildCount(nsIRDFResource *theParent, PRInt32 *count)
return NS_OK;
}
PR_ASSERT(gComponentManager);
rv = gComponentManager->CreateInstance(kRDFContainerCID,
rv = nsComponentManager::CreateInstance(kRDFContainerCID,
nsnull,
NS_GET_IID(nsIRDFContainer),
getter_AddRefs(container));
@ -584,7 +585,7 @@ nsresult rdf_getIndexOfChild(nsIRDFResource *theParent,
return NS_OK;
}
PR_ASSERT(gComponentManager);
rv = gComponentManager->CreateInstance(kRDFContainerCID,
rv = nsComponentManager::CreateInstance(kRDFContainerCID,
nsnull,
NS_GET_IID(nsIRDFContainer),
getter_AddRefs(container));