rem:   buildPalette();  
context: function restoreDefaultSet(){  // Restore the defaultset for fixed toolbars.  var toolbar = gToolbox.firstChild;  while (toolbar) {    if (isCustomizableToolbar(toolbar)) {      if (!toolbar.hasAttribute("customindex")) {        var defaultSet = toolbar.getAttribute("defaultset");        if (defaultSet)          toolbar.currentSet = defaultSet;      }    }    toolbar = toolbar.nextSibling;  }  // Remove all of the customized toolbars.  var child = gToolbox.lastChild;  while (child) {    if (child.hasAttribute("customindex")) {      var thisChild = child;      child = child.previousSibling;      gToolbox.removeChild(thisChild);    } else {      child = child.previousSibling;    }  }    // Now re-wrap the items on the toolbar.  wrapToolbarItems();    // Now rebuild the palette.  buildPalette();    repositionDialog();  gToolboxChanged = true;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/65d2f531bf99c2808881428d59cbea2e08cf47e5/customizeToolbar.js/buggy/toolkit/content/customizeToolbar.js