rem: if (!(displayNewsHeader || displayEmailHeader)) { 
add: if (!(displayNewsHeader || displayEmailHeader || displayRssHeader)) { 
context: function ArrangeAccountCentralItems(server, protocolInfo, msgFolder){    try {        /***** Email header and items : Begin *****/        // Read Messages        var canGetMessages = protocolInfo.canGetMessages;        SetItemDisplay("ReadMessages", canGetMessages);            // Compose Messages link        var showComposeMsgLink = protocolInfo.showComposeMsgLink;        SetItemDisplay("ComposeMessage", showComposeMsgLink);            // Junk mail settings        var canControlJunkEmail = protocolInfo.canGetIncomingMessages && protocolInfo.canGetMessages && false;  // && false, until ready for prime time        SetItemDisplay("JunkSettingsMail", canControlJunkEmail);        var displayEmailHeader = canGetMessages || showComposeMsgLink || canControlJunkEmail;        // Display Email header, only if any of the items are displayed        SetItemDisplay("EmailHeader", displayEmailHeader);            /***** Email header and items : End *****/        /***** News header and items : Begin *****/        // Subscribe to Newsgroups         var canSubscribe = (msgFolder.canSubscribe) && !(protocolInfo.canGetMessages);        SetItemDisplay("SubscribeNewsgroups", canSubscribe);            // Junk news settings        var canControlJunkNews = protocolInfo.canGetIncomingMessages && !(protocolInfo.canGetMessages) && false;  // && false, until ready for prime time        SetItemDisplay("JunkSettingsNews", canControlJunkNews);        var displayNewsHeader = canSubscribe || canControlJunkNews;        // Display News header, only if any of the items are displayed        SetItemDisplay("NewsHeader", displayNewsHeader);            /***** News header and items : End *****/           // If neither of above sections exist, collapse section separators        if (!(displayNewsHeader || displayEmailHeader)) {             CollapseSectionSeparators("MessagesSection.separator", false);        }         /***** Accounts : Begin *****/        var canShowCreateAccount = !nsPrefBranch.prefIsLocked("mail.disable_new_account_addition");        SetItemDisplay("CreateAccount", canShowCreateAccount);                  /***** Accounts : End *****/        /***** Advanced Features header and items : Begin *****/        // Search Messages        var canSearchMessages = server.canSearchMessages;        SetItemDisplay("SearchMessages", canSearchMessages);            // Create Filters        var canHaveFilters = server.canHaveFilters;        SetItemDisplay("CreateFilters", canHaveFilters);        // Subscribe to IMAP Folders        var canSubscribeImapFolders = msgFolder.canSubscribe && protocolInfo.canGetMessages;        SetItemDisplay("SubscribeImapFolders", canSubscribeImapFolders);        // Offline Settings        var supportsOffline = (server.offlineSupportLevel != 0);        SetItemDisplay("OfflineSettings", supportsOffline);                    var displayAdvFeatures = canSearchMessages || canHaveFilters ||                                 canSubscribeImapFolders|| supportsOffline;        // Display Adv Features header, only if any of the items are displayed        SetItemDisplay("AdvancedFeaturesHeader", displayAdvFeatures);            /***** Advanced Featuers header and items : End *****/    }    catch (ex) {        dump("Error is setting AccountCentral Items : " + ex + "\n");    }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/17d22492d72e38ce7ceb707c7b8aa239494ab144/msgAccountCentral.js/buggy/mailnews/base/resources/content/msgAccountCentral.js