rem: function setTitleFromFolder(msgfolder) 
add: function setTitleFromFolder(msgfolder, subject) 
context: function setTitleFromFolder(msgfolder){    if (!msgfolder) return;    var title;    var server = msgfolder.server;    if (msgfolder.isServer) {            // <hostname>            title = server.hostName;    }    else {        var middle;        var end;        if (server.type == "nntp") {            // <folder> on <hostname>            middle = Bundle.GetStringFromName("titleNewsPreHost");            end = server.hostName;        } else {            var identities = accountManager.GetIdentitiesForServer(server);            var identity = identities.QueryElementAt(0, Components.interfaces.nsIMsgIdentity);                        // <folder> for <email>            middle = Bundle.GetStringFromName("titleMailPreHost");            end = identity.email;        }        title = msgfolder.prettyName + " " + middle + " " + end;    }        title += " - " + BrandBundle.GetStringFromName("brandShortName");        window.title = title;}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/4e7f4db46b939616fd6fc5f2fab3a28a47de3159/commandglue.js/buggy/mailnews/base/resources/content/commandglue.js