rem: 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); 
add: 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); 
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);	SetupMoveMenuItem("threadPaneContext-moveMenu", numSelected, isNewsgroup, false);	SetupCopyMenuItem("threadPaneContext-copyMenu", numSelected, false);	SetupSaveAsMenuItem("threadPaneContext-saveAs", numSelected, false);	SetupPrintMenuItem("threadPaneContext-print", numSelected, false);	SetupDeleteMenuItem("threadPaneContext-delete", numSelected, isNewsgroup, false);	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/eaa6754a0a946375badf1165b3e4af3999e4b03c/mailContextMenus.js/buggy/mailnews/base/resources/content/mailContextMenus.js