toolkit/themes/windows/global/globalBindings.xml

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

mercurial