We are looking for suggestions on how to improve this page and also what sort of information you would find useful as an extension developer.
How to to display a button with a menupopup in the urlbar-icons for both Firefox and SeaMonkey 2.0.
Use this:
Code: Select all
<hbox id="urlbar-icons">
<image popup="myExt-menu"/>
</hbox>
<window id="main-window">
<menupopup id="myExt-menu">
<menuitem label="menuitem"/>
<menuitem label="menuitem"/>
</menupopup>
</window>
Instead of:
Code: Select all
<hbox id="urlbar-icons">
<button type="menu">
<menupopup>
<menuitem label="menuitem"/>
<menuitem label="menuitem"/>
<menuitem label="menuitem"/>
</menupopup>
</button>
</hbox>
Technical Note:
The code that opens the URL history popup just looks for any menupopup, so it goes wrong if you add your own. Ordinary popups are fine of course.
Phil