aboutsummaryrefslogtreecommitdiffstats
path: root/modules
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 /modules
parent931e783cee9054b6fbac4e5f8deb7c121bf15c1a (diff)
downloadgsoc2013-evolution-11d2490e5a1cb82e4fab263db199e666764840df.tar
gsoc2013-evolution-11d2490e5a1cb82e4fab263db199e666764840df.tar.gz
gsoc2013-evolution-11d2490e5a1cb82e4fab263db199e666764840df.tar.bz2
gsoc2013-evolution-11d2490e5a1cb82e4fab263db199e666764840df.tar.lz
gsoc2013-evolution-11d2490e5a1cb82e4fab263db199e666764840df.tar.xz
gsoc2013-evolution-11d2490e5a1cb82e4fab263db199e666764840df.tar.zst
gsoc2013-evolution-11d2490e5a1cb82e4fab263db199e666764840df.zip
Bug #637906 - Don't ask again when sending to non-mail recipients
Diffstat (limited to 'modules')
-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",