[Companion] How do I suppress toolbar in popup windows?
Brian Kennelly
mozdev at bkennelly.net
Fri Dec 10 09:40:02 EST 2004
Goformusic Support wrote:
>Hello,
>
>I'm new to this list and new in creating FireFox extensions. I've
>build a working extension, but the toolbar I created is also visible
>in popup windows. I've read that Brian Kennelly from the Yahoo
>Companion had the same problem, but can't find his solution.
>
>So, how do I suppress a toolbar in popup windows? Have been googling
>around without any results...
>
>This is the xul I use (shortened):
>
><overlay id="converterOverlay"
>xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
><toolbox id="navigator-toolbox">
><toolbar id="findfile_toolbar" align="center" toolbarname="Weblink">
></toolbar>
></toolbox>
></overlay>
>
>
I think the change that finally worked was to add
'class="chromeclass-toolbar"' to the toolbar definition:
...
<toolbox id="navigator-toolbox">
<toolbar id="yahootoolbar_dyn"
grippytooltiptext="Yahoo! Toolbar"
hidden="false"
persist="collapsed"
class="chromeclass-toolbar"
toolbarname="Yahoo Companion"
/>
</toolbox>
...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mozdev.org/pipermail/companion/attachments/20041210/3e7687be/attachment.htm
More information about the Companion
mailing list