rem: EnableMenuItem("folderPaneContext-rename", !isServer); 
add: var folder = GetMsgFolderFromNode(targetFolder); EnableMenuItem("folderPaneContext-rename", !isServer && folder.isCommandEnabled("cmd_renameFolder")); 
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);  EnableMenuItem("folderPaneContext-rename", !isServer);  if(canRename)  {    SetMenuItemLabel("folderPaneContext-rename", gMessengerBundle.getString("renameFolder"));  }}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/e85024b972cea634ec292bb528dbe89dc378d32e/mailContextMenus.js/clean/mailnews/base/resources/content/mailContextMenus.js