Title:

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

If you need a way to create directories and write files into the profile directory, checkout http://jslib.mozdev.org/ .  You can look through the code on rpgtools.mozdev.org to see how I use these tools read and write files.

-eric

Pavol Vaskovic wrote:
[EMAIL PROTECTED]">Hmm.. I've taken look at contents.rdf in /rpgtools/rpgtools_common/resources/content/

because it's not clear how do I register the overlay from profile dir. But I can't find anything usefull. currently we do it 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:package:root"> <RDF:li resource="urn:mozilla:package:mozgest"/> </RDF:Seq> <RDF:Description about="urn:mozilla:package:mozgest"
        chrome:displayName="Mouse Gestures"
        chrome:author="Andy Edmonds"
        chrome:name="mozgest"> </RDF:Description>

<RDF:Seq about="urn:mozilla:overlays">
<RDF:li resource="chrome://navigator/content/navigator.xul"/>
<RDF:li resource="chrome://communicator/content/pref/preftree.xul"/>
</RDF:Seq>

<RDF:Seq about="chrome://navigator/content/navigator.xul">
<RDF:li>chrome://mozgest/content/mozgestOverlay.xul</RDF:li>
</RDF:Seq>

<RDF:Seq about="chrome://communicator/content/pref/preftree.xul">
<RDF:li>chrome://mozgest/content/pref/mozgestPrefOverlay.xul</RDF:li>
</RDF:Seq>

</RDF:RDF>
-------------------------------------------------

So the question is: How do I register overlay from profile dir. (I am able to install in profile.)

--mondo


--
Eric Plaster
Urban Rage Software
Senior Software Engineer
RPG tools project
[EMAIL PROTECTED]
http://rpgtools.mozdev.org
AD&D tools for the player and the DM

Reply via email to