mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-08 12:37:37 +00:00
e2955b1ba8
make it so you can view "threads with unread". (#52927) threaded and unread are no longer mutually exclusive. later, I'll add "unread threaded" which is no the same thing as "thread with unread". fix the nsMsgMessageDataSource() to ask the view, thread or msg database for existance of messages, instead of getting an enumerator for all messages, and seeing if it is non empty. more performance work on the way. move enums from MailNewsTypes.h to MailNewsTypes2.idl, so that I can use the same ones from JS and C++. sr=bienvenu
99 lines
4.6 KiB
XML
99 lines
4.6 KiB
XML
<?xml version="1.0"?>
|
|
|
|
<?xml-stylesheet href="chrome://messenger/skin/folderPane.css" type="text/css"?>
|
|
|
|
<!--
|
|
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.
|
|
-->
|
|
<!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">
|
|
|
|
<popup id="folderTooltip" class="tooltip" oncreate="return FillInFolderTooltip(document.tooltipNode);" >
|
|
<text id="foldertooltipText"/>
|
|
</popup>
|
|
|
|
<tree datasources="rdf:null"
|
|
id="folderTree" class="mail-folders"
|
|
onselect="top.FolderPaneSelectionChange(); document.commandDispatcher.updateCommands('folderTree-select');"
|
|
onblur="goOnEvent(this,'blur')" dd-nodropbetweenrows="true"
|
|
ondragover="return DragOverTree(event);"
|
|
ondraggesture="return BeginDragFolderTree(event);"
|
|
ondragdrop="return DropOnFolderTree(event);"
|
|
onclick="FolderPaneOnClick(event);">
|
|
|
|
<template>
|
|
<rule>
|
|
<treechildren flex="1">
|
|
<treeitem class="folderTreeItem" uri="..."
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
|
|
HasUnreadMessages="rdf:http://home.netscape.com/NC-rdf#HasUnreadMessages"
|
|
NewMessages="rdf:http://home.netscape.com/NC-rdf#NewMessages"
|
|
SubfoldersHaveUnreadMessages="rdf:http://home.netscape.com/NC-rdf#SubfoldersHaveUnreadMessages"
|
|
CanRename="rdf:http://home.netscape.com/NC-rdf#CanRename"
|
|
CanCreateSubfolders="rdf:http://home.netscape.com/NC-rdf#CanCreateSubfolders"
|
|
CanSubscribe="rdf:http://home.netscape.com/NC-rdf#CanSubscribe"
|
|
CanFileMessages="rdf:http://home.netscape.com/NC-rdf#CanFileMessages"
|
|
NoSelect="rdf:http://home.netscape.com/NC-rdf#NoSelect"
|
|
persist="threaded open sortResource sortDirection viewType">
|
|
<treerow class="tree-folder-row"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
HasUnreadMessages="rdf:http://home.netscape.com/NC-rdf#HasUnreadMessages"
|
|
NoSelect="rdf:http://home.netscape.com/NC-rdf#NoSelect">
|
|
<treecell tooltip="folderTooltip" indent="true" class="treecell-indent tree-cell-folderpane-icon"
|
|
value="rdf:http://home.netscape.com/NC-rdf#FolderTreeName"
|
|
SpecialFolder="rdf:http://home.netscape.com/NC-rdf#SpecialFolder"
|
|
BiffState="rdf:http://home.netscape.com/NC-rdf#BiffState"
|
|
IsServer="rdf:http://home.netscape.com/NC-rdf#IsServer"
|
|
IsSecure="rdf:http://home.netscape.com/NC-rdf#IsSecure"
|
|
NewMessages="rdf:http://home.netscape.com/NC-rdf#NewMessages"
|
|
ServerType="rdf:http://home.netscape.com/NC-rdf#ServerType"
|
|
HasUnreadMessages="rdf:http://home.netscape.com/NC-rdf#HasUnreadMessages"
|
|
SubfoldersHaveUnreadMessages="rdf:http://home.netscape.com/NC-rdf#SubfoldersHaveUnreadMessages"
|
|
CanRename="rdf:http://home.netscape.com/NC-rdf#CanRename"
|
|
CanCreateSubfolders="rdf:http://home.netscape.com/NC-rdf#CanCreateSubfolders"
|
|
CanSubscribe="rdf:http://home.netscape.com/NC-rdf#CanSubscribe"
|
|
CanFileMessages="rdf:http://home.netscape.com/NC-rdf#CanFileMessages"
|
|
NoSelect="rdf:http://home.netscape.com/NC-rdf#NoSelect"/>
|
|
</treerow>
|
|
</treeitem>
|
|
</treechildren>
|
|
</rule>
|
|
</template>
|
|
|
|
<treecolgroup>
|
|
<treecol persist="width" width="3*" flex="1" id="FolderColumn" resource="http://home.netscape.com/NC-rdf#FolderTreeName"/>
|
|
</treecolgroup>
|
|
|
|
<treehead>
|
|
<treerow>
|
|
</treerow>
|
|
</treehead>
|
|
|
|
</tree>
|
|
|
|
</overlay>
|