aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-09-07 22:18:03 +0800
committerMilan Crha <mcrha@redhat.com>2011-09-07 22:19:06 +0800
commit1864d169f229e8da2de4e9043355f9b7cd6ebd41 (patch)
tree740868697f868cf9ad308c45941d53c878c68617
parent5e544814c7855527c754c19235b16b028494ca32 (diff)
downloadgsoc2013-evolution-1864d169f229e8da2de4e9043355f9b7cd6ebd41.tar
gsoc2013-evolution-1864d169f229e8da2de4e9043355f9b7cd6ebd41.tar.gz
gsoc2013-evolution-1864d169f229e8da2de4e9043355f9b7cd6ebd41.tar.bz2
gsoc2013-evolution-1864d169f229e8da2de4e9043355f9b7cd6ebd41.tar.lz
gsoc2013-evolution-1864d169f229e8da2de4e9043355f9b7cd6ebd41.tar.xz
gsoc2013-evolution-1864d169f229e8da2de4e9043355f9b7cd6ebd41.tar.zst
gsoc2013-evolution-1864d169f229e8da2de4e9043355f9b7cd6ebd41.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);