diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /comm/suite/mailnews/content/messageWindow.xul | |
parent | Initial commit. (diff) | |
download | thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.tar.xz thunderbird-6bf0a5cb5034a7e684dcc3500e841785237ce2dd.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'comm/suite/mailnews/content/messageWindow.xul')
-rw-r--r-- | comm/suite/mailnews/content/messageWindow.xul | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/comm/suite/mailnews/content/messageWindow.xul b/comm/suite/mailnews/content/messageWindow.xul new file mode 100644 index 0000000000..9ec502086c --- /dev/null +++ b/comm/suite/mailnews/content/messageWindow.xul @@ -0,0 +1,141 @@ +<?xml version="1.0"?> +<!-- This Source Code Form is subject to the terms of the Mozilla Public + - License, v. 2.0. If a copy of the MPL was not distributed with this + - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> +<?xml-stylesheet href="chrome://messenger/skin/messageWindow.css" type="text/css"?> + +<?xul-overlay href="chrome://messenger/content/mailWindowOverlay.xul"?> + +<!DOCTYPE window [ +<!ENTITY % brandDTD SYSTEM "chrome://branding/locale/brand.dtd" > +%brandDTD; +<!ENTITY % messengerDTD SYSTEM "chrome://messenger/locale/messenger.dtd" > +%messengerDTD; +]> + +<window id="messengerWindow" + xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" + xmlns:nc="http://home.netscape.com/NC-rdf#" + title="&messengerWindow.title;" + titlemodifier="&titleModifier.label;" + titlemenuseparator="&titleSeparator.label;" + onload="OnLoadMessageWindow()" + onunload="OnUnloadMessageWindow()" + width="750" + height="500" + persist="width height screenX screenY sizemode" + toggletoolbar="true" + lightweightthemes="true" + lightweightthemesfooter="status-bar" + macanimationtype="document" + drawtitle="true" + windowtype="mail:messageWindow"> + + <stringbundleset id="stringbundleset"> + <stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/> + <stringbundle id="bundle_messenger" src="chrome://messenger/locale/messenger.properties"/> + <stringbundle id="bundle_offlinePrompts" src="chrome://messenger/locale/offline.properties"/> + </stringbundleset> + + <script src="chrome://messenger/content/commandglue.js"/> + <script src="chrome://messenger/content/mailWindow.js"/> + <script src="chrome://messenger/content/messageWindow.js"/> + <script src="chrome://messenger/content/accountUtils.js"/> + <script src="chrome://messenger/content/mailContextMenus.js"/> + <script src="chrome://messenger/content/phishingDetector.js"/> + <script src="chrome://communicator/content/contentAreaClick.js"/> + <script src="chrome://global/content/nsDragAndDrop.js"/> + <script src="chrome://messenger/content/msgViewNavigation.js"/> + <script src="chrome://messenger/content/tabmail.js"/> + + <commandset id="mailCommands"> + <commandset id="mailFileMenuItems"/> + <commandset id="mailDownloadCommands"/> + <commandset id="mailViewMenuItems"/> + <commandset id="mailEditMenuItems"/> + <commandset id="mailSearchMenuItems"/> + <commandset id="mailGoMenuItems"/> + <commandset id="mailMessageMenuItems"/> + <commandset id="mailToolbarItems"/> + <commandset id="mailGetMsgMenuItems"/> + <commandset id="mailMarkMenuItems"/> + <commandset id="mailToolsMenuItems"/> + <commandset id="mailEditContextMenuItems"/> + <commandset id="tasksCommands"/> + <commandset id="commandKeys"/> + <command id="cmd_close" oncommand="window.close();"/> + </commandset> + + <broadcasterset id="mailBroadcasters"> + <broadcaster id="mailHideMenus" hidden="true"/> + <broadcaster id="mailDisableKeys" disabled="true"/> + <!-- File Menu --> + <broadcaster id="Communicator:WorkMode"/> + </broadcasterset> + + <broadcasterset id="mainBroadcasterSet"/> + + <keyset id="mailKeys"> + <keyset id="tasksKeys"/> + <key keycode="VK_ESCAPE" oncommand="window.close();"/> + </keyset> + + <popupset id="messagePopupSet"> + <menupopup id="mailContext"/> + <menupopup id="attachmentListContext"/> + <menupopup id="copyUrlPopup"/> + <menupopup id="messageIdContext"/> + <menupopup id="emailAddressPopup"/> + <menupopup id="toolbar-context-menu"/> + <menupopup id="remoteContentOptions"/> + <tooltip id="aHTMLTooltip" + onpopupshowing="return FillInHTMLTooltip(document.tooltipNode);"/> + <panel id="customizeToolbarSheetPopup"/> + </popupset> + + <vbox id="titlebar"/> + + <toolbox id="mail-toolbox"> + <toolbar id="mail-toolbar-menubar2"> + <toolbaritem id="menubar-items"> + <menubar id="mail-menubar"/> + </toolbaritem> + </toolbar> + <toolbar id="msgToolbar"/> + <toolbarset id="customToolbars"/> + </toolbox> + + <!-- msg header view --> +<vbox id="messagesBox" flex="1"> + <notificationbox id="messagepanebox" + class="browser-notificationbox" + flex="3" + persist="collapsed" + ondragover="messagepaneObserver.onDragOver(event);" + ondrop="messagepaneObserver.onDrop(event);" + ondragexit="messagepaneObserver.onDragExit(event);"> + + <hbox id="msgHeaderView"/> + + <!-- message view --> + <browser id="messagepane" + name="messagepane" + height="0" + flex="1" + minwidth="1" + minheight="1" + context="mailContext" + tooltip="aHTMLTooltip" + disablesecurity="true" + disablehistory="true" + autofind="false" + type="content" + primary="true" + onresize="return messagePaneOnResize(event);" + onclick="return messagePaneOnClick(event);"/> + </notificationbox> +</vbox> + + <statusbar class="chromeclass-status" id="status-bar"/> + +</window> |