2008-08-05 01:22:20 +04:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
|
|
|
|
<!-- ***** BEGIN LICENSE BLOCK *****
|
|
|
|
- Version: MPL 1.1/GPL 2.0/LGPL 2.1
|
|
|
|
-
|
|
|
|
- The contents of this file are subject to the Mozilla 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/MPL/
|
|
|
|
-
|
|
|
|
- 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 Snowl.
|
|
|
|
-
|
|
|
|
- The Initial Developer of the Original Code is Mozilla.
|
|
|
|
- Portions created by the Initial Developer are Copyright (C) 2008
|
|
|
|
- the Initial Developer. All Rights Reserved.
|
|
|
|
-
|
|
|
|
- Contributor(s):
|
|
|
|
- Myk Melez <myk@mozilla.org>
|
2008-10-14 22:42:31 +04:00
|
|
|
- alta88 <alta88@gmail.com>
|
2008-08-05 01:22:20 +04:00
|
|
|
-
|
|
|
|
- Alternatively, the contents of this file may be used under the terms of
|
|
|
|
- either the GNU General Public License Version 2 or later (the "GPL"), or
|
|
|
|
- the GNU Lesser General Public License Version 2.1 or later (the "LGPL"),
|
|
|
|
- in which case the provisions of the GPL or the LGPL are applicable instead
|
|
|
|
- of those above. If you wish to allow use of your version of this file only
|
|
|
|
- under the terms of either the GPL or the LGPL, and not to allow others to
|
|
|
|
- use your version of this file under the terms of the MPL, indicate your
|
|
|
|
- decision by deleting the provisions above and replace them with the notice
|
|
|
|
- and other provisions required by the GPL or the LGPL. If you do not delete
|
|
|
|
- the provisions above, a recipient may use your version of this file under
|
|
|
|
- the terms of any one of the MPL, the GPL or the LGPL.
|
|
|
|
-
|
|
|
|
- ***** END LICENSE BLOCK ***** -->
|
2008-02-19 08:03:25 +03:00
|
|
|
|
2008-08-05 03:58:54 +04:00
|
|
|
<?xml-stylesheet href="chrome://snowl/content/list.css" type="text/css"?>
|
|
|
|
|
2008-12-02 03:51:53 +03:00
|
|
|
<!DOCTYPE overlay [
|
|
|
|
<!ENTITY % listDTD SYSTEM "chrome://snowl/locale/list.dtd">
|
|
|
|
%listDTD;
|
|
|
|
<!ENTITY % filterTextboxDTD SYSTEM "chrome://snowl/locale/filterTextbox.dtd">
|
|
|
|
%filterTextboxDTD;
|
|
|
|
]>
|
2008-02-19 08:03:25 +03:00
|
|
|
|
2008-01-25 01:36:18 +03:00
|
|
|
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
|
|
id="snowlOverlay">
|
|
|
|
|
2008-12-12 23:25:12 +03:00
|
|
|
<script type="application/javascript" src="chrome://snowl/content/list.js"/>
|
2008-02-19 08:03:25 +03:00
|
|
|
|
2008-10-14 22:42:31 +04:00
|
|
|
<window id="main-window"
|
2008-10-25 01:13:17 +04:00
|
|
|
persist="screenX screenY width height sizemode
|
|
|
|
snowllayout snowltabindex snowlcollectionindex"
|
2008-11-02 20:20:12 +03:00
|
|
|
snowllayout="classic">
|
|
|
|
|
|
|
|
<!-- Apparently Popup can not be child of mainPopupSet, otherwise popup hide
|
|
|
|
click is sent as select event. This effect is not bad but could not be
|
|
|
|
recreated in the collections sidebar tree context popup. Quirky xul here. -->
|
|
|
|
<popup id="snowlListContext"
|
|
|
|
onpopuphidden="SnowlMessageView.onTreeContextPopupHidden(event)">
|
|
|
|
<menuitem id="snowlOpenListMessageMenuitem"
|
|
|
|
disabled="true"
|
|
|
|
label="&openListMessage.label;"
|
|
|
|
accesskey="&openListMessage.accesskey;"
|
|
|
|
oncommand="SnowlMessageView._openListMessage(event)"/>
|
|
|
|
</popup>
|
|
|
|
|
|
|
|
</window>
|
2008-10-14 22:42:31 +04:00
|
|
|
|
|
|
|
<hbox id="browser">
|
|
|
|
<hbox id="snowlSidebar"
|
2008-12-26 21:40:00 +03:00
|
|
|
class="chromeclass-extrachrome"
|
2008-10-14 22:42:31 +04:00
|
|
|
insertbefore="sidebar-splitter"
|
2008-10-16 03:40:35 +04:00
|
|
|
persist="width height hidden"/>
|
2008-10-14 22:42:31 +04:00
|
|
|
</hbox>
|
2008-12-26 21:40:00 +03:00
|
|
|
|
2008-10-14 22:42:31 +04:00
|
|
|
<vbox id="sidebar-box"
|
|
|
|
flex="1"/>
|
2008-10-20 13:05:26 +04:00
|
|
|
|
2008-10-14 22:42:31 +04:00
|
|
|
<browser id="sidebar"
|
|
|
|
style="min-width: 14em; width: 18em; max-width: none;"/>
|
|
|
|
|
2008-02-19 08:03:25 +03:00
|
|
|
<vbox id="appcontent">
|
2008-10-14 22:42:31 +04:00
|
|
|
|
|
|
|
<vbox id="snowlViewContainer"
|
2008-12-26 21:40:00 +03:00
|
|
|
class="chromeclass-extrachrome"
|
2008-10-14 22:42:31 +04:00
|
|
|
insertbefore="content"
|
|
|
|
flex="1"
|
|
|
|
persist="height width"
|
|
|
|
hidden="true">
|
|
|
|
<toolbar id="snowlViewToolbar"
|
|
|
|
pack="end"
|
2008-10-20 13:05:26 +04:00
|
|
|
align="center"
|
|
|
|
persist="hidden">
|
2008-06-09 09:46:46 +04:00
|
|
|
<toolbarbutton id="snowlUnreadButton" class="snowlToolbarButton"
|
|
|
|
type="checkbox"
|
|
|
|
image="chrome://snowl/content/icons/new.png"
|
2008-07-21 08:03:10 +04:00
|
|
|
oncommand="SnowlMessageView.onCommandUnreadButton(event)"
|
2008-08-05 03:58:54 +04:00
|
|
|
tooltiptext="&unreadButton.tooltip;"/>
|
2008-06-09 09:46:46 +04:00
|
|
|
|
2008-12-02 03:51:53 +03:00
|
|
|
<!-- FIXME: change type="timed" to type="search" once we no longer
|
|
|
|
- support Firefox 3.0. -->
|
2008-06-16 10:53:17 +04:00
|
|
|
<textbox id="snowlFilter" type="timed" timeout="200"
|
2008-12-02 03:51:53 +03:00
|
|
|
emptytext="&filterTextbox.emptytext;"
|
2008-07-21 08:03:10 +04:00
|
|
|
oncommand="SnowlMessageView.onFilter()"/>
|
2008-02-19 08:03:25 +03:00
|
|
|
</toolbar>
|
2008-03-10 03:24:40 +03:00
|
|
|
|
2008-06-15 10:15:49 +04:00
|
|
|
<tree id="snowlView" flex="1" persist="sortResource sortDirection"
|
2008-04-30 03:09:29 +04:00
|
|
|
sortResource="snowlTimestampCol" sortDirection="ascending"
|
2008-06-15 10:15:49 +04:00
|
|
|
enableColumnDrag="true" disableKeyNavigation="true"
|
2008-07-21 08:03:10 +04:00
|
|
|
onselect="SnowlMessageView.onSelect(event)"
|
2008-11-06 22:22:28 +03:00
|
|
|
onblur="SnowlUtils.gMessagePosition.pageIndex=null"
|
2008-07-21 08:03:10 +04:00
|
|
|
onkeypress="SnowlMessageView.onKeyPress(event)">
|
2008-03-10 03:24:40 +03:00
|
|
|
<treecols>
|
2008-08-05 03:58:54 +04:00
|
|
|
<treecol id="snowlAuthorCol" label="&authorCol.label;" flex="1"
|
2008-04-30 03:09:29 +04:00
|
|
|
persist="width ordinal hidden sortDirection"
|
|
|
|
class="sortDirectionIndicator"
|
2008-07-21 08:03:10 +04:00
|
|
|
onclick="SnowlMessageView.onClickColumnHeader(event)"/>
|
2008-02-19 08:03:25 +03:00
|
|
|
<splitter class="tree-splitter"/>
|
2008-08-05 03:58:54 +04:00
|
|
|
<treecol id="snowlSubjectCol" label="&subjectCol.label;" flex="5"
|
2008-04-30 03:09:29 +04:00
|
|
|
persist="width ordinal hidden sortDirection"
|
|
|
|
class="sortDirectionIndicator"
|
2008-07-21 08:03:10 +04:00
|
|
|
onclick="SnowlMessageView.onClickColumnHeader(event)"/>
|
2008-02-19 08:03:25 +03:00
|
|
|
<splitter class="tree-splitter"/>
|
2008-08-05 03:58:54 +04:00
|
|
|
<treecol id="snowlTimestampCol" label="×tampCol.label;" flex="1"
|
2008-04-30 03:09:29 +04:00
|
|
|
persist="width ordinal hidden sortDirection"
|
|
|
|
class="sortDirectionIndicator"
|
2008-07-21 08:03:10 +04:00
|
|
|
onclick="SnowlMessageView.onClickColumnHeader(event)"/>
|
2008-03-10 03:24:40 +03:00
|
|
|
</treecols>
|
2008-03-10 06:46:04 +03:00
|
|
|
|
2008-11-02 20:20:12 +03:00
|
|
|
<treechildren flex="1" context="snowlListContext"
|
2008-11-06 22:22:28 +03:00
|
|
|
onclick="SnowlMessageView.onClick(event)"
|
2008-11-02 20:20:12 +03:00
|
|
|
onmousedown="SnowlMessageView.onListTreeMouseDown(event)"/>
|
2008-03-10 03:24:40 +03:00
|
|
|
</tree>
|
2008-02-19 08:03:25 +03:00
|
|
|
</vbox>
|
2008-10-14 22:42:31 +04:00
|
|
|
|
2008-12-26 21:40:00 +03:00
|
|
|
<splitter id="snowlViewSplitter" class="chromeclass-extrachrome"
|
|
|
|
insertbefore="content" persist="hidden"/>
|
2008-02-19 08:03:25 +03:00
|
|
|
</vbox>
|
2008-01-25 01:36:18 +03:00
|
|
|
</overlay>
|