gecko-dev/mailnews/base/resources/content/threadPane.xul

111 lines
5.7 KiB
Plaintext
Raw Normal View History

<?xml version="1.0"?>
<?xml-stylesheet href="chrome://messenger/skin/" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/threadPane.css" type="text/css"?>
1999-06-08 02:17:35 +00:00
<!--
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.
-->
1999-08-07 00:22:01 +00:00
<!DOCTYPE window SYSTEM "chrome://messenger/locale/threadpane.dtd">
1999-09-01 23:50:48 +00:00
<overlay
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:html="http://www.w3.org/TR/REC-html40"
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
1999-09-01 23:50:48 +00:00
>
<html:script src="chrome://global/content/treePopups.js"/>
1999-09-01 23:50:48 +00:00
<tree datasources="rdf:null" id="threadTree" style="width: 100%; height: 100%"
onselect="top.ThreadPaneSelectionChange(); document.commandDispatcher.updateCommands('tree-select');"
onblur="goOnEvent(this,'blur')"
1999-08-02 23:58:40 +00:00
containment="http://home.netscape.com/NC-rdf#MessageChild">
allownegativeassertions="false"
coalesceduplicatearcs="false">
1999-06-23 03:02:21 +00:00
<template>
<rule>
<treechildren onclick="ThreadPaneOnClick(event);">
<treeitem uri="..."
1999-09-09 06:18:40 +00:00
Status="rdf:http://home.netscape.com/NC-rdf#Status"
Flagged="rdf:http://home.netscape.com/NC-rdf#Flagged"
Priority="rdf:http://home.netscape.com/NC-rdf#Priority">
<treerow>
<treecell value="rdf:http://home.netscape.com/NC-rdf#Thread"/>
<treecell indent="true" value="rdf:http://home.netscape.com/NC-rdf#Subject"/>
<treecell value="rdf:http://home.netscape.com/NC-rdf#Sender"/>
1999-10-15 07:54:43 +00:00
<treecell allowevents="true" class="unreadcol image" onclick="return top.ToggleMessageRead(event.target.parentNode.parentNode.parentNode)"/>
<treecell value="rdf:http://home.netscape.com/NC-rdf#Date"/>
1999-08-30 02:57:34 +00:00
<treecell class="prioritycol" value="rdf:http://home.netscape.com/NC-rdf#Priority"/>
1999-10-15 07:54:43 +00:00
<treecell allowevents="true" class="flagcol image" onclick="return top.ToggleMessageFlagged(event.target.parentNode.parentNode.parentNode)" />
<treecell value="rdf:http://home.netscape.com/NC-rdf#Status"/>
<treecell value="rdf:http://home.netscape.com/NC-rdf#Size"/>
<treecell value="rdf:http://home.netscape.com/NC-rdf#TotalUnreadMessages"/>
<treecell value="rdf:http://home.netscape.com/NC-rdf#TotalMessages"/>
<treecell/>
1999-06-23 03:02:21 +00:00
</treerow>
</treeitem>
</treechildren>
1999-06-23 03:02:21 +00:00
</rule>
</template>
<treecolgroup id="theThreadColumns">
<treecol persist="hidden width" fixed="true" width="20" id="ThreadColumn" rdf:resource="http://home.netscape.com/NC-rdf#Thread"/>
<treecol persist="hidden width" width="7*" id="SubjectColumn" rdf:resource="http://home.netscape.com/NC-rdf#Subject"/>
<treecol persist="hidden width" width="4*" id="AuthorColumn" rdf:resource="http://home.netscape.com/NC-rdf#Sender"/>
<treecol persist="hidden width" fixed="true" width="20" id="UnreadButtonColumn"/>
<treecol persist="hidden width" width="2*" id="DateColumn" rdf:resource="http://home.netscape.com/NC-rdf#Date"/>
<treecol persist="hidden width" width="1*" id="PriorityColumn" rdf:resource="http://home.netscape.com/NC-rdf#Priority"/>
<treecol persist="hidden width" fixed="true" width="20" id="FlaggedButtonColumn"/>
<treecol persist="hidden width" width="1*" id="StatusColumn" rdf:resource="http://home.netscape.com/NC-rdf#Status"/>
<treecol persist="hidden width" width="1*" id="SizeColumn" rdf:resource="http://home.netscape.com/NC-rdf#Size"/>
<treecol persist="hidden width" width="1*" id="UnreadColumn" rdf:resource="http://home.netscape.com/NC-rdf#TotalUnreadMessages"/>
<treecol persist="hidden width" width="1*" id="TotalColumn" rdf:resource="http://home.netscape.com/NC-rdf#TotalMessages"/>
<treecol persist="width" fixed="true" width="14" id="PopupColumn"/>
</treecolgroup>
<treehead>
<treerow id="headRow">
<treecell display="Thread" onclick="return top.ChangeThreadView();" class='threadColumnHeader' id="ThreadColumnHeader"/>
<treecell value="&subjectColumn.label;" onclick="return top.MsgSortBySubject();"/>
<treecell onclick="return top.MsgSortBySender();" value="&senderColumn.label;"/>
<treecell display="Read" onclick="return top.MsgSortByRead();" class="readColumnHeader"/>
<treecell value="&dateColumn.label;" onclick="return top.MsgSortByDate();"/>
<treecell value="&priorityColumn.label;" onclick="return top.MsgSortByPriority();"/>
<treecell display="Flag" onclick="return top.MsgSortByFlagged();" class="flagColumnHeader"/>
<treecell value="&statusColumn.label;" onclick="return top.MsgSortByStatus();"/>
<treecell value="&sizeColumn.label;" onclick="return top.MsgSortBySize();"/>
<treecell value="&unreadColumn.label;" onclick="return top.MsgSortByUnread();"/>
<treecell value="&totalColumn.label;" onclick="return top.MsgSortByTotal();"/>
<treecell allowevents="true" id="popupCell">
<menu>
<titledbutton src="chrome://global/skin/opentwisty.gif"/>
<menupopup popupanchor="bottomright"
popupalign="topright"
oncreate="BuildTreePopup(document.getElementById('theThreadColumns'), document.getElementById('headRow'), this,
document.getElementById('popupCell'))"/>
</menu>
</treecell>
</treerow>
</treehead>
</tree>
1999-09-01 23:50:48 +00:00
</overlay>