<?xml version="1.0"?><!-- -*- Mode: nXML; indent-tabs-mode: nil -*- -->
<!-- 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/. -->

<!DOCTYPE bindings [
  <!ENTITY % pageInfoDTD SYSTEM "chrome://navigator/locale/pageInfo.dtd">
  %pageInfoDTD;
]>

<bindings id="feedBindings"
          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="feed" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem">
    <content>
      <xul:vbox flex="1">
        <xul:hbox flex="1">
          <xul:textbox flex="1" readonly="true" xbl:inherits="value=name"
                       class="feedTitle"/>
          <xul:label xbl:inherits="value=type"/>
        </xul:hbox>
        <xul:vbox align="start" flex="1">
          <xul:hbox>
            <xul:label xbl:inherits="value=feedURL,tooltiptext=feedURL"
                       class="text-link"
                       flex="1"
                       onclick="openUILink(this.value, event);" crop="end"/>
          </xul:hbox>
        </xul:vbox>
        <xul:hbox flex="1" class="feed-subscribe">
          <xul:spacer flex="1"/>
          <xul:button label="&feedSubscribe;" accesskey="&feedSubscribe.accesskey;"
                      oncommand="onSubscribeFeed(event)"/>
        </xul:hbox>
      </xul:vbox>
    </content>
  </binding>
</bindings>
