* mu extract: display size of mime parts

(updates in mu-cmd-extract.c, mu-msg-part.[ch])
This commit is contained in:
djcb
2011-11-18 12:20:42 +02:00
parent ff4ca20a6f
commit dc7b713c48
3 changed files with 57 additions and 27 deletions

View File

@ -319,6 +319,14 @@ each_part_show (MuMsg *msg, MuMsgPart *part, gboolean color)
color_maybe (MU_COLOR_MAGENTA);
mu_util_print_encoded (
"[%s]", part->disposition ? part->disposition : "<none>");
/* size */
if (part->size > 0) {
color_maybe (MU_COLOR_CYAN);
g_print (" (%s)", mu_str_size_s (part->size));
}
color_maybe (MU_COLOR_DEFAULT);
fputs ("\n", stdout);
}