From: William Morgan Date: Mon, 13 Apr 2009 14:53:35 +0000 (-0700) Subject: trivial: display attachment sizes X-Git-Url: https://git.notmuchmail.org/git?a=commitdiff_plain;h=ddee66da21dab85102fbd1b1c475eeaf83287e5d;p=sup trivial: display attachment sizes --- diff --git a/lib/sup/message-chunks.rb b/lib/sup/message-chunks.rb index b372692..63fe184 100644 --- a/lib/sup/message-chunks.rb +++ b/lib/sup/message-chunks.rb @@ -108,7 +108,7 @@ EOS if expandable? "Attachment: #{filename} (#{lines.length} lines)" else - "Attachment: #{filename} (#{content_type})" + "Attachment: #{filename} (#{content_type}; #{@raw_content.size.to_human_size})" end end