Bug 577043 - ensure Gloda is in the namespaces of the windows that use Activity Manager - "Gloda is not defined" error console message from Thunderbird; r=asuth
--- a/mail/base/content/mailWindow.js
+++ b/mail/base/content/mailWindow.js
@@ -34,31 +34,31 @@
* and other provisions required by the GPL or the LGPL. If you do not delete
* the provisions above, a recipient may use your version of this file under
* the terms of any one of the MPL, the GPL or the LGPL.
*
* ***** END LICENSE BLOCK ***** */
Components.utils.import("resource:///modules/appIdleManager.js");
Components.utils.import("resource://gre/modules/XPCOMUtils.jsm");
+Components.utils.import("resource:///modules/gloda/log4moz.js");
+Components.utils.import("resource:///modules/gloda/public.js");
//This file stores variables common to mail windows
var messenger;
var pref;
var statusFeedback;
var msgWindow;
var msgComposeService;
var accountManager;
var gMessengerBundle;
var gBrandBundle;
-Components.utils.import("resource:///modules/gloda/log4moz.js");
-
var gContextMenu;
var gMailWindowLog = Log4Moz.getConfiguredLogger("mailWindow", Log4Moz.Level.Debug, Log4Moz.Level.Debug, Log4Moz.Level.Debug);
/**
* Called by messageWindow.xul:onunload, the 'single message display window'.
*
* Also called by messenger.xul:onunload's (the 3-pane window inside of tabs
* window) unload function, OnUnloadMessenger.