mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-07 12:15:51 +00:00
ee1d143694
- using sort variables instead of cycleHeader() r=neil, sr=bienvenu
141 lines
6.1 KiB
XML
141 lines
6.1 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>
|
|
Hkan Waara <hwaara@chello.se>
|
|
-->
|
|
|
|
<?xml-stylesheet href="chrome://messenger/skin/folderPane.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://messenger/skin/fakeAccount.css" type="text/css"?>
|
|
|
|
<!DOCTYPE window SYSTEM "chrome://messenger/locale/folderpane.dtd">
|
|
|
|
<overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<tree id="folderTree" class="plain" flex="1" seltype="single"
|
|
disableKeyNavigation="true"
|
|
datasources="rdf:null"
|
|
statedatasource="rdf:mailnewsfolders"
|
|
flags="dont-build-content"
|
|
ondraggesture="BeginDragFolderTree(event);"
|
|
onselect="FolderPaneSelectionChange();">
|
|
<template>
|
|
<rule>
|
|
<conditions>
|
|
<treeitem 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#ImapShared"
|
|
object="?imapShared" />
|
|
<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" />
|
|
<binding subject="?member"
|
|
predicate="http://home.netscape.com/NC-rdf#PageTitleFakeAccount"
|
|
object="?fakeAccount" />
|
|
</bindings>
|
|
|
|
<action>
|
|
<treechildren>
|
|
<treeitem uri="?member">
|
|
<treerow>
|
|
<treecell id="folderNameCell"
|
|
label="?folderTreeName"
|
|
properties="specialFolder-?specialFolder biffState-?biffState isServer-?isServer newMessages-?newMessages hasUnreadMessages-?hasUnreadMessages subfoldersHaveUnreadMessages-?subfoldersHaveUnreadMessages isSecure-?isSecure serverType-?serverType noSelect-?noSelect imapShared-?imapShared fakeAccount-?fakeAccount"/>
|
|
<treecell label="?unreadCount"
|
|
properties="hasUnreadMessages-?hasUnreadMessages subfoldersHaveUnreadMessages-?subfoldersHaveUnreadMessages"/>
|
|
<treecell label="?totalCount"
|
|
properties="hasUnreadMessages-?hasUnreadMessages subfoldersHaveUnreadMessages-?subfoldersHaveUnreadMessages"/>
|
|
</treerow>
|
|
</treeitem>
|
|
</treechildren>
|
|
</action>
|
|
</rule>
|
|
</template>
|
|
<treecols>
|
|
<treecol id="folderNameCol"
|
|
flex="5"
|
|
label="&nameColumn.label;"
|
|
crop="center"
|
|
persist="width"
|
|
ignoreincolumnpicker="true"
|
|
primary="true"
|
|
sort="?folderTreeNameSort"
|
|
sortActive="true"
|
|
sortDirection="ascending"/>
|
|
<splitter class="tree-splitter"/>
|
|
<treecol id="folderUnreadCol"
|
|
persist="hidden width"
|
|
flex="1"
|
|
label="&unreadColumn.label;"/>
|
|
<splitter class="tree-splitter"/>
|
|
<treecol id="folderTotalCol"
|
|
persist="hidden width"
|
|
flex="1"
|
|
label="&totalColumn.label;"/>
|
|
</treecols>
|
|
</tree>
|
|
</overlay>
|