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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user