<?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/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">

<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('tree-select');"
		  onblur="goOnEvent(this,'blur')"
		ondragover="return DragOverTree(event);"
		ondraggesture="return BeginDragFolderTree(event);"
		ondragdrop="return DropOnFolderTree(event);"
		onclick="FolderPaneOnClick(event);"> 

	  <template>
	  	<rule>
	      <treechildren>
			<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"
			  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">
		  	  <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"
	                  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>

	  <treecol persist="width" width="3*" id="FolderColumn" rdf:resource="http://home.netscape.com/NC-rdf#FolderTreeName"/>
          <treehead>
            <treerow>
            </treerow>
          </treehead>
	</tree>

</overlay>
