summaryrefslogtreecommitdiffstats
path: root/toolkit/mozapps/handling/content/handler.xml
blob: 3fd907b455f2fcdb84a6d2083b91ff07e807653d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->

<bindings id="hanlder-bindings"
          xmlns="http://www.mozilla.org/xbl"
          xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
          xmlns:xbl="http://www.mozilla.org/xbl">

  <binding id="handler"
           extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">

    <content>
      <xul:vbox pack="center">
        <xul:image xbl:inherits="src=image" height="32" width="32"/>
      </xul:vbox>
      <xul:vbox flex="1">
        <xul:label class="name" xbl:inherits="value=name"/>
        <xul:label class="description" xbl:inherits="value=description"/>
      </xul:vbox>
    </content>
    <implementation>
      <property name="label" onget="return this.getAttribute('name') + ' ' + this.getAttribute('description');"/>
    </implementation>
  </binding>

</bindings>