rem:  if(canRename) { SetMenuItemLabel("folderPaneContext-rename", gMessengerBundle.getString("renameFolder")); } 
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))                                                  || (specialFolder == "Virtual") );  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: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/5313b0c00e70e0e03f62ec968df8ef1abd61da1b/mailContextMenus.js/buggy/mail/base/content/mailContextMenus.js