aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-mt.c
diff options
context:
space:
mode:
authorChenthill Palanisamy <pchenthill@novell.com>2009-04-13 17:03:55 +0800
committerChenthill Palanisamy <pchen@src.gnome.org>2009-04-13 17:03:55 +0800
commitcecdc505b1a32eef667cd375fb80e42e730b4a9b (patch)
tree8b1879f718ac2cd0f9dca724503a7e69fe3a86f1 /mail/mail-mt.c
parent9896e4f7db7817087b7c18793682a4ab5f7c63e2 (diff)
downloadgsoc2013-evolution-cecdc505b1a32eef667cd375fb80e42e730b4a9b.tar
gsoc2013-evolution-cecdc505b1a32eef667cd375fb80e42e730b4a9b.tar.gz
gsoc2013-evolution-cecdc505b1a32eef667cd375fb80e42e730b4a9b.tar.bz2
gsoc2013-evolution-cecdc505b1a32eef667cd375fb80e42e730b4a9b.tar.lz
gsoc2013-evolution-cecdc505b1a32eef667cd375fb80e42e730b4a9b.tar.xz
gsoc2013-evolution-cecdc505b1a32eef667cd375fb80e42e730b4a9b.tar.zst
gsoc2013-evolution-cecdc505b1a32eef667cd375fb80e42e730b4a9b.zip
Fixes #467659 (bnc)
2009-04-13 Chenthill Palanisamy <pchenthill@novell.com> Fixes #467659 (bnc) * mail/mail-mt.c: * mail/mail-ops.c: Set the description for send mail operation. svn path=/trunk/; revision=37519
Diffstat (limited to 'mail/mail-mt.c')
-rw-r--r--mail/mail-mt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mail/mail-mt.c b/mail/mail-mt.c
index 2fa9969cc0..99d691b1ca 100644
--- a/mail/mail-mt.c
+++ b/mail/mail-mt.c
@@ -508,7 +508,7 @@ mail_msg_idle_cb (void)
static void
mail_msg_proxy (MailMsg *msg)
{
- if (msg->info->desc != NULL) {
+ if (msg->info->desc != NULL && msg->cancel) {
gchar *text = msg->info->desc (msg);
camel_operation_register (msg->cancel);
camel_operation_start (msg->cancel, "%s", text);
@@ -521,7 +521,7 @@ mail_msg_proxy (MailMsg *msg)
mail_disable_stop ();
}
- if (msg->info->desc != NULL) {
+ if (msg->info->desc != NULL && msg->cancel) {
camel_operation_end (msg->cancel);
camel_operation_unregister (msg->cancel);
MAIL_MT_LOCK (mail_msg_lock);