rem: SetupCompactMenuItem(targetFolder, numSelected, isServer, serverType); 
add: SetupCompactMenuItem(targetFolder, numSelected); 
context: function fillFolderPaneContextMenu(){	var tree = GetFolderTree();	var selectedItems = tree.selectedItems;	var numSelected = selectedItems.length;    var popupNode = document.getElementById('folderPaneContext');	var targetFolder = document.popupNode.parentNode.parentNode;	if (targetFolder.getAttribute('selected') != 'true')	{      tree.selectItem(targetFolder);    }	var isServer = targetFolder.getAttribute('IsServer') == 'true';	var serverType = targetFolder.getAttribute('ServerType');	var specialFolder = targetFolder.getAttribute('SpecialFolder');	var canSubscribeToFolder = (serverType == "nntp") || (serverType == "imap");    var isNewsgroup = !isServer && serverType == 'nntp';	var canGetMessages =  (isServer && (serverType != "nntp") && (serverType !="none")) || isNewsgroup;	ShowMenuItem("folderPaneContext-getMessages", (numSelected <= 1) && canGetMessages);	EnableMenuItem("folderPaneContext-getMessages", true);	ShowMenuItem("folderPaneContext-openNewWindow", (numSelected <= 1) && !isServer);	EnableMenuItem("folderPaneContext-openNewWindow", (true));	SetupRenameMenuItem(targetFolder, numSelected, isServer, serverType, specialFolder);	SetupRemoveMenuItem(targetFolder, numSelected, isServer, serverType, specialFolder);    SetupCompactMenuItem(targetFolder, numSelected, isServer, serverType);	ShowMenuItem("folderPaneContext-emptyTrash", (numSelected <= 1) && (specialFolder == 'Trash'));	EnableMenuItem("folderPaneContext-emptyTrash", true);	ShowMenuItem("folderPaneContext-sendUnsentMessages", (numSelected <= 1) && (specialFolder == 'Unsent Messages'));	EnableMenuItem("folderPaneContext-sendUnsentMessages", true);	ShowMenuItem("folderPaneContext-sep-edit", (numSelected <= 1));	SetupNewMenuItem(targetFolder, numSelected, isServer, serverType, specialFolder);	ShowMenuItem("folderPaneContext-subscribe",	(numSelected <=	1) && canSubscribeToFolder);	EnableMenuItem("folderPaneContext-subscribe", true);// News	folder context menu	=============================================	ShowMenuItem("folderPaneContext-newsUnsubscribe", (numSelected <= 1) &&	canSubscribeToFolder &&	isNewsgroup);	EnableMenuItem("folderPaneContext-newsUnsubscribe",	true);	ShowMenuItem("folderPaneContext-markAllRead", (numSelected <= 1) &&	isNewsgroup);	EnableMenuItem("folderPaneContext-markAllRead",	true);// End of News folder context menu =======================================		ShowMenuItem("folderPaneContext-searchMessages", (numSelected<=1));	EnableMenuItem("folderPaneContext-searchMessages", true);	return(true);}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/469872267c3ab955e509b3bb5f565c54ef302645/mailContextMenus.js/clean/mailnews/base/resources/content/mailContextMenus.js