rem: ShowMenuItem("folderPaneContext-rename", (numSelected <= 1) && (isServer || canRename)); 
add: ShowMenuItem("folderPaneContext-rename", (numSelected <= 1) && !isServer && (specialFolder == "none") && canRename); 
context: function SetupRenameMenuItem(targetFolder, numSelected, isServer, serverType, specialFolder){	var isSpecialFolder = specialFolder != 'none';	var isMail = serverType != 'nntp';	var canRename = (targetFolder.getAttribute('CanRename') == "true");	ShowMenuItem("folderPaneContext-rename", (numSelected <= 1) && (isServer || canRename));	EnableMenuItem("folderPaneContext-rename", !isServer);	if(isServer)	{		if(isMail)		{			SetMenuItemValue("folderPaneContext-rename", Bundle.GetStringFromName("renameAccount"));		}		else		{			SetMenuItemValue("folderPaneContext-rename", Bundle.GetStringFromName("renameNewsAccount"));		}	}	else if(canRename)	{		SetMenuItemValue("folderPaneContext-rename", Bundle.GetStringFromName("renameFolder"));	}}
meta: 8395	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/8395/18196c4b732af6b94e9651fc3dc40ab0eabfa685/mailContextMenus.js/clean/mailnews/base/resources/content/mailContextMenus.js