Eric Plaster wrote:

> 
> Not sure what you are asking here.  If you want some way to insert your 
> app in the tasks menu, have a look here:
> 
>http://www.mozdev.org/source/browse/rpgtools/spellviewer/resources/content/spellviewerTasksOverlay.js?rev=1.1&content-type=text/x-cvsweb-markup
> 
> 
>http://www.mozdev.org/source/browse/rpgtools/spellviewer/resources/content/spellviewerTasksOverlay.xul?rev=1.1&content-type=text/x-cvsweb-markup
> 


OK. I've taken look, but learnt nothing new.
you do it like this (in content.rdf):
<RDF:Seq about="urn:mozilla:overlays">
   <RDF:li resource="chrome://communicator/content/tasksOverlay.xul"/>
</RDF:Seq>

<RDF:Seq about="chrome://communicator/content/tasksOverlay.xul">
<RDF:li>chrome://spellviewer/content/spellviewerTasksOverlay.xul</RDF:li>
</RDF:Seq>

This registers your chorme to overlay. And that's the way we do it 
currently. You suggested installing in profile direcoty (with 
registerChrome() and PROFILE_CHROME as parameter).


Qusetion (hope this time it's clear):
How should i write this:
<RDF:li>chrome://spellviewer/content/spellviewerTasksOverlay.xul</RDF:li>
when I'm not in chrome dir, but in profile.

--mondo






Reply via email to