* mu-msg-view: only open local (cached) files from attachments
This commit is contained in:
@ -76,11 +76,11 @@ static void
|
|||||||
on_attach_activated (MuMsgView *self, guint partnum, MuMsg *msg)
|
on_attach_activated (MuMsgView *self, guint partnum, MuMsg *msg)
|
||||||
{
|
{
|
||||||
gchar* filepath;
|
gchar* filepath;
|
||||||
|
|
||||||
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