|
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 <!DOCTYPE bindings SYSTEM "chrome://mozapps/locale/xpinstall/xpinstallConfirm.dtd"> |
|
8 |
|
9 <bindings id="xpinstallItemBindings" |
|
10 xmlns="http://www.mozilla.org/xbl" |
|
11 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
12 xmlns:xbl="http://www.mozilla.org/xbl"> |
|
13 |
|
14 <binding id="installitem"> |
|
15 <resources> |
|
16 <stylesheet src="chrome://mozapps/skin/xpinstall/xpinstallConfirm.css"/> |
|
17 </resources> |
|
18 <content> |
|
19 <xul:hbox flex="1"> |
|
20 <xul:vbox align="center" pack="center" class="xpinstallIconContainer"> |
|
21 <xul:image class="xpinstallItemIcon" xbl:inherits="src=icon"/> |
|
22 </xul:vbox> |
|
23 <xul:vbox flex="1" pack="center"> |
|
24 <xul:hbox class="xpinstallItemNameRow" align="center"> |
|
25 <xul:label class="xpinstallItemName" xbl:inherits="value=name" crop="right"/> |
|
26 <xul:label class="xpinstallItemSigned" xbl:inherits="value=cert,signed"/> |
|
27 </xul:hbox> |
|
28 <xul:hbox class="xpinstallItemDetailsRow" align="center"> |
|
29 <xul:textbox class="xpinstallItemURL" xbl:inherits="value=url" flex="1" readonly="true" crop="right"/> |
|
30 </xul:hbox> |
|
31 </xul:vbox> |
|
32 </xul:hbox> |
|
33 </content> |
|
34 <implementation> |
|
35 <property name="name" onset="this.setAttribute('name', val); return val;" |
|
36 onget="return this.getAttribute('name');"/> |
|
37 <property name="cert" onset="this.setAttribute('cert', val); return val;" |
|
38 onget="return this.getAttribute('cert');"/> |
|
39 <property name="signed" onset="this.setAttribute('signed', val); return val;" |
|
40 onget="return this.getAttribute('signed');"/> |
|
41 <property name="url" onset="this.setAttribute('url', val); return val;" |
|
42 onget="return this.getAttribute('url');"/> |
|
43 <property name="icon" onset="this.setAttribute('icon', val); return val;" |
|
44 onget="return this.getAttribute('icon');"/> |
|
45 <property name="type" onset="this.setAttribute('type', val); return val;" |
|
46 onget="return this.getAttribute('type');"/> |
|
47 </implementation> |
|
48 </binding> |
|
49 |
|
50 </bindings> |
|
51 |