165 lines
9.7 KiB
XML
Executable File
165 lines
9.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 the Mozilla Penelope project.
|
|
-
|
|
- The Initial Developer of the Original Code is
|
|
- QUALCOMM Incorporated.
|
|
- Portions created by QUALCOMM Incorporated are
|
|
- Copyright (C) 2007 QUALCOMM Incorporated. 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/messengercompose.css" type="text/css"?>
|
|
<?xml-stylesheet href="chrome://penelope/skin/primaryToolbar.css" type="text/css"?>
|
|
|
|
<!DOCTYPE overlay [
|
|
<!ENTITY % penelopeOverlayDTD SYSTEM "chrome://penelope/locale/penelope.dtd" >
|
|
<!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd">
|
|
%penelopeOverlayDTD;
|
|
%messengerDTD;
|
|
]>
|
|
<overlay id="penelopeComposeOverlay"
|
|
xmlns:nc="http://home.netscape.com/NC-rdf#"
|
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
|
|
|
|
<!-- Depends on
|
|
<script type="application/x-javascript" src="chrome://messenger/content/messengercompose/MsgComposeCommands.js"/>
|
|
-->
|
|
<script type="application/x-javascript" src="chrome://penelope/content/composeOverlay.js" />
|
|
<script type="application/x-javascript" src="chrome://penelope/content/quotes.js" />
|
|
<script type="application/x-javascript" src="chrome://penelope/content/help.js" />
|
|
|
|
<menuitem id="menu_newmsg" toolbaritem="button-newmsg"/>
|
|
<menuitem id="menu_newAbCard" toolbaritem="button-address"/>
|
|
<menuitem id="menu_attachFile" toolbaritem="button-attach"/>
|
|
<menuitem id="menu_attachPage" toolbaritem="not-supported"/>
|
|
<menuitem id="menu_attachVCard" toolbaritem="not-supported"/>
|
|
<menuitem id="menu_close" toolbaritem="button-close"/>
|
|
<menuitem id="menu_save" toolbaritem="button-save"/>
|
|
<menuitem id="menu_saveAsFile" toolbaritem="button-save"/>
|
|
<menuitem id="menu_saveAsTemplate" toolbaritem="button-save"/>
|
|
<menuitem id="menu-item-send-now" toolbaritem="button-send"/>
|
|
<menuitem id="menu-item-send-later" toolbaritem="button-sendlater"/>
|
|
<menuitem id="printSetupMenuItem" toolbaritem="button-printsetup"/>
|
|
<menuitem id="printMenuItem" toolbaritem="button-print"/>
|
|
<menuitem id="menu_FileQuitItem" toolbaritem="button-exit"/>
|
|
<menuitem id="edit-menu_undo" toolbaritem="undo-button"/>
|
|
<menuitem id="edit-menu_redo" toolbaritem="redo-button"/>
|
|
<menuitem id="edit-menu_cut" toolbaritem="cut-button"/>
|
|
<menuitem id="edit-menu_copy" toolbaritem="copy-button"/>
|
|
<menuitem id="edit-menu_paste" toolbaritem="paste-button"/>
|
|
<menuitem id="edit-menu_pasteNoFormatting" toolbaritem="button-pastenoformatting"/>
|
|
<menuitem id="edit-menu_pasteQuote" toolbaritem="quoteButton"/>
|
|
<menuitem id="edit-menu_rewrap" toolbaritem="button-rewrap"/>
|
|
<menuitem id="edit-menu_delete" toolbaritem="button-delete"/>
|
|
<menuitem id="edit-menu_selectAll" toolbaritem="button-selectall"/>
|
|
<menuitem id="edit-menu_find" toolbaritem="button-find"/>
|
|
<menuitem id="edit-menu_findNext" toolbaritem="button-findnext"/>
|
|
<menuitem id="edit-menu_findPrev" toolbaritem="button-findprev"/>
|
|
<menuitem id="menu_View" toolbaritem="not-supported"/>
|
|
<menuitem id="insertMenu" toolbaritem="not-supported"/>
|
|
<menuitem id="formatMenu" toolbaritem="not-supported"/>
|
|
<menuitem id="menu_checkspelling" toolbaritem="spellingButton"/>
|
|
<menuitem id="menu_inlineSpellCheck" toolbaritem="not-supported"/>
|
|
<menuitem id="outputFormatMenu" toolbaritem="not-supported"/>
|
|
<menuitem id="priorityMenu" toolbaritem="priority-button"/>
|
|
<menuitem id="tasksMenuMail" toolbaritem="not-supported"/>
|
|
<menuitem id="tasksMenuAddressBook" toolbaritem="button-address"/>
|
|
<menuitem id="menu_preferences" toolbaritem="not-supported"/>
|
|
<menuitem id="menu_HelpPopup" toolbaritem="not-supported"/>
|
|
|
|
<menupopup id="taskPopup">
|
|
<menuitem hidden="true" key="key_mail"/>
|
|
</menupopup>
|
|
|
|
<keyset id="tasksKeys">
|
|
<key id="key_penelopeAttachment" command="cmd_attachFile" />
|
|
<key id="key_penelopeNextMisspelling" command="cmd_penelopeNextMisspelling" />
|
|
<key id="key_penelopeAddQuoteLevel" command="cmd_penelopeAddQuoteLevel"/>
|
|
<key id="key_penelopeRemoveQuoteLevel" command="cmd_penelopeRemoveQuoteLevel"/>
|
|
<key id="key_penelopeIncMsgPriority" command="cmd_penelopeIncMsgPrio"/>
|
|
<key id="key_penelopeDecMsgPriority" command="cmd_penelopeDecMsgPrio"/>
|
|
<key id="key_penelopeRemoveFormatting" command="cmd_penelopeRemoveFormatting"/>
|
|
</keyset>
|
|
<commandset id="mainCommandSet">
|
|
<commandset id="penelopeComposeCommandset" />
|
|
</commandset>
|
|
<commandset id="editMenuCommands">
|
|
<commandset id="penelopeComposeCommandset" />
|
|
</commandset>
|
|
<commandset id="composeCommands">
|
|
<commandset id="penelopeComposeCommandset" />
|
|
</commandset>
|
|
<commandset id="tasksCommands">
|
|
<commandset id="penelopeComposeCommandset" />
|
|
</commandset>
|
|
<commandset id="commands">
|
|
<commandset id="penelopeComposeCommandset" />
|
|
</commandset>
|
|
<commandset id="penelopeComposeCommandset">
|
|
<command id="cmd_penelopeAddToDictionary" oncommand="InlineSpellChecker.addToDictionary(null,null);"/>
|
|
<command id="cmd_penelopeNextMisspelling" oncommand="penelopeNextMisspelling();"/>
|
|
<command id="cmd_penelopeAddQuoteLevel" oncommand="addQuoteLevel();" />
|
|
<command id="cmd_penelopeRemoveQuoteLevel" oncommand="removeQuoteLevel();" />
|
|
<command id="cmd_penelopeDecMsgPrio" oncommand="decreaseMsgPriority();" />
|
|
<command id="cmd_penelopeIncMsgPrio" oncommand="increaseMsgPriority();" />
|
|
<command id="cmd_penelopeRemoveFormatting" oncommand="removeFormatting();" />
|
|
</commandset>
|
|
|
|
<toolbarpalette id="MsgComposeToolbarPalette">
|
|
<toolbarbutton id="button-send" width="150" align="left"/>
|
|
<toolbarbutton class="toolbarbutton-1" id="button-printsetup" label="&printSetupButton.label;" tooltiptext="&printSetupButton.tooltip;" command="cmd_printSetup"/>
|
|
<toolbarbutton class="toolbarbutton-1" id="button-sendlater" label="&sendLaterButton.label;" tooltiptext="&sendLaterButton.tooltip;" command="cmd_printSetup"/>
|
|
<toolbarbutton class="toolbarbutton-1" id="button-saveas" label="&saveAsButton.label;" tooltiptext="&saveAsButton.tooltip;" oncommand="goDoCommand('cmd_saveAsFile')"/>
|
|
<toolbarbutton id="button-newmsg" class="toolbarbutton-1" label="&newMsgButton.label;" tooltiptext="&newMsgButton.tooltip;" oncommand="MsgNewMessage(event);"/>
|
|
<toolbarbutton id="button-print" class="toolbarbutton-1" label="&printButton.label;" tooltiptext="&printButton.tooltip;" oncommand="goDoCommand('cmd_print');"/>
|
|
<toolbarbutton id="button-exit" class="toolbarbutton-1" label="&quitButton.label;" tooltiptext="&quitButton.tooltip;" oncommand="goQuitApplication();"/>
|
|
<toolbarbutton id="button-close" class="toolbarbutton-1" label="&closeButton.label;" tooltiptext="&closeButton.tooltip;" command="cmd_close"/>
|
|
<toolbarbutton id="button-rewrap" class="toolbarbutton-1" label="&rewrapButton.label;" tooltiptext="&rewrapButton.tooltip;" oncommand="goDoCommand('cmd_rewrap');"/>
|
|
<toolbarbutton id="button-find" class="toolbarbutton-1" label="&findButton.label;" tooltiptext="&findButton.tooltip;" command="cmd_find"/>
|
|
<toolbarbutton id="button-findnext" class="toolbarbutton-1" label="&findNextButton.label;" tooltiptext="&findNextButton.tooltip;" command="cmd_findNext"/>
|
|
<toolbarbutton id="button-findprev" class="toolbarbutton-1" label="&findPrevButton.label;" tooltiptext="&findPrevButton.tooltip;" command="cmd_findPrev"/>
|
|
<toolbarbutton id="undo-button" class="toolbarbutton-1" label="&undoButton.label;" tooltiptext="&undoButton.tooltip;" command="cmd_undo"/>
|
|
<toolbarbutton id="redo-button" class="toolbarbutton-1" label="&redoButton.label;" tooltiptext="&redoButton.tooltip;" command="cmd_redo"/>
|
|
<toolbarbutton id="button-delete" class="toolbarbutton-1" label="&deleteButton.label;" tooltiptext="&deleteButton.tooltip;" command="cmd_delete"/>
|
|
<toolbarbutton id="button-selectall" class="toolbarbutton-1" label="&selectAllCmd.label;" tooltiptext="&selectAllCmd.label;" command="cmd_selectAll"/>
|
|
|
|
</toolbarpalette>
|
|
<toolbar id="composeToolbar2"
|
|
mode="icons"
|
|
defaultset="priority-button,separator,quoteButton,separator,button-attach,separator,button-address,separator,spellingButton,separator,button-send,separator,spring">
|
|
</toolbar>
|
|
|
|
<menuitem id="hintsAndTips" oncommand="penelopeHelp();"/>
|
|
|
|
</overlay>
|