1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/toolkit/mozapps/extensions/content/xpinstallItem.xml Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,51 @@ 1.4 +<?xml version="1.0"?> 1.5 +<!-- This Source Code Form is subject to the terms of the Mozilla Public 1.6 + - License, v. 2.0. If a copy of the MPL was not distributed with this 1.7 + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 1.8 + 1.9 + 1.10 +<!DOCTYPE bindings SYSTEM "chrome://mozapps/locale/xpinstall/xpinstallConfirm.dtd"> 1.11 + 1.12 +<bindings id="xpinstallItemBindings" 1.13 + xmlns="http://www.mozilla.org/xbl" 1.14 + xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" 1.15 + xmlns:xbl="http://www.mozilla.org/xbl"> 1.16 + 1.17 + <binding id="installitem"> 1.18 + <resources> 1.19 + <stylesheet src="chrome://mozapps/skin/xpinstall/xpinstallConfirm.css"/> 1.20 + </resources> 1.21 + <content> 1.22 + <xul:hbox flex="1"> 1.23 + <xul:vbox align="center" pack="center" class="xpinstallIconContainer"> 1.24 + <xul:image class="xpinstallItemIcon" xbl:inherits="src=icon"/> 1.25 + </xul:vbox> 1.26 + <xul:vbox flex="1" pack="center"> 1.27 + <xul:hbox class="xpinstallItemNameRow" align="center"> 1.28 + <xul:label class="xpinstallItemName" xbl:inherits="value=name" crop="right"/> 1.29 + <xul:label class="xpinstallItemSigned" xbl:inherits="value=cert,signed"/> 1.30 + </xul:hbox> 1.31 + <xul:hbox class="xpinstallItemDetailsRow" align="center"> 1.32 + <xul:textbox class="xpinstallItemURL" xbl:inherits="value=url" flex="1" readonly="true" crop="right"/> 1.33 + </xul:hbox> 1.34 + </xul:vbox> 1.35 + </xul:hbox> 1.36 + </content> 1.37 + <implementation> 1.38 + <property name="name" onset="this.setAttribute('name', val); return val;" 1.39 + onget="return this.getAttribute('name');"/> 1.40 + <property name="cert" onset="this.setAttribute('cert', val); return val;" 1.41 + onget="return this.getAttribute('cert');"/> 1.42 + <property name="signed" onset="this.setAttribute('signed', val); return val;" 1.43 + onget="return this.getAttribute('signed');"/> 1.44 + <property name="url" onset="this.setAttribute('url', val); return val;" 1.45 + onget="return this.getAttribute('url');"/> 1.46 + <property name="icon" onset="this.setAttribute('icon', val); return val;" 1.47 + onget="return this.getAttribute('icon');"/> 1.48 + <property name="type" onset="this.setAttribute('type', val); return val;" 1.49 + onget="return this.getAttribute('type');"/> 1.50 + </implementation> 1.51 + </binding> 1.52 + 1.53 +</bindings> 1.54 +