aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-13 09:47:31 +0000
committerhiro <hiro@ee746299-78ed-0310-b773-934348b2243d>2005-07-13 09:47:31 +0000
commit7fee9806f177a30a9a5430e2faeff2a65e0e8504 (patch)
tree1795e7af591921de4b8ef2690e8fe6860e776115 /src
parent70a2615d616d6c29275cfe836678c03b78f802f4 (diff)
mimeview.c: included missing modification.
git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@428 ee746299-78ed-0310-b773-934348b2243d
Diffstat (limited to 'src')
-rw-r--r--src/mimeview.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/mimeview.c b/src/mimeview.c
index 6c2d0ee6..22232448 100644
--- a/src/mimeview.c
+++ b/src/mimeview.c
@@ -618,13 +618,15 @@ static void mimeview_show_mime_part(MimeView *mimeview, MimeInfo *partinfo)
_("Select an action for the attached file:\n"),
-1);
if (partinfo->filename || partinfo->name)
- g_snprintf(buf, sizeof(buf), "[%s %s (%d bytes)]\n\n",
+ g_snprintf(buf, sizeof(buf), "[%s %s (%s)]\n\n",
partinfo->filename ? partinfo->filename :
partinfo->name,
- partinfo->content_type, partinfo->content_size);
+ partinfo->content_type,
+ to_human_readable(partinfo->content_size));
else
- g_snprintf(buf, sizeof(buf), "[%s (%d bytes)]\n\n",
- partinfo->content_type, partinfo->content_size);
+ g_snprintf(buf, sizeof(buf), "[%s (%s)]\n\n",
+ partinfo->content_type,
+ to_human_readable(partinfo->content_size));
gtk_text_buffer_insert(buffer, &iter, buf, -1);
vbbox = gtk_vbutton_box_new();