rem: var isSpecialFolder = !(specialFolder == "none" || (specialFolder == "Junk" && CanRenameDeleteJunkMail(msgFolder.URI))); 
add: var isSpecialFolder = !(specialFolder == "none" || (specialFolder == "Junk" && CanRenameDeleteJunkMail(msgFolder.URI)) || (specialFolder == "Virtual")); 
context: function SetupRenameMenuItem(folderResource, numSelected, isServer, serverType, specialFolder){  var msgFolder = folderResource.QueryInterface(Components.interfaces.nsIMsgFolder);  var folderTree = GetFolderTree();  var isSpecialFolder = !(specialFolder == "none" || (specialFolder == "Junk" && CanRenameDeleteJunkMail(msgFolder.URI)));  var canRename = GetFolderAttribute(folderTree, folderResource, "CanRename") == "true";  ShowMenuItem("folderPaneContext-rename", (numSelected <= 1) && !isServer && !isSpecialFolder && canRename);  var folder = GetMsgFolderFromResource(folderResource);  EnableMenuItem("folderPaneContext-rename", !isServer && folder.isCommandEnabled("cmd_renameFolder"));  if(canRename)  {    SetMenuItemLabel("folderPaneContext-rename", gMessengerBundle.getString("renameFolder"));  }}
meta: 5459	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5459/c5b79de8207705aebf007fb080a24c9798b1f9d1/mailContextMenus.js/clean/mailnews/base/resources/content/mailContextMenus.js