aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-composer-utils.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2011-01-06 00:42:04 +0800
committerRodrigo Moya <rodrigo@gnome-db.org>2011-06-30 00:41:15 +0800
commit6e9c9986ac569a4e759f2102ec87e7614c8c00cc (patch)
treea522dd3298d78110eca93804161aeb231ec6ceba /mail/em-composer-utils.c
parent6d1ea26566fc54234f0190aff344acd8c9bd7e30 (diff)
downloadgsoc2013-evolution-6e9c9986ac569a4e759f2102ec87e7614c8c00cc.tar.gz
gsoc2013-evolution-6e9c9986ac569a4e759f2102ec87e7614c8c00cc.tar.zst
gsoc2013-evolution-6e9c9986ac569a4e759f2102ec87e7614c8c00cc.zip
Bug #637906 - Don't ask again when sending to non-mail recipients
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;
}