|
1 <?xml version="1.0"?> |
|
2 <!-- This Source Code Form is subject to the terms of the Mozilla Public |
|
3 - License, v. 2.0. If a copy of the MPL was not distributed with this |
|
4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> |
|
5 |
|
6 <!DOCTYPE bindings [ |
|
7 <!ENTITY % pageInfoDTD SYSTEM "chrome://browser/locale/pageInfo.dtd"> |
|
8 %pageInfoDTD; |
|
9 ]> |
|
10 |
|
11 <bindings id="feedBindings" |
|
12 xmlns="http://www.mozilla.org/xbl" |
|
13 xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" |
|
14 xmlns:xbl="http://www.mozilla.org/xbl"> |
|
15 |
|
16 <binding id="feed" extends="chrome://global/content/bindings/richlistbox.xml#richlistitem"> |
|
17 <content> |
|
18 <xul:vbox flex="1"> |
|
19 <xul:hbox flex="1"> |
|
20 <xul:textbox flex="1" readonly="true" xbl:inherits="value=name" |
|
21 class="feedTitle"/> |
|
22 <xul:label xbl:inherits="value=type"/> |
|
23 </xul:hbox> |
|
24 <xul:vbox> |
|
25 <xul:vbox align="start"> |
|
26 <xul:hbox> |
|
27 <xul:label xbl:inherits="value=feedURL,tooltiptext=feedURL" class="text-link" flex="1" |
|
28 onclick="openUILink(this.value, event);" crop="end"/> |
|
29 </xul:hbox> |
|
30 </xul:vbox> |
|
31 </xul:vbox> |
|
32 <xul:hbox flex="1" class="feed-subscribe"> |
|
33 <xul:spacer flex="1"/> |
|
34 <xul:button label="&feedSubscribe;" accesskey="&feedSubscribe.accesskey;" |
|
35 oncommand="onSubscribeFeed()"/> |
|
36 </xul:hbox> |
|
37 </xul:vbox> |
|
38 </content> |
|
39 </binding> |
|
40 </bindings> |