As I said before, you can't use this skin with Mozilla itself by selecting it here in the preferences dialog because, although it has been registered, it hasn't actually been installed. This would normally be done using a downloadable archive containing an install script which is usually run directly within Mozilla.
Now for the moment of glory; open up your XUL application and the skin settings should be applied:
You should be seeing your application as if the skin file was simply attached to the file locally instead of via the chrome URL.
So these are the two ways in which styles or themes can be applied to an application you've created. Unfortunately however, neither of these mechanisms is suitable for having a system whereby users of your application can programmatically change to another skin. In order to do this, as with Mozilla itself, you need to make use of another area of XUL: overlays, which can be used either to connect common or shared XUL elements to your main application file to cut down on coding, or to dynamically apply new content to applications, without the said applications original code being modified.
| DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware. |