aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/e-mail-shell-settings.c4
-rw-r--r--modules/mail/em-composer-prefs.c7
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",