gecko/toolkit/mozapps/handling/content/handler.xml
2012-05-21 12:12:37 +01:00

29 lines
1.0 KiB
XML

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