add:  updateIconSize(gPreviousIconSize == "small"); updateToolbarMode(gPreviousMode);  
context: function onCancel(){  // restore the saved toolbarset for each customizeable toolbar  unwrapToolbarItems(false);  var toolbar = gToolbox.firstChild;  while (toolbar) {    if (isCustomizableToolbar(toolbar)) {      if (!toolbar.hasAttribute("customindex")) {        var previousset = toolbar.getAttribute("previousset");        if (previousset)        {          toolbar.currentSet = previousset;        }      }    }    toolbar = toolbar.nextSibling;  }  repositionDialog();  gToolboxChanged = true;  return onAccept(); // we restored the default toolbar, act like a normal accept event now}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/d311fe8c6f68546bc14903ce4c8aef7fff7b16a2/customizeToolbar.js/buggy/mail/base/content/customizeToolbar.js