| 1 | <?xml version="1.0"?> |
| 2 | |
| 3 | <bindings id="buttonBindings" |
| 4 | xmlns="http://www.mozilla.org/xbl" |
| 5 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"> |
| 6 | |
| 7 | <binding id="button" extends="chrome://global/content/bindings/button.xml#button"> |
| 8 | <content> |
| 9 | <children includes="observes|template|menupopup|tooltip"/> |
| 10 | <xul:box class="box-inherit button-box" orient="horizontal" flex="1"> |
| 11 | <xul:hbox class="box-inherit button-box-2" flex="1"> |
| 12 | <xul:hbox class="box-inherit button-box-text" inherits="orient,dir,align,pack" |
| 13 | flex="1" align="center" pack="center"> |
| 14 | <children> |
| 15 | <xul:image class="button-icon" inherits="src=image"/> |
| 16 | <xul:label class="button-text" flex="1" inherits="disabled,value=label,accesskey,crop"/> |
| 17 | </children> |
| 18 | </xul:hbox> |
| 19 | </xul:hbox> |
| 20 | </xul:box> |
| 21 | </content> |
| 22 | </binding> |
| 23 | |
| 24 | <binding id="button-menu" display="xul:menu" extends="chrome://global/skin/buttonBindings.xml#button"/> |
| 25 | |
| 26 | <binding id="simplebutton" extends="chrome://global/content/bindings/button.xml#button-base"> |
| 27 | <content> |
| 28 | <xul:vbox flex="1" align="center"> |
| 29 | <xul:image class="simplebutton-icon" inherits="src,disabled"/> |
| 30 | <xul:text class="simplebutton-text" inherits="value=label,accesskey,crop,disabled"/> |
| 31 | </xul:vbox> |
| 32 | </content> |
| 33 | </binding> |
| 34 | |
| 35 | </bindings> |