* mu: try harder to create temp files for images (so we can show them in mu4e)

This commit is contained in:
djcb
2012-09-16 23:10:23 +03:00
parent 7cb695b787
commit 55f7ecd362
2 changed files with 7 additions and 4 deletions

View File

@ -226,6 +226,8 @@ get_temp_file_maybe (MuMsg *msg, MuMsgPart *part, MuMsgOptions opts)
{
char *tmp, *tmpfile;
opts |= MU_MSG_OPTION_USE_EXISTING;
if (!(opts & MU_MSG_OPTION_EXTRACT_IMAGES) ||
g_ascii_strcasecmp (part->type, "image") != 0)
return NULL;