diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2013-08-30 22:13:44 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-08-30 22:13:44 +0800 |
commit | 09199c0a59439fd623af0b60f98fac9cbce4c2a3 (patch) | |
tree | 537a35d787a25aaf69da325973c67fc4cca622e6 /e-util/e-attachment.c | |
parent | df02f0d20a5f59fbc201444a025196c78ccddeb5 (diff) | |
download | gsoc2013-evolution-09199c0a59439fd623af0b60f98fac9cbce4c2a3.tar.gz gsoc2013-evolution-09199c0a59439fd623af0b60f98fac9cbce4c2a3.tar.zst gsoc2013-evolution-09199c0a59439fd623af0b60f98fac9cbce4c2a3.zip |
Fix "Open with" problemHEADarchive-integration
"Open with" functions are broken after I integrated archives extraction into
attachment saving. This commit fixes the problem caused by the commit:
c44b5c5cd564134755eba7904b2efb894c2ea513.
Diffstat (limited to 'e-util/e-attachment.c')
-rw-r--r-- | e-util/e-attachment.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/e-util/e-attachment.c b/e-util/e-attachment.c index 4c7a0e6ef6..0ad9076134 100644 --- a/e-util/e-attachment.c +++ b/e-util/e-attachment.c @@ -3387,6 +3387,10 @@ e_attachment_save_async (EAttachment *attachment, save_context = attachment_save_context_new ( attachment, callback, user_data); + /* No task is not allowed. */ + if (!attachment->priv->save_self && !attachment->priv->save_extracted) + attachment->priv->save_self = TRUE; + if (attachment->priv->save_self) save_context->total_tasks++; if (attachment->priv->save_extracted) |