diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-06 00:42:04 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-01-06 00:42:04 +0800 |
commit | 11d2490e5a1cb82e4fab263db199e666764840df (patch) | |
tree | 93b5aadcafa0ca93ae561994ca720a63e9d84e4b /mail/em-composer-utils.c | |
parent | 931e783cee9054b6fbac4e5f8deb7c121bf15c1a (diff) | |
download | gsoc2013-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.c | 5 |
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; } |