Bug 1608610 - Show "Calendar" sidebar item on preferences page. r=darktrojan
authorPaul Morris <paul@thunderbird.net>
Mon, 13 Jan 2020 15:35:53 -0500
changeset 37227 13a1ac7c5683f4f2dd6e981c12b58d62401ca30d
parent 37226 dca41d3769966fa8c3a4286240ef7bfa0fc78cf7
child 37228 0fe3458c274cb2503e2851b64a1bb6b5cac2d480
push id2552
push userclokep@gmail.com
push dateMon, 10 Feb 2020 21:24:16 +0000
treeherdercomm-beta@f95a6f4408a3 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersdarktrojan
bugs1608610
Bug 1608610 - Show "Calendar" sidebar item on preferences page. r=darktrojan
mail/components/preferences/preferences.js
--- a/mail/components/preferences/preferences.js
+++ b/mail/components/preferences/preferences.js
@@ -30,24 +30,16 @@ ChromeUtils.defineModuleGetter(
 (function() {
   for (let pane of prefPanes) {
     if (
       pane.id == "paneChat" &&
       !Services.prefs.getBoolPref("mail.chat.enabled")
     ) {
       continue;
     }
-    if (
-      pane.id == "paneLightning" &&
-      !ExtensionSupport.loadedLegacyExtensions.has(
-        "{e2fda1a4-762b-4020-b5ad-a41df1933103}"
-      )
-    ) {
-      continue;
-    }
 
     var radio = document.createXULElement("radio");
     radio.setAttribute("pane", pane.id);
     radio.setAttribute("value", pane.id);
     radio.setAttribute("label", pane.getAttribute("label"));
     radio.setAttribute("oncommand", `showPane("${pane.id}");`);
     // Expose preference group choice to accessibility APIs as an unchecked list item
     // The parent group is exposed to accessibility APIs as a list