<?xml version="1.0"?>
<!-- -*- Mode: HTML; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- -->
<!-- vim: set ts=2 et sw=2 tw=80: -->

<!-- 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="downloadBindings"
          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="download"
           extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">

    <content orient="horizontal" align="center">
      <xul:image class="fileTypeIcon"
                 validate="always"
                 xbl:inherits="src=image"/>
      <xul:vbox pack="center" flex="1">
        <xul:description class="fileName"
                         crop="center"
                         xbl:inherits="value=displayName,tooltiptext=displayName"/>
        <xul:description class="size"
                         xbl:inherits="value=size,tooltiptext=size"/>
        <xul:description class="startDate"
                         crop="end"
                         xbl:inherits="value=startDate,tooltiptext=startDate"/>
      </xul:vbox>
    <xul:description class="sender"
                     xbl:inherits="value=sender,tooltiptext=sender"/>
    </content>
  </binding>

</bindings>
