| 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <bindings id="menuButtonToolbarBindings" |
| 4 | xmlns="http://www.mozilla.org/xbl" |
| 5 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
| 6 | |
| 7 | <binding id="menubutton-toolbar-top"> |
| 8 | <content excludes="observes,template,menupopup"> |
| 9 | <xul:button class="classic-simplebutton" allowevents="true" flex="1" |
| 10 | inherits="value,src,accesskey,crop,disabled,buttonaction:oncommand" |
| 11 | onmousedown="this.parentNode.setAttribute('buttondown','true');" |
| 12 | onmouseup="this.parentNode.removeAttribute('buttondown');" |
| 13 | onmouseover="this.parentNode.setAttribute('buttonover','true');" |
| 14 | onmouseout="this.parentNode.removeAttribute('buttonover');"/> |
| 15 | <xul:box class="classic-dropmarker-box" autostretch="never" valign="middle" inherits="disabled"> |
| 16 | <xul:image class="classic-dropmarker" inherits="disabled"/> |
| 17 | </xul:box> |
| 18 | </content> |
| 19 | </binding> |
| 20 | |
| 21 | <binding id="buttonleft" extends="chrome://global/content/xulBindings.xml#basetext"> |
| 22 | <content excludes="observes,template" autostretch="never"> |
| 23 | <xul:image class="classic-simplebutton-icon" inherits="src"/> |
| 24 | <xul:box orient="vertical" class="classic-simplebutton-textbox" autostretch="never" flex="1"> |
| 25 | <xul:text class="classic-simplebutton-text" inherits="value=label,accesskey,crop"/> |
| 26 | </xul:box> |
| 27 | </content> |
| 28 | </binding> |
| 29 | |
| 30 | <binding id="buttontop" extends="chrome://global/content/xulBindings.xml#basetext"> |
| 31 | <content excludes="observes,template" orient="vertical" autostretch="never" halign="middle"> |
| 32 | <xul:image class="classic-simplebutton-icon" inherits="src"/> |
| 33 | <xul:box orient="vertical" class="classic-simplebutton-textbox" autostretch="never" flex="1"> |
| 34 | <xul:text class="classic-simplebutton-text" inherits="value=label,accesskey,crop"/> |
| 35 | </xul:box> |
| 36 | </content> |
| 37 | </binding> |
| 38 | |
| 39 | </bindings> |
| 40 | |