Bug 1703164 - convert mail/extensions/mailviews/content/mailViewList.xhtml to top level <html>. r=aleca
Customize toolbar, add View. From the View widget, choose the Customize... Differential Revision: https://phabricator.services.mozilla.com/D194929 --HG-- extra : rebase_source : 565eba6462c03f8805fb9a4c58b25335df568cbf extra : amend_source : 889c1688a7ce04d70610da554e915db5fa4788d7
This commit is contained in:
Родитель
f43a03c5de
Коммит
73a2b3b013
|
@ -7,6 +7,8 @@ var gListBox;
|
||||||
var gEditButton;
|
var gEditButton;
|
||||||
var gDeleteButton;
|
var gDeleteButton;
|
||||||
|
|
||||||
|
window.addEventListener("load", mailViewListOnLoad);
|
||||||
|
|
||||||
function mailViewListOnLoad() {
|
function mailViewListOnLoad() {
|
||||||
gMailListView = Cc["@mozilla.org/messenger/mailviewlist;1"].getService(
|
gMailListView = Cc["@mozilla.org/messenger/mailviewlist;1"].getService(
|
||||||
Ci.nsIMsgMailViewList
|
Ci.nsIMsgMailViewList
|
||||||
|
|
|
@ -1,44 +1,49 @@
|
||||||
<?xml version="1.0"?>
|
<?xml version="1.0"?>
|
||||||
|
|
||||||
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
<!-- 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
|
- 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/. -->
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
||||||
|
|
||||||
<!DOCTYPE window [ <!ENTITY % mailViewLisDTD SYSTEM "chrome://messenger/locale/mailViewList.dtd">
|
<!DOCTYPE html [ <!ENTITY % mailViewLisDTD SYSTEM "chrome://messenger/locale/mailViewList.dtd">
|
||||||
%mailViewLisDTD;
|
%mailViewLisDTD;
|
||||||
<!ENTITY % FilterListDialogDTD SYSTEM "chrome://messenger/locale/FilterListDialog.dtd">
|
<!ENTITY % FilterListDialogDTD SYSTEM "chrome://messenger/locale/FilterListDialog.dtd">
|
||||||
%FilterListDialogDTD; ]>
|
%FilterListDialogDTD; ]>
|
||||||
|
<html
|
||||||
<window
|
xmlns="http://www.w3.org/1999/xhtml"
|
||||||
id="mailViewListDialog"
|
xmlns:xul="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
|
||||||
xmlns:html="http://www.w3.org/1999/xhtml"
|
xmlns:html="http://www.w3.org/1999/xhtml"
|
||||||
onload="mailViewListOnLoad();"
|
id="mailViewListDialog"
|
||||||
windowtype="mailnews:mailviewlist"
|
windowtype="mailnews:mailviewlist"
|
||||||
lightweightthemes="true"
|
lightweightthemes="true"
|
||||||
title="&mailViewListTitle.label;"
|
style="min-width: 400px; min-height: 150px"
|
||||||
width="400"
|
scrolling="false"
|
||||||
height="340"
|
|
||||||
persist="screenX screenY width height"
|
|
||||||
>
|
>
|
||||||
<html:link rel="stylesheet" href="chrome://messenger/skin/messenger.css" />
|
<head>
|
||||||
<html:link rel="stylesheet" href="chrome://messenger/skin/colors.css" />
|
<title>&mailViewListTitle.label;</title>
|
||||||
<html:link
|
<link rel="stylesheet" href="chrome://messenger/skin/messenger.css" />
|
||||||
rel="stylesheet"
|
<link rel="stylesheet" href="chrome://messenger/skin/colors.css" />
|
||||||
href="chrome://messenger/skin/themeableDialog.css"
|
<link rel="stylesheet" href="chrome://messenger/skin/themeableDialog.css" />
|
||||||
/>
|
<link rel="localization" href="branding/brand.ftl" />
|
||||||
|
<script
|
||||||
|
defer="defer"
|
||||||
|
src="chrome://messenger/content/dialogShadowDom.js"
|
||||||
|
></script>
|
||||||
|
<script
|
||||||
|
defer="defer"
|
||||||
|
src="chrome://messenger/content/mailViewList.js"
|
||||||
|
></script>
|
||||||
|
</head>
|
||||||
|
<html:body
|
||||||
|
xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
|
||||||
|
>
|
||||||
<dialog buttons="accept">
|
<dialog buttons="accept">
|
||||||
<script src="chrome://messenger/content/mailViewList.js" />
|
|
||||||
<script src="chrome://messenger/content/dialogShadowDom.js" />
|
|
||||||
|
|
||||||
<vbox flex="1">
|
|
||||||
<hbox flex="1">
|
<hbox flex="1">
|
||||||
|
<vbox style="min-width: 0; flex: 1 1 0">
|
||||||
<richlistbox
|
<richlistbox
|
||||||
id="mailViewList"
|
id="mailViewList"
|
||||||
flex="1"
|
style="flex: 1 1 0"
|
||||||
onselect="onMailViewSelect(event);"
|
onselect="onMailViewSelect(event);"
|
||||||
/>
|
/>
|
||||||
|
</vbox>
|
||||||
|
|
||||||
<vbox>
|
<vbox>
|
||||||
<button
|
<button
|
||||||
|
@ -61,6 +66,6 @@
|
||||||
/>
|
/>
|
||||||
</vbox>
|
</vbox>
|
||||||
</hbox>
|
</hbox>
|
||||||
</vbox>
|
|
||||||
</dialog>
|
</dialog>
|
||||||
</window>
|
</html:body>
|
||||||
|
</html>
|
||||||
|
|
Загрузка…
Ссылка в новой задаче