diff options
Diffstat (limited to 'toolkit/mozapps/handling/content/handler.xml')
-rw-r--r-- | toolkit/mozapps/handling/content/handler.xml | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/toolkit/mozapps/handling/content/handler.xml b/toolkit/mozapps/handling/content/handler.xml new file mode 100644 index 000000000..3fd907b45 --- /dev/null +++ b/toolkit/mozapps/handling/content/handler.xml @@ -0,0 +1,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> |