rem: messenger.MarkAllMessagesRead(folderTree.database, selectedFolder); 
add: messenger.MarkAllMessagesRead(folderTree.database, selectedFolder.resource); 
context: function MsgMarkAllRead(){	var folderTree = GetFolderTree();	var selectedFolderList = folderTree.selectedItems;	if(selectedFolderList.length > 0)	{		var selectedFolder = selectedFolderList[0];		messenger.MarkAllMessagesRead(folderTree.database, selectedFolder);	}	else {		dump("Nothing was selected\n");	}}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/1038bd68e3102cdd1cf7c3948945302647de6281/widgetglue.js/buggy/mailnews/base/resources/content/widgetglue.js