Revision 427 src/mimeview.c
| mimeview.c (revision 427) | ||
|---|---|---|
| 497 | 497 |
gchar *name; |
| 498 | 498 |
|
| 499 | 499 |
mime_type = partinfo->content_type ? partinfo->content_type : ""; |
| 500 |
size = to_human_readable(partinfo->size); |
|
| 500 |
size = to_human_readable(partinfo->content_size);
|
|
| 501 | 501 |
name = get_part_name(partinfo); |
| 502 | 502 |
|
| 503 | 503 |
gtk_tree_store_append(mimeview->store, iter, parent); |
| ... | ... | |
| 621 | 621 |
g_snprintf(buf, sizeof(buf), "[%s %s (%d bytes)]\n\n", |
| 622 | 622 |
partinfo->filename ? partinfo->filename : |
| 623 | 623 |
partinfo->name, |
| 624 |
partinfo->content_type, partinfo->size); |
|
| 624 |
partinfo->content_type, partinfo->content_size);
|
|
| 625 | 625 |
else |
| 626 | 626 |
g_snprintf(buf, sizeof(buf), "[%s (%d bytes)]\n\n", |
| 627 |
partinfo->content_type, partinfo->size); |
|
| 627 |
partinfo->content_type, partinfo->content_size);
|
|
| 628 | 628 |
gtk_text_buffer_insert(buffer, &iter, buf, -1); |
| 629 | 629 |
|
| 630 | 630 |
vbbox = gtk_vbutton_box_new(); |
Also available in: Unified diff