зеркало из https://github.com/mozilla/pjs.git
133 строки
5.7 KiB
XML
Executable File
133 строки
5.7 KiB
XML
Executable File
<?xml version="1.0"?>
|
|
<!--
|
|
-
|
|
- ***** 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 Penelope Extension.
|
|
-
|
|
- The Initial Developer of the Original Code is
|
|
- Qualcomm Inc.
|
|
- Portions created by the Initial Developer are Copyright (C) 2006
|
|
- the Initial Developer. All Rights Reserved.
|
|
-
|
|
- Contributor(s):
|
|
- Mark Charlebois, <mcharleb@qualcomm.com>, original author
|
|
-
|
|
- 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 ***** -->
|
|
|
|
<?xml-stylesheet href="chrome://penelope/skin/penelope.css" type="text/css"?>
|
|
|
|
<!DOCTYPE overlay [
|
|
<!ENTITY % penelopeOverlayDTD SYSTEM "chrome://penelope/locale/penelope.dtd" >
|
|
<!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd">
|
|
<!ENTITY % messengercomposeDTD SYSTEM "chrome://messenger/locale/messengercompose/messengercompose.dtd" >
|
|
%penelopeOverlayDTD;
|
|
%messengerDTD;
|
|
%messengercomposeDTD;
|
|
]>
|
|
<overlay id="penelopeMessengerOverlay"
|
|
xmlns:nc="http://home.netscape.com/NC-rdf#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<!-- Intercept OnLoad and OnUnload -->
|
|
<window id="messengerWindow" onload="penelopeMessengerOnLoad();" onunload="penelopeMessengerOnUnload();" persist=""/>
|
|
|
|
<menuitem id="folderPaneContext-openNewWindow" oncommand="goMailbox(GetSelectedFolderURI());"/>
|
|
|
|
<!-- Remove persist attributes as the persist mechanism doen't wark as we want it to-->
|
|
<vbox id="folderPaneBox" persist=""/>
|
|
<splitter id="folderpane_splitter" persist=""/>
|
|
<splitter id="threadpane-splitter" persist=""/>
|
|
<vbox id="messagepanebox" persist=""/>
|
|
|
|
<script type="application/x-javascript" src="messengerOverlay.js" />
|
|
<stringbundleset id="stringbundleset">
|
|
<stringbundle id="penelopeStrings"
|
|
src="chrome://penelope/locale/penelope.properties" />
|
|
</stringbundleset>
|
|
|
|
<keyset id="mainKeyset">
|
|
<keyset id="penelopeMessengerKeyset" />
|
|
</keyset>
|
|
<keyset id="editMenuKeys">
|
|
<keyset id="penelopeMessengerKeyset" />
|
|
</keyset>
|
|
<keyset id="tasksKeys">
|
|
<keyset id="penelopeMessengerKeyset" />
|
|
</keyset>
|
|
<keyset id="penelopeMessengerKeyset">
|
|
<!-- Keybindings unique to Penelope -->
|
|
<!-- CTRL-Y cannot be used for DirectoryServices -->
|
|
<!-- because it is mapped to redo -->
|
|
<key id="key_penelopeOpenInbox" command="cmd_penelopeOpenInbox" />
|
|
<key id="key_penelopeOpenOutbox" command="cmd_penelopeOpenOutbox" />
|
|
<key id="key_penelopeAddToAddrBook" command="cmd_penelopeAddToAddrBook" />
|
|
<key id="key_penelopeDelete" command="cmd_delete" />
|
|
</keyset>
|
|
<commandset id="mainCommandSet">
|
|
<commandset id="penelopeMessengerCommandset" />
|
|
</commandset>
|
|
<commandset id="editMenuCommands">
|
|
<commandset id="penelopeMessengerCommandset" />
|
|
</commandset>
|
|
<commandset id="composeCommands">
|
|
<commandset id="penelopeMessengerCommandset" />
|
|
</commandset>
|
|
<commandset id="tasksCommands">
|
|
<commandset id="penelopeMessengerCommandset" />
|
|
</commandset>
|
|
<commandset id="commands">
|
|
<commandset id="penelopeMessengerCommandset" />
|
|
</commandset>
|
|
<commandset id="penelopeMessengerCommandset">
|
|
<command id="cmd_penelopeOpenInbox" oncommand="openInbox();" />
|
|
<command id="cmd_penelopeOpenOutbox" oncommand="openOutbox();" />
|
|
<command id="cmd_penelopeAddToAddrBook" oncommand="addEmail();" observes="cmd_tag" />
|
|
</commandset>
|
|
|
|
<!-- Folder pane changes -->
|
|
<tree id="folderTree" onselect="penelopeFolderPaneSelectionChange();"/>
|
|
|
|
<!-- Mailbox thread pane column changes -->
|
|
|
|
<!-- Add hidden column for implementation of GroupSelect feature -->
|
|
<tree id="threadTree">
|
|
<treecols id="threadCols">
|
|
<splitter class="tree-splitter" />
|
|
<treecol id="groupSelectCol" persist="" hidden="true" ignoreincolumnpicker="true" />
|
|
</treecols>
|
|
</tree>
|
|
|
|
<treecol id="statusCol" class="treecol-image statusColumnHeader" fixed="true" flex="null" persist="hidden ordinal"/>
|
|
<treecol id="priorityCol" class="treecol-image priorityColumnHeader" fixed="true" flex="null" persist="hidden ordinal"/>
|
|
<treecol id="tagsCol" label="&penelope.tags.label;" class="tagsColumnHeader"/>
|
|
<treecol id="dateCol" class="dateColumnHeader"/>
|
|
<treecol id="recipientCol" label="&penelope.who.label;" class="recipientColumnHeader"/>
|
|
<treecol id="senderCol" label="&penelope.who.label;" class="senderColumnHeader"/>
|
|
<treecol id="subjectCol" class="subjectColumnHeader"/>
|
|
<treecol id="sizeCol" class="treecol-image sizeColumnHeader"/>
|
|
</overlay>
|