From 17eda225c3536ce2667416492df461d343fc06c9 Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Thu, 27 Jan 2011 17:30:41 -0500 Subject: Bug 640760 - New mail "stuck" if missing attachment dialog cancelled --- mail/em-composer-utils.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c index 2668e2f1e0..6929f7069d 100644 --- a/mail/em-composer-utils.c +++ b/mail/em-composer-utils.c @@ -402,6 +402,9 @@ composer_presend_check_plugins (EMsgComposer *composer) /* A non-NULL value for this key means the check failed. */ data = g_object_get_data (G_OBJECT (composer), "presend_check_status"); + /* Clear the value in case we have to run these checks again. */ + g_object_set_data (G_OBJECT (composer), "presend_check_status", NULL); + return (data == NULL); } -- cgit v1.2.3