Move xforms.css into chrome so that it can install as a Firefox extension. Also, fix registration hooks that were never hooked up. Bug 279288, r=darin.

git-svn-id: svn://10.0.0.236/trunk@168194 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
bryner%brianryner.com
2005-01-23 19:12:16 +00:00
parent 97b681583e
commit 8fc17815f8
4 changed files with 21 additions and 10 deletions

View File

@@ -62,7 +62,7 @@ RegisterXFormsModule(nsIComponentManager *aCompMgr,
nsXPIDLCString previous;
return catman->AddCategoryEntry("agent-style-sheets",
"xforms stylesheet",
"resource://gre/res/xforms.css",
"chrome://xforms/content/xforms.css",
PR_TRUE, PR_TRUE, getter_Copies(previous));
}
@@ -86,7 +86,10 @@ static const nsModuleComponentInfo components[] = {
{ "XForms element factory",
NS_XFORMSELEMENTFACTORY_CID,
NS_XTF_ELEMENT_FACTORY_CONTRACTID_PREFIX NS_NAMESPACE_XFORMS,
nsXFormsElementFactoryConstructor }
nsXFormsElementFactoryConstructor,
RegisterXFormsModule,
UnregisterXFormsModule
}
};
PR_STATIC_CALLBACK(nsresult)