gecko-dev/mailnews/base/resources/content/folderPane.xul
2001-10-09 23:40:23 +00:00

145 lines
6.3 KiB
XML

<?xml version="1.0"?>
<!--
The contents of this file are subject to the Netscape Public
License Version 1.1 (the "License"); you may not use this file
except in compliance with the License. You may obtain a copy of
the License at http://www.mozilla.org/NPL/
Software distributed under the License is distributed on an "AS
IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
implied. See the License for the specific language governing
rights and limitations under the License.
The Original Code is Mozilla Communicator client code, released
March 31, 1998.
The Initial Developer of the Original Code is Netscape
Communications Corporation. Portions created by Netscape are
Copyright (C) 1998-1999 Netscape Communications Corporation. All
Rights Reserved.
Contributor(s):
Jan Varga <varga@utcru.sk>
Håkan Waara <hwaara@chello.se>
-->
<?xml-stylesheet href="chrome://messenger/skin/folderPane.css" type="text/css"?>
<!DOCTYPE window SYSTEM "chrome://messenger/locale/folderpane.dtd">
<overlay
xmlns:html="http://www.w3.org/1999/xhtml"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<outliner id="folderOutliner"
flex="1"
seltype="single">
<outlinerbody flex="1"
datasources="rdf:null"
statedatasource="rdf:mailnewsfolders"
ondraggesture="return BeginDragFolderOutliner(event);"
onselect="FolderPaneSelectionChange();">
<template>
<rule>
<conditions>
<outlinerrow uri="?container"/>
<member container="?container" child="?member" />
</conditions>
<bindings>
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#FolderTreeName"
object="?folderTreeName" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#FolderTreeName?sort=true"
object="?folderTreeNameSort" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#FolderTreeSimpleName"
object="?folderTreeSimpleName" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#SpecialFolder"
object="?specialFolder" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#BiffState"
object="?biffState" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#IsServer"
object="?isServer" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#NewMessages"
object="?newMessages" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#HasUnreadMessages"
object="?hasUnreadMessages" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#SubfoldersHaveUnreadMessages"
object="?subfoldersHaveUnreadMessages" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#IsSecure"
object="?isSecure" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#ServerType"
object="?serverType" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#NoSelect"
object="?noSelect" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#TotalUnreadMessages"
object="?unreadCount" />
<binding subject="?member"
predicate="http://home.netscape.com/NC-rdf#TotalMessages"
object="?totalCount" />
</bindings>
<action>
<outlinerrow uri="?member">
<outlinercell id="folderNameCell"
ref="folderNameCol"
label="?folderTreeName"
properties="specialFolder-?specialFolder
biffState-?biffState
isServer-?isServer
newMessages-?newMessages
hasUnreadMessages-?hasUnreadMessages
subfoldersHaveUnreadMessages-?subfoldersHaveUnreadMessages
isSecure-?isSecure
serverType-?serverType
noSelect-?noSelect"/>
<outlinercell ref="folderUnreadCol"
label="?unreadCount"
properties="hasUnreadMessages-?hasUnreadMessages
subfoldersHaveUnreadMessages-?subfoldersHaveUnreadMessages"/>
<outlinercell ref="folderTotalCol"
label="?totalCount"
properties="hasUnreadMessages-?hasUnreadMessages
subfoldersHaveUnreadMessages-?subfoldersHaveUnreadMessages"/>
</outlinerrow>
</action>
</rule>
</template>
</outlinerbody>
<outlinercol id="folderNameCol"
flex="5"
label="&nameColumn.label;"
class="outlinercol-header outlinercol-inset-header"
persist="width"
ignoreincolumnpicker="true"
primary="true"
sort="?folderTreeNameSort"/>
<splitter class="tree-splitter"/>
<outlinercol id="folderUnreadCol"
class="outlinercol-header outlinercol-inset-header"
persist="hidden width"
flex="1"
label="&unreadColumn.label;"/>
<splitter class="tree-splitter"/>
<outlinercol id="folderTotalCol"
class="outlinercol-header outlinercol-inset-header"
persist="hidden width"
flex="1"
label="&totalColumn.label;"/>
</outliner>
</overlay>