Thu, 22 Jan 2015 13:21:57 +0100
Incorporate requested changes from Mozilla in review:
https://bugzilla.mozilla.org/show_bug.cgi?id=1123480#c6
michael@0 | 1 | <?xml version="1.0"?> |
michael@0 | 2 | <!-- This Source Code Form is subject to the terms of the Mozilla Public |
michael@0 | 3 | - License, v. 2.0. If a copy of the MPL was not distributed with this |
michael@0 | 4 | - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
michael@0 | 5 | |
michael@0 | 6 | |
michael@0 | 7 | <bindings id="globalBindings" |
michael@0 | 8 | xmlns="http://www.mozilla.org/xbl" |
michael@0 | 9 | xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
michael@0 | 10 | xmlns:xbl="http://www.mozilla.org/xbl"> |
michael@0 | 11 | |
michael@0 | 12 | <binding id="radio" |
michael@0 | 13 | extends="chrome://global/content/bindings/radio.xml#radio"> |
michael@0 | 14 | <content> |
michael@0 | 15 | <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled"> |
michael@0 | 16 | <xul:hbox class="radio-check-box2" flex="1"> |
michael@0 | 17 | <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/> |
michael@0 | 18 | </xul:hbox> |
michael@0 | 19 | </xul:hbox> |
michael@0 | 20 | <xul:hbox class="radio-label-box" align="center" flex="1"> |
michael@0 | 21 | <xul:image class="radio-icon" xbl:inherits="src"/> |
michael@0 | 22 | <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/> |
michael@0 | 23 | </xul:hbox> |
michael@0 | 24 | </content> |
michael@0 | 25 | </binding> |
michael@0 | 26 | |
michael@0 | 27 | <binding id="radio-with-spacing" |
michael@0 | 28 | extends="chrome://global/skin/globalBindings.xml#radio"> |
michael@0 | 29 | <content> |
michael@0 | 30 | <xul:hbox class="radio-spacer-box"> |
michael@0 | 31 | <xul:hbox class="radio-check-box1" xbl:inherits="selected,checked,disabled"> |
michael@0 | 32 | <xul:hbox class="radio-check-box2" flex="1"> |
michael@0 | 33 | <xul:image class="radio-check" xbl:inherits="selected,checked,disabled"/> |
michael@0 | 34 | </xul:hbox> |
michael@0 | 35 | </xul:hbox> |
michael@0 | 36 | </xul:hbox> |
michael@0 | 37 | <xul:hbox class="radio-label-center-box" flex="1"> |
michael@0 | 38 | <xul:hbox class="radio-label-box" flex="1"> |
michael@0 | 39 | <xul:image class="radio-icon" xbl:inherits="src"/> |
michael@0 | 40 | <xul:label class="radio-label" xbl:inherits="xbl:text=label,accesskey,crop" flex="1"/> |
michael@0 | 41 | </xul:hbox> |
michael@0 | 42 | </xul:hbox> |
michael@0 | 43 | </content> |
michael@0 | 44 | </binding> |
michael@0 | 45 | |
michael@0 | 46 | <binding id="toolbarpaletteitem-spacer" |
michael@0 | 47 | extends="chrome://global/content/bindings/toolbar.xml#toolbarpaletteitem"> |
michael@0 | 48 | <content> |
michael@0 | 49 | <xul:spacer class="spacer-left"/> |
michael@0 | 50 | <children/> |
michael@0 | 51 | <xul:spacer class="spacer-right"/> |
michael@0 | 52 | </content> |
michael@0 | 53 | </binding> |
michael@0 | 54 | |
michael@0 | 55 | <binding id="menulist-compact" display="xul:menu" |
michael@0 | 56 | extends="chrome://global/content/bindings/menulist.xml#menulist"> |
michael@0 | 57 | <content sizetopopup="false"> |
michael@0 | 58 | <xul:hbox class="menulist-label-box" flex="1"> |
michael@0 | 59 | <xul:image class="menulist-icon" xbl:inherits="src"/> |
michael@0 | 60 | <xul:label class="menulist-label" xbl:inherits="value=label,crop,accesskey" crop="right" flex="1"/> |
michael@0 | 61 | </xul:hbox> |
michael@0 | 62 | <children includes="menupopup"/> |
michael@0 | 63 | </content> |
michael@0 | 64 | </binding> |
michael@0 | 65 | |
michael@0 | 66 | </bindings> |