toolkit/mozapps/handling/content/handler.xml
author Gervase Markham <gerv@gerv.net>
Mon, 21 May 2012 12:12:37 +0100
changeset 94475 f4157e8c410708d76703f19e4dfb61859bfe32d8
parent 29416 20774f09b6b0980ab45460fbfa444778209c0119
permissions -rw-r--r--
Bug 716478 - update licence to MPL 2.

<?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>