As far as I understand, the toolbar is not disabled in the overlay. When the toolbar is defined in the overlay, Firefox decides from its localstore info whether the toolbar should be displayed. You can access the localstore data programmatically using the RDF API (nsIDatasource, nsIRDFResource, ...)

/mig

I saw the localstrore.rdf and found my extension with collapsed =true.
But is there a way to find programmically tht the toolbar is disabled
in my overlay.xul?

I m making a toolbar in mozilla firefox and right now i m struck in one
position. I want to know when my toolbar is disabled/enabled by right
clicking on toolbar and unticking my toolbar or by view -> toolbar.


I think you should be able to get this information from the localstore
database.
If your toolbar is disabled, you should have the property 'collapsed' of
your toolbar set to 'true'
Maybe there are better ways to do this.
_______________________________________________
dev-tech-xpcom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-xpcom

Reply via email to