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.

     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/. -->
     7 <!DOCTYPE bindings SYSTEM "chrome://mozapps/locale/xpinstall/xpinstallConfirm.dtd">
     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">
    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>
    50 </bindings>

mercurial