rem: selectedItem.getAttribute("internalName") != KEY_DEFAULT_THEME); 
add: selectedItem.getAttribute("internalName") != gDefaultTheme); 
context:   isCommandEnabled: function (aCommand)  {    var selectedItem = gExtensionsView.selected;    switch (aCommand) {    case "cmd_close":      return true;    case "cmd_useTheme":      return selectedItem &&             !selectedItem.disabled &&             selectedItem.getAttribute("toBeUninstalled") != "true" &&             gCurrentTheme != selectedItem.getAttribute("internalName");    case "cmd_options":      return selectedItem &&             !selectedItem.disabled &&             selectedItem.getAttribute("toBeUninstalled") != "true" &&             selectedItem.getAttribute("optionsURL") != "";    case "cmd_about":      return selectedItem &&              selectedItem.getAttribute("toBeInstalled") != "true" &&             (selectedItem.disabled ? selectedItem.getAttribute("aboutURL") == "" : true);    case "cmd_homepage":      return selectedItem && selectedItem.getAttribute("homepageURL") != "";    case "cmd_uninstall":      if (gWindowState != "extensions") {        // uninstall is only available if the selected item isn't the         // default theme.        return (selectedItem &&                 selectedItem.getAttribute("internalName") != KEY_DEFAULT_THEME);      }      return selectedItem &&             selectedItem.getAttribute("toBeUninstalled") != "true" &&             selectedItem.getAttribute("toBeInstalled") != "true" &&             selectedItem.getAttribute("locked") != "true" &&             canWriteToLocation(selectedItem);    case "cmd_update":      return !selectedItem ||             (selectedItem &&              selectedItem.getAttribute("toBeUninstalled") != "true" &&              selectedItem.getAttribute("toBeInstalled") != "true") &&              canWriteToLocation(selectedItem);    case "cmd_reallyEnable":    // controls whether to show Enable or Disable in extensions' context menu      return selectedItem &&              selectedItem.disabled &&              !gExtensionManager.inSafeMode;    case "cmd_enable":    //controls wheter the Enable/Disable menuitem is enabled      return selectedItem &&              selectedItem.disabled &&              !gExtensionManager.inSafeMode &&              selectedItem.getAttribute("toBeUninstalled") != "true" &&             selectedItem.getAttribute("compatible") != "false";    case "cmd_disable":      return selectedItem &&             !selectedItem.disabled &&             selectedItem.getAttribute("toBeUninstalled") != "true" &&              selectedItem.getAttribute("toBeInstalled") != "true";    case "cmd_movetop":      return selectedItem && (gExtensionsView.children[0] != selectedItem);    case "cmd_moveup":      return selectedItem && (gExtensionsView.children[0] != selectedItem);    case "cmd_movedn":      var children = gExtensionsView.children;      return selectedItem && (children[children.length-1] != selectedItem);#ifndef MOZ_PHOENIX    case "cmd_install":      return true;   #endif    }    return false;  },
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/96622a42503c589e0b1fd4201bd2de6e0613feda/extensions.js/clean/toolkit/mozapps/extensions/content/extensions.js