add:  var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService); observerService.Notify(null, "skin-selected", null); 
context: function applySkin(){  var tree = document.getElementById("skinsTree");  var selectedSkinItem = tree.selectedItems[0];  var skinName = selectedSkinItem.getAttribute("name");  // XXX - this sucks and should only be temporary.  kPrefSvc.SetUnicharPref("general.skins.selectedSkin", skinName);  tree.selectItem(selectedSkinItem);  var promptService = Components.classes["@mozilla.org/embedcomp/prompt-service;1"].getService(Components.interfaces.nsIPromptService);  try {    var strbundle = srGetStrBundle("chrome://navigator/locale/navigator.properties");    var brandbundle = srGetStrBundle("chrome://global/locale/brand.properties");  }  catch(e) {    return;  }    if (promptService) {    var dialogTitle = strbundle.GetStringFromName("switchskinstitle");    var brandName = brandbundle.GetStringFromName("brandShortName");    var msg = strbundle.formatStringFromName("switchskins",                                             [brandName],                                             1);    promptService.alert(window, dialogTitle, msg);  }}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/b81b99421c37438de21ef806557c66f1370f88d2/pref-themes.js/clean/suite/common/pref/pref-themes.js