rem: var canRename = (targetFolder.getAttribute('CanRename') == "true"); 
add: var folderOutliner = GetFolderOutliner(); var canRename = GetFolderAttribute(folderOutliner, folderResource, "CanRename") == "true"; 
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 && (specialFolder == "none") && canRename);  var folder = GetMsgFolderFromNode(targetFolder);  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/1e0e99191d9d4f4f04fb4061b0ba91f347b8986f/mailContextMenus.js/clean/mailnews/base/resources/content/mailContextMenus.js