aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-composer-utils.c')
-rw-r--r--mail/em-composer-utils.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/mail/em-composer-utils.c b/mail/em-composer-utils.c
index fa55a89060..5dfa1ffa05 100644
--- a/mail/em-composer-utils.c
+++ b/mail/em-composer-utils.c
@@ -309,12 +309,13 @@ composer_presend_check_recipients (EMsgComposer *composer)
}
if (invalid_addrs) {
- if (e_alert_run_dialog_for_args (
+ if (!em_utils_prompt_user (
GTK_WINDOW (composer),
+ "/apps/evolution/mail/prompts/send_invalid_recip",
strstr (invalid_addrs->str, ", ") ?
"mail:ask-send-invalid-recip-multi" :
"mail:ask-send-invalid-recip-one",
- invalid_addrs->str, NULL) == GTK_RESPONSE_CANCEL) {
+ invalid_addrs->str, NULL)) {
g_string_free (invalid_addrs, TRUE);
goto finished;
}