diff --git a/src/chrome/content/options.js b/src/chrome/content/options.js index a5c3224..8c06b61 100644 --- a/src/chrome/content/options.js +++ b/src/chrome/content/options.js @@ -7,16 +7,6 @@ const Cu = Components.utils; Cu.import("resource://firetray/FiretrayHandler.jsm"); Cu.import("resource://firetray/commons.js"); -const FLDRS_UNINTERESTING = { - Archive: Ci.nsMsgFolderFlags.Archive, - Drafts: Ci.nsMsgFolderFlags.Drafts, - Junk: Ci.nsMsgFolderFlags.Junk, - Queue: Ci.nsMsgFolderFlags.Queue, - SentMail: Ci.nsMsgFolderFlags.SentMail, - Templates: Ci.nsMsgFolderFlags.Templates, - Trash: Ci.nsMsgFolderFlags.Trash -}; - const TREEROW_ACCOUNT_OR_SERVER_TYPE_NAME = 0; const TREEROW_ACCOUNT_OR_SERVER_TYPE_EXCLUDED = 1; const TREEROW_ACCOUNT_OR_SERVER_TYPE_ORDER = 2; diff --git a/src/modules/FiretrayMessaging.jsm b/src/modules/FiretrayMessaging.jsm index 8d56c96..5847c59 100644 --- a/src/modules/FiretrayMessaging.jsm +++ b/src/modules/FiretrayMessaging.jsm @@ -1,6 +1,6 @@ /* -*- Mode: js2; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ -var EXPORTED_SYMBOLS = [ "firetray" ]; +var EXPORTED_SYMBOLS = [ "firetray", "FLDRS_UNINTERESTING" ]; const Cc = Components.classes; const Ci = Components.interfaces; @@ -10,6 +10,16 @@ Cu.import("resource:///modules/mailServices.js"); Cu.import("resource://gre/modules/PluralForm.jsm"); Cu.import("resource://firetray/commons.js"); +const FLDRS_UNINTERESTING = { + Archive: Ci.nsMsgFolderFlags.Archive, + Drafts: Ci.nsMsgFolderFlags.Drafts, + Junk: Ci.nsMsgFolderFlags.Junk, + Queue: Ci.nsMsgFolderFlags.Queue, + SentMail: Ci.nsMsgFolderFlags.SentMail, + Templates: Ci.nsMsgFolderFlags.Templates, + Trash: Ci.nsMsgFolderFlags.Trash +}; + /** * firetray namespace. */