?? mailwindowoverlay.xul
字號:
<?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 Mozilla Communicator client code, released# March 31, 1998.## The Initial Developer of the Original Code is# Netscape Communications Corporation.# Portions created by the Initial Developer are Copyright (C) 1998-1999# the Initial Developer. All Rights Reserved.## Contributor(s):# Karsten D眉sterloh <mnyromyr@tprac.de>## 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# 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://messenger/skin/folderMenus.css" type="text/css"?><?xml-stylesheet href="chrome://communicator/skin/tasksOverlay.css" type="text/css"?><?xml-stylesheet href="chrome://global/skin/findBar.css" type="text/css"?><?xul-overlay href="chrome://global/content/charsetOverlay.xul"?><?xul-overlay href="chrome://messenger/content/mailWindowExtrasOverlay.xul"?><!DOCTYPE overlay [ <!ENTITY % globalDTD SYSTEM "chrome://global/locale/global.dtd"> %globalDTD; <!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd"> %messengerDTD; <!ENTITY % msgViewPickerDTD SYSTEM "chrome://messenger/locale/msgViewPickerOverlay.dtd" > %msgViewPickerDTD; <!ENTITY % contentAreaCommandsDTD SYSTEM "chrome://communicator/locale/contentAreaCommands.dtd"> %contentAreaCommandsDTD; <!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd"> %brandDTD; <!ENTITY % findBarDTD SYSTEM "chrome://global/locale/findbar.dtd"> %findBarDTD;]><overlay xmlns:nc="http://home.netscape.com/NC-rdf#" xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"><script type="application/x-javascript" src="chrome://messenger/content/mailCommands.js"/><script type="application/x-javascript" src="chrome://messenger/content/mailWindowOverlay.js"/><script type="application/x-javascript" src="chrome://messenger/content/mail-offline.js"/><script type="application/x-javascript" src="chrome://messenger/content/mailCore.js"/><script type="application/x-javascript" src="chrome://global/content/findBar.js"/><script type="application/x-javascript" src="chrome://communicator/content/printing.js"/><script type="application/x-javascript" src="chrome://messenger/content/msgViewPickerOverlay.js"/><script type="application/x-javascript" src="chrome://global/content/viewZoomOverlay.js"/><stringbundleset id="stringbundleset"> <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/> <stringbundle id="bundle_shell" src="chrome://messenger/locale/shellservice.properties"/> <stringbundle id="bundle_findBar" src="chrome://global/locale/findbar.properties"/> <stringbundle id="bundle_offlinePrompts" src="chrome://messenger/locale/offline.properties"/></stringbundleset> <!-- Performance optimization...we include utilityOverlay.xul which defines some command sets which are updated based on events like focus and select. We have our own custom events which we use to optmize when we do command updating. To avoid unnecessary command updating, we are going to override the events the global edit menu items and select edit menu items are updated on with events of our own controlling. --><commandset id="globalEditMenuItems" commandupdater="true" events="create-menu-edit" oncommandupdate="goUpdateGlobalEditMenuItems()"/><commandset id="selectEditMenuItems" commandupdater="true" events="create-menu-edit" oncommandupdate="goUpdateSelectEditMenuItems()"/><!-- End command set merging --><commandset id="mailFileMenuItems" commandupdater="true" events="create-menu-file" oncommandupdate="goUpdateMailMenuItems(this)"> <command id="cmd_getNewMessages" oncommand="goDoCommand('cmd_getNewMessages')" disabled="true"/> <command id="cmd_close" oncommand="goDoCommand('cmd_close')"/> <command id="cmd_open" oncommand="goDoCommand('cmd_open')"/> <command id="cmd_file" disabled="true"/> <command id="cmd_emptyTrash" oncommand="goDoCommand('cmd_emptyTrash')" disabled="true"/> <command id="cmd_compactFolder" oncommand="goDoCommand('cmd_compactFolder')" disabled="true"/> <command id="cmd_printSetup" oncommand="goDoCommand('cmd_printSetup')" disabled="true"/> <command id="cmd_print" oncommand="goDoCommand('cmd_print')" disabled="true"/> <command id="cmd_printpreview" oncommand="goDoCommand('cmd_printpreview')" disabled="true"/> <command id="cmd_saveAsFile" oncommand="goDoCommand('cmd_saveAsFile')" disabled="true"/> <command id="cmd_saveAsTemplate" oncommand="goDoCommand('cmd_saveAsTemplate')" disabled="true"/> <command id="cmd_getNextNMessages" oncommand="goDoCommand('cmd_getNextNMessages')" disabled="true"/> <command id="cmd_renameFolder" oncommand="goDoCommand('cmd_renameFolder')" /> <command id="cmd_sendUnsentMsgs" oncommand="goDoCommand('cmd_sendUnsentMsgs')" /> <command id="cmd_synchronizeOffline" oncommand="goDoCommand('cmd_synchronizeOffline')" disabled="true"/> <command id="cmd_downloadFlagged" oncommand="goDoCommand('cmd_downloadFlagged')" disabled="true"/> <command id="cmd_downloadSelected" oncommand="goDoCommand('cmd_downloadSelected')" disabled="true"/> <command id="cmd_settingsOffline" oncommand="goDoCommand('cmd_settingsOffline')" disabled="true"/> </commandset><commandset id="mailCommands"> <command id="cmd_quit"/> <!--The cmd_createFilterFromPopup is used to notify the email context popup --> <command id="cmd_createFilterFromPopup"/> <command id="cmd_pageSetup"/> <command id="cmd_search" oncommand="goDoCommand('cmd_search')" disabled="true"/></commandset><commandset id="mailViewMenuItems" commandupdater="true" events="create-menu-view" oncommandupdate="goUpdateMailMenuItems(this)"> <command id="cmd_viewPageSource" oncommand="goDoCommand('cmd_viewPageSource')" disabled="true"/> <command id="cmd_setFolderCharset" oncommand="goDoCommand('cmd_setFolderCharset')" /> <command id="cmd_expandAllThreads" oncommand="goDoCommand('cmd_expandAllThreads')" disabled="true"/> <command id="cmd_collapseAllThreads" oncommand="goDoCommand('cmd_collapseAllThreads')" disabled="true"/> <command id="cmd_viewAllMsgs" oncommand="goDoCommand('cmd_viewAllMsgs')" disabled="true"/> <command id="cmd_viewUnreadMsgs" oncommand="goDoCommand('cmd_viewUnreadMsgs')" disabled="true"/> <command id="cmd_viewThreadsWithUnread" oncommand="goDoCommand('cmd_viewThreadsWithUnread')" disabled="true"/> <command id="cmd_viewWatchedThreadsWithUnread" oncommand="goDoCommand('cmd_viewWatchedThreadsWithUnread')" disabled="true"/> <command id="cmd_viewIgnoredThreads" oncommand="goDoCommand('cmd_viewIgnoredThreads')" disabled="true"/> <commandset id="viewZoomCommands"> <command id="cmd_textZoomReduce" oncommand="ZoomManager.prototype.getInstance().reduce();"/> <command id="cmd_textZoomEnlarge" oncommand="ZoomManager.prototype.getInstance().enlarge();"/> <command id="cmd_textZoomReset" oncommand="ZoomManager.prototype.getInstance().reset();"/> </commandset></commandset><commandset id="mailEditMenuItems" commandupdater="true" events="create-menu-edit" oncommandupdate="goUpdateMailMenuItems(this)"> <command id="cmd_undo" valueDeleteMsg="&undoDeleteMsgCmd.label;" valueMoveMsg="&undoMoveMsgCmd.label;" valueCopyMsg="&undoCopyMsgCmd.label;" valueDefault="&undoDefaultCmd.label;"/> <command id="cmd_redo" valueDeleteMsg="&redoDeleteMsgCmd.label;" valueMoveMsg="&redoMoveMsgCmd.label;" valueCopyMsg="&redoCopyMsgCmd.label;" valueDefault="&redoDefaultCmd.label;"/> <command id="cmd_cut"/> <command id="cmd_copy"/> <command id="cmd_paste"/> <command id="cmd_delete" valueFolder="&deleteFolderCmd.label;" valueFolderAccessKey="&deleteFolderCmd.accesskey;" valueNewsgroup="&unsubscribeNewsgroupCmd.label;" valueNewsgroupAccessKey="&unsubscribeNewsgroupCmd.accesskey;" valueMessage="&deleteMsgCmd.label;" valueMessageAccessKey="&deleteMsgCmd.accesskey;" valueIMAPDeletedMessage="&undeleteMsgCmd.label;" valueIMAPDeletedMessageAccessKey="&undeleteMsgCmd.accesskey;" valueNewsMessage="&cancelNewsMsgCmd.label;" valueNewsMessageAccessKey="&cancelNewsMsgCmd.accesskey;" valueMessages="&deleteMsgsCmd.label;" valueMessagesAccessKey="&deleteMsgsCmd.accesskey;" valueIMAPDeletedMessages="&undeleteMsgsCmd.label;" valueIMAPDeletedMessagesAccessKey="&undeleteMsgsCmd.accesskey;" valueNewsMessages="&cancelNewsMsgsCmd.label;" valueNewsMessagesAccessKey="&cancelNewsMsgsCmd.accesskey;"/> <command id="cmd_selectAll"/> <command id="cmd_selectThread" oncommand="goDoCommand('cmd_selectThread')"/> <command id="cmd_selectFlagged" oncommand="goDoCommand('cmd_selectFlagged')"/> <command id="cmd_properties" oncommand="goDoCommand('cmd_properties')" valueNewsgroup="&folderPropsNewsgroupCmd.label;" valueFolder="&folderPropsFolderCmd.label;" valueGeneric="&folderPropsCmd.label;"/> <command id="cmd_find" oncommand="goDoCommand('cmd_find')" disabled="true"/> <command id="cmd_findAgain" oncommand="goDoCommand('cmd_findAgain')" disabled="true"/> <command id="cmd_findPrevious" oncommand="goDoCommand('cmd_findPrevious')" disabled="true"/> <command id="cmd_stop" oncommand="MsgStop();"/></commandset><commandset id="mailEditContextMenuItems"> <command id="cmd_copyLink"/> <command id="cmd_copyImageLocation"/> <command id="cmd_copyImageContents"/></commandset><commandset id="mailGoMenuItems" commandupdater="true" events="create-menu-go" oncommandupdate="goUpdateMailMenuItems(this)"> <command id="cmd_nextMsg" oncommand="goDoCommand('cmd_nextMsg')" disabled="true"/> <command id="cmd_nextUnreadMsg" oncommand="goDoCommand('cmd_nextUnreadMsg')" disabled="true"/> <command id="cmd_nextFlaggedMsg" oncommand="goDoCommand('cmd_nextFlaggedMsg')" disabled="true"/> <command id="cmd_nextUnreadThread" oncommand="goDoCommand('cmd_nextUnreadThread')" disabled="true"/> <command id="cmd_previousMsg" oncommand="goDoCommand('cmd_previousMsg')" disabled="true"/> <command id="cmd_previousUnreadMsg" oncommand="goDoCommand('cmd_previousUnreadMsg')" disabled="true"/> <command id="cmd_previousFlaggedMsg" oncommand="goDoCommand('cmd_previousFlaggedMsg')" disabled="true"/> <command id="cmd_goStartPage" oncommand="goDoCommand('cmd_goStartPage');"/> <command id="cmd_goForward" oncommand="goDoCommand('cmd_goForward')" disabled="true"/> <command id="cmd_goBack" oncommand="goDoCommand('cmd_goBack')" disabled="true"/></commandset><commandset id="mailMessageMenuItems" commandupdater="true" events="create-menu-message" oncommandupdate="goUpdateMailMenuItems(this)"> <command id="cmd_reply" oncommand="goDoCommand('cmd_reply')"/> <command id="cmd_replySender" oncommand="goDoCommand('cmd_replySender')"/> <command id="cmd_replyGroup" oncommand="goDoCommand('cmd_replyGroup')"/> <command id="cmd_replyall" oncommand="goDoCommand('cmd_replyall')"/> <command id="cmd_forward" oncommand="goDoCommand('cmd_forward')"/> <command id="cmd_forwardInline" oncommand="goDoCommand('cmd_forwardInline')"/> <command id="cmd_forwardAttachment" oncommand="goDoCommand('cmd_forwardAttachment')"/> <command id="cmd_editAsNew" oncommand="goDoCommand('cmd_editAsNew')"/> <command id="cmd_openMessage" oncommand="goDoCommand('cmd_openMessage')"/> <command id="cmd_moveToFolderAgain" oncommand="goDoCommand('cmd_moveToFolderAgain')"/> <command id="cmd_createFilterFromMenu" oncommand="goDoCommand('cmd_createFilterFromMenu')"/> <command id="cmd_killThread" oncommand="goDoCommand('cmd_killThread')"/> <command id="cmd_watchThread" oncommand="goDoCommand('cmd_watchThread')"/></commandset><commandset id="mailToolbarItems" commandupdater="true"
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -