rem: var attachmentView = document.createElement("mail-attachment"); attachmentView.setAttribute("label", attachment.displayName); setApplicationIconForAttachment(attachment, attachmentView); 
add: if (gShowLargeAttachmentView) { attachmentView.setAttribute("largeView", "true"); attachmentView.setAttribute("orient", "vertical"); }  setApplicationIconForAttachment(attachment, attachmentView, gShowLargeAttachmentView); 
context: function displayAttachmentsForExpandedView(){  var numAttachments = currentAttachments.length;  if (numAttachments > 0 && !gBuildAttachmentsForCurrentMsg)  {    var attachmentList = document.getElementById('attachmentList');    for (index in currentAttachments)    {      var attachment = currentAttachments[index];      // create a new attachment widget. set the label, set the       // moz-icon img src      var attachmentView = document.createElement("mail-attachment");      attachmentView.setAttribute("label", attachment.displayName);      setApplicationIconForAttachment(attachment, attachmentView);      attachmentView.setAttribute("tooltip", "attachmentListTooltip");      attachmentView.attachment = cloneAttachment(attachment);      attachmentView.setAttribute("attachmentUrl", attachment.url);      attachmentView.setAttribute("attachmentContentType", attachment.contentType);      attachmentView.setAttribute("attachmentUri", attachment.uri);      var item = attachmentList.appendChild(attachmentView);    } // for each attachment    gBuildAttachmentsForCurrentMsg = true;  }  var expandedAttachmentBox = document.getElementById('attachmentView');  expandedAttachmentBox.collapsed = numAttachments <= 0;}
meta: 10234	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/10234/3cd4a0e822d09bf82902224282243570892b9405/msgHdrViewOverlay.js/clean/mail/base/content/msgHdrViewOverlay.js