aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-09-07 22:18:03 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-09-14 20:09:02 +0800
commit62512760f6a4503b1c7aefa653dc3c787eb2710a (patch)
treeef1869bf71440d4f46c0338e320ed18746c7cfb2
parentd427dce278c5df85b9bd6119b7582254f12c3a09 (diff)
downloadgsoc2013-evolution-62512760f6a4503b1c7aefa653dc3c787eb2710a.tar.gz
gsoc2013-evolution-62512760f6a4503b1c7aefa653dc3c787eb2710a.tar.zst
gsoc2013-evolution-62512760f6a4503b1c7aefa653dc3c787eb2710a.zip
Bug #657611 - Hidden error of invalid attendee on send
-rw-r--r--composer/e-msg-composer.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/composer/e-msg-composer.c b/composer/e-msg-composer.c
index 157f9b6387..22245eac5d 100644
--- a/composer/e-msg-composer.c
+++ b/composer/e-msg-composer.c
@@ -3590,6 +3590,8 @@ msg_composer_send_cb (EMsgComposer *composer,
g_warn_if_fail (message == NULL);
async_context_free (context);
g_error_free (error);
+
+ gtk_window_present (GTK_WINDOW (composer));
return;
}
@@ -3601,6 +3603,8 @@ msg_composer_send_cb (EMsgComposer *composer,
error->message, NULL);
async_context_free (context);
g_error_free (error);
+
+ gtk_window_present (GTK_WINDOW (composer));
return;
}
@@ -3639,8 +3643,10 @@ e_msg_composer_send (EMsgComposer *composer)
/* This gives the user a chance to abort the send. */
g_signal_emit (composer, signals[PRESEND], 0, &proceed_with_send);
- if (!proceed_with_send)
+ if (!proceed_with_send) {
+ gtk_window_present (GTK_WINDOW (composer));
return;
+ }
context = g_slice_new0 (AsyncContext);
context->activity = e_composer_activity_new (composer);