Wed, 31 Dec 2014 13:27:57 +0100
Ignore runtime configuration files generated during quality assurance.
1 <?xml version="1.0"?>
3 <!-- This Source Code Form is subject to the terms of the Mozilla Public
4 - License, v. 2.0. If a copy of the MPL was not distributed with this
5 - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
7 <!DOCTYPE overlay [
8 <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd">
9 <!ENTITY % applicationsDTD SYSTEM "chrome://browser/locale/preferences/applications.dtd">
10 %brandDTD;
11 %applicationsDTD;
12 ]>
14 <bindings id="handlerBindings"
15 xmlns="http://www.mozilla.org/xbl"
16 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
17 xmlns:xbl="http://www.mozilla.org/xbl">
19 <binding id="handler-base" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">
20 <implementation>
21 <property name="type" readonly="true">
22 <getter>
23 return this.getAttribute("type");
24 </getter>
25 </property>
26 </implementation>
27 </binding>
29 <binding id="handler" extends="chrome://browser/content/preferences/handlers.xml#handler-base">
30 <content>
31 <xul:hbox flex="1" equalsize="always">
32 <xul:hbox flex="1" align="center" xbl:inherits="tooltiptext=typeDescription">
33 <xul:image src="moz-icon://goat?size=16" class="typeIcon"
34 xbl:inherits="src=typeIcon" height="16" width="16"/>
35 <xul:label flex="1" crop="end" xbl:inherits="value=typeDescription"/>
36 </xul:hbox>
37 <xul:hbox flex="1" align="center" xbl:inherits="tooltiptext=actionDescription">
38 <xul:image xbl:inherits="src=actionIcon" height="16" width="16" class="actionIcon"/>
39 <xul:label flex="1" crop="end" xbl:inherits="value=actionDescription"/>
40 </xul:hbox>
41 </xul:hbox>
42 </content>
43 </binding>
45 <binding id="handler-selected" extends="chrome://browser/content/preferences/handlers.xml#handler-base">
46 <content>
47 <xul:hbox flex="1" equalsize="always">
48 <xul:hbox flex="1" align="center" xbl:inherits="tooltiptext=typeDescription">
49 <xul:image src="moz-icon://goat?size=16" class="typeIcon"
50 xbl:inherits="src=typeIcon" height="16" width="16"/>
51 <xul:label flex="1" crop="end" xbl:inherits="value=typeDescription"/>
52 </xul:hbox>
53 <xul:hbox flex="1">
54 <xul:menulist class="actionsMenu" flex="1" crop="end" selectedIndex="1"
55 xbl:inherits="tooltiptext=actionDescription"
56 oncommand="gApplicationsPane.onSelectAction(event.originalTarget)">
57 <xul:menupopup/>
58 </xul:menulist>
59 </xul:hbox>
60 </xul:hbox>
61 </content>
63 <implementation>
64 <constructor>
65 gApplicationsPane.rebuildActionsMenu();
66 </constructor>
67 </implementation>
69 </binding>
71 <binding id="offlineapp"
72 extends="chrome://global/content/bindings/listbox.xml#listitem">
73 <content>
74 <children>
75 <xul:listcell xbl:inherits="label=host"/>
76 <xul:listcell xbl:inherits="label=usage"/>
77 </children>
78 </content>
79 </binding>
81 </bindings>