Bug 1444598 - Inline the msgReadSMIMEOverlay.xul. r=jorgk

This commit is contained in:
Richard Marti 2018-03-10 11:27:44 +01:00
Родитель 95866cd750
Коммит 41f00cf48f
3 изменённых файлов: 15 добавлений и 33 удалений

Просмотреть файл

@ -10,6 +10,7 @@
#endif #endif
<?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?> <?xml-stylesheet href="chrome://messenger/skin/folderMenus.css" type="text/css"?>
<?xml-stylesheet href="chrome://messenger/skin/smime/msgReadSMIMEOverlay.css" type="text/css"?>
<!-- Overlaying utilityOverlay.xul here is a temporary band-aid for a <!-- Overlaying utilityOverlay.xul here is a temporary band-aid for a
hard-to-reproduce problem where File, Edit, and View menus disappear on hard-to-reproduce problem where File, Edit, and View menus disappear on
@ -38,6 +39,8 @@
%charsetDTD; %charsetDTD;
<!ENTITY % viewZoomOverlayDTD SYSTEM "chrome://messenger/locale/viewZoomOverlay.dtd"> <!ENTITY % viewZoomOverlayDTD SYSTEM "chrome://messenger/locale/viewZoomOverlay.dtd">
%viewZoomOverlayDTD; %viewZoomOverlayDTD;
<!ENTITY % msgReadSMIMEDTD SYSTEM "chrome://messenger-smime/locale/msgReadSMIMEOverlay.dtd">
%msgReadSMIMEDTD;
]> ]>
<overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" <overlay xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
@ -61,6 +64,7 @@
<script type="application/javascript" src="chrome://global/content/macWindowMenu.js"/> <script type="application/javascript" src="chrome://global/content/macWindowMenu.js"/>
#endif #endif
<script type="application/javascript" src="chrome://messenger/content/newmailaccount/uriListener.js"/> <script type="application/javascript" src="chrome://messenger/content/newmailaccount/uriListener.js"/>
<script type="application/javascript" src="chrome://messenger-smime/content/msgReadSMIMEOverlay.js"/>
<stringbundleset id="stringbundleset"> <stringbundleset id="stringbundleset">
<stringbundle id="brand_bundle" src="chrome://branding/locale/brand.properties"/> <stringbundle id="brand_bundle" src="chrome://branding/locale/brand.properties"/>
@ -157,6 +161,9 @@
<command id="cmd_fullZoomToggle" <command id="cmd_fullZoomToggle"
oncommand="goDoCommand('cmd_fullZoomToggle');" oncommand="goDoCommand('cmd_fullZoomToggle');"
checked="false"/> checked="false"/>
<command id="cmd_viewSecurityStatus"
oncommand="showMessageReadSecurityInfo();"
disabled="true"/>
</commandset> </commandset>
</commandset> </commandset>
@ -1831,6 +1838,10 @@
label="&pageSourceCmd.label;" label="&pageSourceCmd.label;"
key="key_viewPageSource" key="key_viewPageSource"
command="cmd_viewPageSource"/> command="cmd_viewPageSource"/>
<menuitem id="appmenu_securityStatus"
label="&menu_securityStatus.label;"
accesskey="&menu_securityStatus.accesskey;"
command="cmd_viewSecurityStatus"/>
</menupopup> </menupopup>
</menu> </menu>
<!-- Go menu --> <!-- Go menu -->
@ -2741,6 +2752,10 @@
oncommand="MailSetCharacterSet(event)"/> oncommand="MailSetCharacterSet(event)"/>
<menuseparator id="viewAfterCharsetSeparator"/> <menuseparator id="viewAfterCharsetSeparator"/>
<menuitem id="pageSourceMenuItem" label="&pageSourceCmd.label;" key="key_viewPageSource" accesskey="&pageSourceCmd.accesskey;" command="cmd_viewPageSource"/> <menuitem id="pageSourceMenuItem" label="&pageSourceCmd.label;" key="key_viewPageSource" accesskey="&pageSourceCmd.accesskey;" command="cmd_viewPageSource"/>
<menuitem id="menu_securityStatus"
label="&menu_securityStatus.label;"
accesskey="&menu_securityStatus.accesskey;"
command="cmd_viewSecurityStatus"/>
</menupopup> </menupopup>
</menu> </menu>

Просмотреть файл

@ -1,30 +0,0 @@
<?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/smime/msgReadSMIMEOverlay.css" type="text/css"?>
<!DOCTYPE overlay SYSTEM "chrome://messenger-smime/locale/msgReadSMIMEOverlay.dtd">
<overlay xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul">
<script type="application/javascript" src="chrome://messenger-smime/content/msgReadSMIMEOverlay.js"/>
<stringbundleset id="stringbundleset">
<stringbundle id="bundle_read_smime" src="chrome://messenger-smime/locale/msgReadSMIMEOverlay.properties"/>
<stringbundle id="bundle_brand" src="chrome://branding/locale/brand.properties"/>
</stringbundleset>
<commandset id="mailViewMenuItems">
<command id="cmd_viewSecurityStatus" oncommand="showMessageReadSecurityInfo();" disabled="true"/>
</commandset>
<menupopup id="menu_View_Popup">
<menuitem id="menu_securityStatus" insertafter="pageSourceMenuItem"
label="&menu_securityStatus.label;" accesskey="&menu_securityStatus.accesskey;"
command="cmd_viewSecurityStatus"/>
</menupopup>
</overlay>

Просмотреть файл

@ -6,10 +6,7 @@ messenger.jar:
% content messenger-smime %content/messenger-smime/ % content messenger-smime %content/messenger-smime/
% overlay chrome://messenger/content/messengercompose/messengercompose.xul chrome://messenger-smime/content/msgCompSMIMEOverlay.xul % overlay chrome://messenger/content/messengercompose/messengercompose.xul chrome://messenger-smime/content/msgCompSMIMEOverlay.xul
% overlay chrome://messenger/content/msgHdrViewOverlay.xul chrome://messenger-smime/content/msgHdrViewSMIMEOverlay.xul % overlay chrome://messenger/content/msgHdrViewOverlay.xul chrome://messenger-smime/content/msgHdrViewSMIMEOverlay.xul
% overlay chrome://messenger/content/messenger.xul chrome://messenger-smime/content/msgReadSMIMEOverlay.xul
% overlay chrome://messenger/content/messageWindow.xul chrome://messenger-smime/content/msgReadSMIMEOverlay.xul
% overlay chrome://messenger/content/am-identity-edit.xul chrome://messenger/content/am-smimeIdentityEditOverlay.xul % overlay chrome://messenger/content/am-identity-edit.xul chrome://messenger/content/am-smimeIdentityEditOverlay.xul
content/messenger-smime/msgReadSMIMEOverlay.xul (content/msgReadSMIMEOverlay.xul)
content/messenger-smime/msgCompSMIMEOverlay.xul (content/msgCompSMIMEOverlay.xul) content/messenger-smime/msgCompSMIMEOverlay.xul (content/msgCompSMIMEOverlay.xul)
content/messenger-smime/msgCompSMIMEOverlay.js (content/msgCompSMIMEOverlay.js) content/messenger-smime/msgCompSMIMEOverlay.js (content/msgCompSMIMEOverlay.js)
content/messenger-smime/msgHdrViewSMIMEOverlay.js (content/msgHdrViewSMIMEOverlay.js) content/messenger-smime/msgHdrViewSMIMEOverlay.js (content/msgHdrViewSMIMEOverlay.js)