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
committerMilan Crha <mcrha@redhat.com>2011-01-06 00:42:04 +0800
commit11d2490e5a1cb82e4fab263db199e666764840df (patch)
tree93b5aadcafa0ca93ae561994ca720a63e9d84e4b /mail/em-composer-utils.c
parent931e783cee9054b6fbac4e5f8deb7c121bf15c1a (diff)
downloadgsoc2013-evolution-11d2490e5a1cb82e4fab263db199e666764840df.tar.gz
gsoc2013-evolution-11d2490e5a1cb82e4fab263db199e666764840df.tar.zst
gsoc2013-evolution-11d2490e5a1cb82e4fab263db199e666764840df.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;
}