diff options
author | Milan Crha <mcrha@redhat.com> | 2011-01-06 00:42:04 +0800 |
---|---|---|
committer | Rodrigo Moya <rodrigo@gnome-db.org> | 2011-06-30 00:41:15 +0800 |
commit | 6e9c9986ac569a4e759f2102ec87e7614c8c00cc (patch) | |
tree | a522dd3298d78110eca93804161aeb231ec6ceba /modules/mail | |
parent | 6d1ea26566fc54234f0190aff344acd8c9bd7e30 (diff) | |
download | gsoc2013-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 'modules/mail')
-rw-r--r-- | modules/mail/e-mail-shell-settings.c | 4 | ||||
-rw-r--r-- | modules/mail/em-composer-prefs.c | 7 |
2 files changed, 11 insertions, 0 deletions
diff --git a/modules/mail/e-mail-shell-settings.c b/modules/mail/e-mail-shell-settings.c index 18e8407bba..9f024696dd 100644 --- a/modules/mail/e-mail-shell-settings.c +++ b/modules/mail/e-mail-shell-settings.c @@ -289,6 +289,10 @@ e_mail_shell_settings_init (EShellBackend *shell_backend) "/apps/evolution/mail/prompts/empty_subject"); e_shell_settings_install_property_for_key ( + "composer-prompt-send-invalid-recip", + "/apps/evolution/mail/prompts/send_invalid_recip"); + + e_shell_settings_install_property_for_key ( "composer-reply-start-bottom", "/apps/evolution/mail/composer/reply_start_bottom"); diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c index b4d0513edb..e0dd2f17fd 100644 --- a/modules/mail/em-composer-prefs.c +++ b/modules/mail/em-composer-prefs.c @@ -411,6 +411,13 @@ em_composer_prefs_construct (EMComposerPrefs *prefs, G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE); + widget = e_builder_get_widget (prefs->builder, "chkPromptSendInvalidRecip"); + g_object_bind_property ( + shell_settings, "composer-prompt-send-invalid-recip", + widget, "active", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); + widget = e_builder_get_widget (prefs->builder, "chkAutoSmileys"); g_object_bind_property ( shell_settings, "composer-magic-smileys", |