* update for attachment checking changes

This commit is contained in:
djcb
2012-08-09 11:45:46 +03:00
parent 51fe7fcae8
commit b3760740f8
6 changed files with 6 additions and 7 deletions

View File

@ -185,7 +185,7 @@ ignore_part (MuMsg *msg, MuMsgPart *part, SaveData *sd)
/* filter out non-attachments? */
if (!sd->opts->save_all &&
!(mu_msg_part_looks_like_attachment (part, TRUE)))
!(mu_msg_part_maybe_attachment (part)))
return TRUE;
return FALSE;

View File

@ -417,7 +417,7 @@ each_part (MuMsg *msg, MuMsgPart *part, GSList **attlist)
GError *err;
/* exclude things that don't look like proper attachments */
if (!mu_msg_part_looks_like_attachment(part, FALSE))
if (!mu_msg_part_maybe_attachment(part))
return;
err = NULL;

View File

@ -65,7 +65,7 @@ each_part (MuMsg *msg, MuMsgPart *part, gchar **attach)
{
char *fname, *tmp;
if (!mu_msg_part_looks_like_attachment (part, TRUE))
if (!mu_msg_part_maybe_attachment (part))
return;
fname = mu_msg_part_get_filename (part, FALSE);