rem: UpdateMailToolbar("reroot folder in stand alone window"); 
add: UpdateMailToolbar("reroot folder in stand alone window");   var observerService = Components.classes["@mozilla.org/observer-service;1"].getService(Components.interfaces.nsIObserverService); observerService.notifyObservers(window, "mail:setupToolbarItems", uri); 
context: function RerootFolderForStandAlone(uri){  gCurrentFolderUri = uri;  // create new folder view  CreateView(null);    // now do the work to load the appropriate message  if (gNextMessageAfterLoad) {    var type = gNextMessageAfterLoad;    gNextMessageAfterLoad = null;    LoadMessageByNavigationType(type);  }    SetUpToolbarButtons(gCurrentFolderUri);    UpdateMailToolbar("reroot folder in stand alone window");   } 
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/6bc66eea66c710f351ef24256231d254a466cbfb/messageWindow.js/buggy/mailnews/base/resources/content/messageWindow.js