aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTing-Wei Lan <lantw44@gmail.com>2013-08-30 22:13:44 +0800
committerLAN-TW <lantw44@gmail.com>2013-08-30 22:13:44 +0800
commit09199c0a59439fd623af0b60f98fac9cbce4c2a3 (patch)
tree537a35d787a25aaf69da325973c67fc4cca622e6
parentdf02f0d20a5f59fbc201444a025196c78ccddeb5 (diff)
downloadgsoc2013-evolution-09199c0a59439fd623af0b60f98fac9cbce4c2a3.tar
gsoc2013-evolution-09199c0a59439fd623af0b60f98fac9cbce4c2a3.tar.gz
gsoc2013-evolution-09199c0a59439fd623af0b60f98fac9cbce4c2a3.tar.bz2
gsoc2013-evolution-09199c0a59439fd623af0b60f98fac9cbce4c2a3.tar.lz
gsoc2013-evolution-09199c0a59439fd623af0b60f98fac9cbce4c2a3.tar.xz
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.
-rw-r--r--e-util/e-attachment.c4
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)