rem: allMenuItem.setAttribute("checked", messageView.viewType == viewShowAll); 
add: allMenuItem.setAttribute("checked", messageView.viewType == nsMsgViewType.eShowAll); 
context: function InitViewMessagesMenu(){    var allMenuItem = document.getElementById("viewAllMessagesMenuItem");    var hidden = allMenuItem.getAttribute("hidden") == "true";    if(allMenuItem && !hidden)        allMenuItem.setAttribute("checked", messageView.viewType == viewShowAll);    var unreadMenuItem = document.getElementById("viewUnreadMessagesMenuItem");    hidden = unreadMenuItem.getAttribute("hidden") == "true";    if(unreadMenuItem && !hidden)        unreadMenuItem.setAttribute("checked", messageView.viewType == viewShowUnread);}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/e2955b1ba881bdab390012def159afb4caff27f1/mailWindowOverlay.js/buggy/mailnews/base/resources/content/mailWindowOverlay.js