[Project_owners] Changing contents.rdf / overlays dynamically

Brian King brian at mozdev.org
Mon Jul 5 22:42:59 EDT 2004


On 5.7.2004 19:45, Pete Collins wrote:

> Yo want to maintain a fixed number of different overlays so you can then 
> choose a specific overlay and the point to that from overlays.rdf right?

Right.

> You can't modify contents.rdf because it's wrapped up in a jar. You can 
> modify overlays.rdf since it is just another datasource. Take a look at 
> the jsLib uninstall code Neil implemented and you'll see where he did that.
> 
> http://www.mozdev.org/source/browse/~checkout~/jslib/libraries/install/uninstall.js?rev=1.29&content-type=text/plain 
> 
> Take a look a the removeOverlay function.

Great, I'll take a look.

-- 
Brian King
www.mozdev.org - free project hosting for the mozilla community


More information about the Project_owners mailing list