rem: goUpdateCommand('cmd_delete'); 
add: SetupDeleteMenuItem("threadPaneContext-delete", numSelected, false); 
context: function fillThreadPaneContextMenu(){  var numSelected = GetNumSelectedMessages();  var isNewsgroup = false;  var selectedMessage = null;  if(numSelected >= 0) {    selectedMessage = GetFirstSelectedMessage();    isNewsgroup = IsNewsMessage(selectedMessage);  }  SetupNewMessageWindowMenuItem("threadPaneContext-openNewWindow", numSelected, false);  SetupEditAsNewMenuItem("threadPaneContext-editAsNew", numSelected, false);  ShowMenuItem("threadPaneContext-sep-open", (numSelected <= 1));  SetupReplyToSenderMenuItem("threadPaneContext-replySender", numSelected, false);  SetupReplyToNewsgroupMenuItem("threadPaneContext-replyNewsgroup", numSelected, isNewsgroup, false);  SetupReplyAllMenuItem("threadPaneContext-replyAll", numSelected, false);  SetupForwardMenuItem("threadPaneContext-forward", numSelected, false);  SetupForwardAsAttachmentMenuItem("threadPaneContext-forwardAsAttachment", numSelected, false);  ShowMenuItem("threadPaneContext-sep-reply", true);  SetupCopyMessageUrlMenuItem("threadPaneContext-copyMessageUrl", numSelected, isNewsgroup, numSelected != 1);   SetupCopyMenuItem("threadPaneContext-copyMenu", numSelected, false);  SetupMoveMenuItem("threadPaneContext-moveMenu", numSelected, isNewsgroup, false);  SetupSaveAsMenuItem("threadPaneContext-saveAs", numSelected, false);  SetupPrintMenuItem("threadPaneContext-print", numSelected, false);  goUpdateCommand('cmd_delete');  SetupAddSenderToABMenuItem("threadPaneContext-addSenderToAddressBook", numSelected, false);  SetupAddAllToABMenuItem("threadPaneContext-addAllToAddressBook", numSelected, false);  ShowMenuItem("threadPaneContext-sep-edit", (numSelected <= 1));  return(true);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/218064aa3badb87fbbe82d1ad9ea3eb84a4c3f3d/mailContextMenus.js/buggy/mailnews/base/resources/content/mailContextMenus.js