summaryrefslogtreecommitdiffstats
path: root/webbrowser/components/pageinfo/feeds.xml
blob: 782c05a73d23b6869e9b860ca3c3c5f9614a9130 (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
38
39
40
<?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/. -->

<!DOCTYPE bindings [
  <!ENTITY % pageInfoDTD SYSTEM "chrome://browser/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>
          <xul:vbox align="start">
            <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:vbox>
        <xul:hbox flex="1" class="feed-subscribe">
          <xul:spacer flex="1"/>
          <xul:button label="&feedSubscribe;" accesskey="&feedSubscribe.accesskey;"
                      oncommand="onSubscribeFeed()"/>
        </xul:hbox> 
      </xul:vbox>
    </content>
  </binding>
</bindings>