On Mon, 2 Jan 2006 11:59:31 +0100, Ramiro Aparicio wrote:

> I am working in the options dialog of my extension and I found that
> even now that I had removed persist="width height" from the dialog
> attributes I just loads the stored values resulting in a dialog window
> too big.
> 
> I found that deleting the values from localstore.rdf works but the
> users of my extension will not do that, so there is any
> atribute/option/code to make firefox forget that values instead of
> loading them each time.

Use nsIRDFService to get the local-store datasource and then unassert the
relevant triples.

Or just use sizeToContent() in your dialog onload handler.

Phil
-- 
Philip Chee <[EMAIL PROTECTED]>, <[EMAIL PROTECTED]>
http://flashblock.mozdev.org/
Guard us from the she-wolf and the wolf, and guard us from the thief,
oh Night, and so be good for us to pass.
[ ]He who laughs last probably doesn't understand the joke.
* TagZilla 0.059
_______________________________________________
Project_owners mailing list
[email protected]
http://mozdev.org/mailman/listinfo/project_owners

Reply via email to