rem: function MsgMarkThreadAsRead() {} 
add: function MsgMarkThreadAsRead() { var tree = GetThreadTree(); var messageList = ConvertDOMListToResourceArray(tree.selectedItems); if(messageList.Count() == 1) { var messageSupports = messageList.GetElementAt(0); if(messageSupports) { var message = messageSupports.QueryInterface(Components.interfaces.nsIMessage); if(message) { var folder = message.GetMsgFolder(); if(folder) { var thread = folder.getThreadForMessage(message); if(thread) { messenger.markThreadRead(tree.database, folder, thread); } } } } }  } 
context: function MsgMarkThreadAsRead() {}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/0a24489bd21f0996f9fbe7a25a358a85433b516e/widgetglue.js/clean/mailnews/base/resources/content/widgetglue.js