* mu-msg-view: only open local (cached) files from attachments

This commit is contained in:
Dirk-Jan C. Binnema 2011-01-11 23:25:30 +02:00
parent 439e252e8e
commit 514b680b6a
1 changed files with 2 additions and 2 deletions

View File

@ -76,11 +76,11 @@ static void
on_attach_activated (MuMsgView *self, guint partnum, MuMsg *msg)
{
gchar* filepath;
filepath = mu_msg_part_filepath_cache (msg, partnum);
if (filepath) {
mu_msg_part_save (msg, filepath, partnum, FALSE, TRUE);
mu_util_play (filepath);
mu_util_play (filepath, TRUE, FALSE);
g_free (filepath);
}
}