[Project_owners] mozilla/seamonkey and toolbar buttons

Michael Vincent van Rantwijk mv_van_rantwijk at SPAMFREEyahoo.com
Wed Jun 22 19:37:06 EDT 2005


Eric Jung wrote:
> Michael/anyone else,
> Could you tell me if I'm using the correct path? The toolbar image
> still doesn't appear.
> image="chrome://passwdmaker/skin/passwdmaker.png"
> where the .png's path inside the jar is:
> chrome/passwdmaker.jar/skin/classic/passwdmaker/passwdmaker.png

yes   /skin/classic/passwdmaker/passwdmaker.png   is ok.

Do you have other images/files in this directory? Can they be displayed 
with the same path without errors?

BTW: you must have a /skin/classic/passwdmaker/contents.rdf
The file content should be something like this:


<?xml version="1.0"?>

<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
          xmlns:chrome="http://www.mozilla.org/rdf/chrome#">

   <RDF:Seq about="urn:mozilla:skin:root">
     <RDF:li resource="urn:mozilla:skin:classic/1.0"/>
   </RDF:Seq>

   <RDF:Description about="urn:mozilla:skin:classic/1.0">
     <chrome:packages>
       <RDF:Seq about="urn:mozilla:skin:classic/1.0:packages">
         <RDF:li resource="urn:mozilla:skin:classic/1.0:passwdmaker"/>
       </RDF:Seq>
     </chrome:packages>
   </RDF:Description>

   <RDF:Description about="urn:mozilla:skin:classic/1.0:passwdmaker"
     chrome:skinVersion="1.5"/>

</RDF:RDF>

Michael


More information about the Project_owners mailing list