Re: XUL app and registering third-party themes

Daniel Veditz <[email protected]>
Newsgroups gmane.comp.mozilla.devel.xpinstall
Organization Another Netscape Collabra Server User
Message-ID <[email protected]>
Martin Kutschker wrote:
> 
>>>Could you ask the user on your page which themes they want installed?
>>Good idea! I'm using that in 0.4.1, which I just released.
> 
> I consider this a workaround as it forces developers to ship a number of 
>   separate xpi's for every supported skin. As add-ons usually are very 
> small the extra few bytes for the css files doesn't matter.

My suggestion was to go ahead and ship the extra css, but only register it
in the install script depending on arguments passed in by the page.

Yes, it's a workaround, but not as bad as creating a bunch of separate
.xpis. Without core support for this functionality there's not much else the
install component can offer.

-Dan Veditz
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.