gecko-dev/mailnews/ui/messenger/resources/folderPane.xul

47 lines
1.8 KiB
XML

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/folderPane.css" type="text/css"?>
<!DOCTYPE window
[
<!ENTITY nameColumn.label "Name">
<!ENTITY unreadColumn.label "Unread">
<!ENTITY totalColumn.label "Total">
<!ENTITY localMailHost.img "chrome://messenger/skin/localMailHost.gif">
<!ENTITY localMailHost.label "Local Mail">
<!ENTITY imapHost.img "chrome://messenger/skin/localMailHost.gif">
<!ENTITY imapHost.label "Imap Mail">
<!ENTITY newsHost.img "chrome://messenger/skin/newsHost.gif">
<!ENTITY newsHost.label "news.mozilla.org">
<!ENTITY accounts.label "Accounts">
<!ENTITY accounts.img "chrome://messenger/skin/localMailHost.gif">
]>
<window
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<tree rdf:datasources="rdf:mailnewsfolders rdf:msgaccountmanager" id="folderTree" onclick="return parent.parent.ChangeFolderByDOMNode(event.target.parentNode)">
<treecol rdf:resource="http://home.netscape.com/NC-rdf#Name"/>
<treecol rdf:resource="http://home.netscape.com/NC-rdf#TotalUnreadMessages"/>
<treecol rdf:resource="http://home.netscape.com/NC-rdf#TotalMessages"/>
<treehead>
<treeitem>
<treecell>&nameColumn.label;</treecell>
<treecell>&unreadColumn.label;</treecell>
<treecell>&totalColumn.label;</treecell>
</treeitem>
</treehead>
<treebody rdf:containment="http://home.netscape.com/NC-rdf#child">
<treeitem id="msgaccounts:/" open="true">
<treecell style="background-color: blue"><treeindentation/><html:img hspace="2" style="vertical-align: bottom" src="&accounts.img;"/>&accounts.label;</treecell>
<treecell style="background-color: green"/>
<treecell style="background-color: red"/>
</treeitem>
</treebody>
</tree>
</window>