toolkit/mozapps/extensions/content/xpinstallItem.xml

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

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

mercurial