From 6bfef35987ec87292cdc561361f37bfc6754b421 Mon Sep 17 00:00:00 2001 From: drebs Date: Mon, 15 Sep 2014 12:04:53 -0300 Subject: Remove status bar messages (#4871). --- chrome/content/statusBar/statusBarOverlay.js | 19 ++++++++++++------- chrome/content/statusBar/statusBarOverlay.xul | 5 +++-- 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/chrome/content/statusBar/statusBarOverlay.js b/chrome/content/statusBar/statusBarOverlay.js index c82b3f2..fbe91bb 100644 --- a/chrome/content/statusBar/statusBarOverlay.js +++ b/chrome/content/statusBar/statusBarOverlay.js @@ -33,15 +33,19 @@ var accountConfigured = getStringBundle( ****************************************************************************/ // run startUp() once when window loads -window.addEventListener("load", function(e) { - starUp(); +window.addEventListener("load", function(e) { + starUp(); }, false); +/** + * We don't want a message with the bitmask account status in the status bar + * for now (see https://leap.se/code/issues/4871). + */ // run updatePanel() periodically -window.setInterval( - function() { - updatePanel(); - }, 10000); // update every ten seconds +//window.setInterval( +// function() { +// updatePanel(); +// }, 10000); // update every ten seconds /***************************************************************************** @@ -49,7 +53,8 @@ window.setInterval( ****************************************************************************/ function starUp() { - updatePanel(); + // TODO: uncomment when we want messages in the status bar again. + //updatePanel(); if (!isBitmaskAccountConfigured()) { launchAccountWizard(); } else { diff --git a/chrome/content/statusBar/statusBarOverlay.xul b/chrome/content/statusBar/statusBarOverlay.xul index 006ccb9..4557a14 100644 --- a/chrome/content/statusBar/statusBarOverlay.xul +++ b/chrome/content/statusBar/statusBarOverlay.xul @@ -10,8 +10,9 @@