* mu-msg-view: only open local (cached) files from attachments
This commit is contained in:
@ -80,7 +80,7 @@ on_attach_activated (MuMsgView *self, guint partnum, MuMsg *msg)
|
|||||||
filepath = mu_msg_part_filepath_cache (msg, partnum);
|
filepath = mu_msg_part_filepath_cache (msg, partnum);
|
||||||
if (filepath) {
|
if (filepath) {
|
||||||
mu_msg_part_save (msg, filepath, partnum, FALSE, TRUE);
|
mu_msg_part_save (msg, filepath, partnum, FALSE, TRUE);
|
||||||
mu_util_play (filepath);
|
mu_util_play (filepath, TRUE, FALSE);
|
||||||
g_free (filepath);
|
g_free (filepath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user