<?xml version="1.0"?>

<bindings id="dialogBindings"
   xmlns="http://www.mozilla.org/xbl"
   xmlns:html="http://www.w3.org/1999/xhtml"
   xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">

  <binding id="smallheader">
    <content>
      <xul:box class="box-smallheader-box toolbar-primary" align="center" flex="1">
        <xul:text class="box-smallheader-left" inherits="value=title"/>
        <xul:spring flex="1"/>
        <xul:text class="box-smallheader-right" inherits="value=description"/>
      </xul:box>
    </content>
    <implementation>
      <property name="title" onset="this.setAttribute('title',val); return val;"
                             onget="return this.getAttribute('title');"/>
      <property name="description" onset="this.setAttribute('description',val); return val;"
                             onget="return this.getAttribute('description');"/>
    </implementation>
  </binding>

  <binding id="largeheader">
    <content>
      <xul:box class="box-header-header toolbar-primary" flex="1" align="center">
        <xul:box class="box-header-circle-box" align="center">
          <xul:image inherits="src" class="box-header-circle"/>
        </xul:box>
        <xul:box align="center" class="box-header-text-box">
          <xul:text class="box-header-text" inherits="value"/>
        </xul:box>
        <xul:spring flex="1"/>
      </xul:box>
    </content>
  </binding>
  
  <binding id="status">
    <content>
      <xul:box class="box-status-bg toolbar-standard" flex="1">
        <xul:text class="box-status-text" inherits="label"/>
        <xul:spring flex="1"/>
        <xul:text class="box-status-progress" inherits="value=progress"/>
      </xul:box>  
    </content>
  </binding>
  
</bindings>
