summaryrefslogtreecommitdiffstats
path: root/comm/suite/components/bindings/general.xml
blob: 9df42b35481d4727a8e26c16ae82b8e8545e8c3f (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
29
30
31
32
33
34
35
36
37
<?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="generalBindings"
          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="statusbarpanel-iconic" display="xul:button" role="xul:button"
           extends="chrome://communicator/content/bindings/generalBindings.xml#statusbarpanel">
    <content>
      <xul:image class="statusbarpanel-icon" xbl:inherits="src,src=image"/>
    </content>
  </binding>

  <binding id="statusbarpanel-iconic-text" display="xul:button" role="xul:button"
           extends="chrome://communicator/content/bindings/generalBindings.xml#statusbarpanel">
    <content>
      <xul:image class="statusbarpanel-icon" xbl:inherits="src,src=image"/>
      <xul:label class="statusbarpanel-text" xbl:inherits="value=label,crop"/>
    </content>
  </binding>

  <binding id="statusbarpanel-backgroundbox" display="xul:button"
           extends="chrome://communicator/content/bindings/general.xml#statusbarpanel-iconic-text">
    <content>
      <xul:hbox class="statusbarpanel-contentbox" xbl:inherits="dir">
        <xul:image class="statusbarpanel-icon" xbl:inherits="src,src=image"/>
        <xul:label class="statusbarpanel-text" xbl:inherits="value=label,crop"/>
      </xul:hbox>
    </content>
  </binding>

</bindings>