From 73a2b3b013cc1a29eccbf4ac8d6f4edf4d8ad166 Mon Sep 17 00:00:00 2001 From: Magnus Melin Date: Wed, 13 Dec 2023 11:46:05 +0200 Subject: [PATCH] Bug 1703164 - convert mail/extensions/mailviews/content/mailViewList.xhtml to top level . 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 --- .../mailviews/content/mailViewList.js | 2 + .../mailviews/content/mailViewList.xhtml | 67 ++++++++++--------- 2 files changed, 38 insertions(+), 31 deletions(-) diff --git a/mail/extensions/mailviews/content/mailViewList.js b/mail/extensions/mailviews/content/mailViewList.js index 277c74e553..ac5a1d9835 100644 --- a/mail/extensions/mailviews/content/mailViewList.js +++ b/mail/extensions/mailviews/content/mailViewList.js @@ -7,6 +7,8 @@ var gListBox; var gEditButton; var gDeleteButton; +window.addEventListener("load", mailViewListOnLoad); + function mailViewListOnLoad() { gMailListView = Cc["@mozilla.org/messenger/mailviewlist;1"].getService( Ci.nsIMsgMailViewList diff --git a/mail/extensions/mailviews/content/mailViewList.xhtml b/mail/extensions/mailviews/content/mailViewList.xhtml index e72921af9d..42344c40d8 100644 --- a/mail/extensions/mailviews/content/mailViewList.xhtml +++ b/mail/extensions/mailviews/content/mailViewList.xhtml @@ -1,44 +1,49 @@ - - + %mailViewLisDTD; %FilterListDialogDTD; ]> - - - - - - - - + + + + - + + + - + + +