rem: attachment.name = msgCompose.AttachmentPrettyName(attachment.url); 
add: attachment.name = gMsgCompose.AttachmentPrettyName(attachment.url); 
context: function AddAttachment(attachment){  if (attachment && attachment.url)  {    var bucketBody = document.getElementById("bucketBody");    var item = document.createElement("treeitem");    var row = document.createElement("treerow");    var cell = document.createElement("treecell");    if (!attachment.name)      attachment.name = msgCompose.AttachmentPrettyName(attachment.url);    cell.setAttribute("label", attachment.name);    //use for display only    cell.attachment = attachment;   //full attachment object stored here    cell.setAttribute("tooltip", "aTooltip");    try {      cell.setAttribute("tooltiptext", unescape(attachment.url));    }    catch(e) {cell.setAttribute("tooltiptext", attachment.url);}    cell.setAttribute("class", "treecell-iconic");    cell.setAttribute('src', "moz-icon:" + attachment.url);    row.appendChild(cell);    item.appendChild(row);    bucketBody.appendChild(item);  }}
meta: 9421	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/9421/6d52592e83bce2a07c0c6646de9e9c15df155849/MsgComposeCommands.js/buggy/mailnews/compose/resources/content/MsgComposeCommands.js