diff options
author | Milan Crha <mcrha@redhat.com> | 2011-11-14 22:24:33 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2011-11-14 22:24:33 +0800 |
commit | 78a2a77d1079c4790eeef64aa42b034dab172292 (patch) | |
tree | c5fb4391864ab2784fe293f991d111888c77217b /modules | |
parent | 6f391134f0c1c2019bd9c58fced43e0b46c87ab8 (diff) | |
download | gsoc2013-evolution-78a2a77d1079c4790eeef64aa42b034dab172292.tar gsoc2013-evolution-78a2a77d1079c4790eeef64aa42b034dab172292.tar.gz gsoc2013-evolution-78a2a77d1079c4790eeef64aa42b034dab172292.tar.bz2 gsoc2013-evolution-78a2a77d1079c4790eeef64aa42b034dab172292.tar.lz gsoc2013-evolution-78a2a77d1079c4790eeef64aa42b034dab172292.tar.xz gsoc2013-evolution-78a2a77d1079c4790eeef64aa42b034dab172292.tar.zst gsoc2013-evolution-78a2a77d1079c4790eeef64aa42b034dab172292.zip |
Bug #662914 - Reply to gnupg signed mails should be signed
Diffstat (limited to 'modules')
-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 b0d5f1eed8..6b0cee6826 100644 --- a/modules/mail/e-mail-shell-settings.c +++ b/modules/mail/e-mail-shell-settings.c @@ -278,6 +278,10 @@ e_mail_shell_settings_init (EShellBackend *shell_backend) "/apps/evolution/mail/composer/group_reply_to_list"); e_shell_settings_install_property_for_key ( + "composer-sign-reply-if-signed", + "/apps/evolution/mail/composer/sign_reply_if_signed"); + + e_shell_settings_install_property_for_key ( "composer-prompt-only-bcc", "/apps/evolution/mail/prompts/only_bcc"); diff --git a/modules/mail/em-composer-prefs.c b/modules/mail/em-composer-prefs.c index 8453b88540..4f4c0d15ac 100644 --- a/modules/mail/em-composer-prefs.c +++ b/modules/mail/em-composer-prefs.c @@ -456,6 +456,13 @@ em_composer_prefs_construct (EMComposerPrefs *prefs, G_BINDING_BIDIRECTIONAL | G_BINDING_SYNC_CREATE); + widget = e_builder_get_widget (prefs->builder, "chkSignReplyIfSigned"); + g_object_bind_property ( + shell_settings, "composer-sign-reply-if-signed", + widget, "active", + G_BINDING_BIDIRECTIONAL | + G_BINDING_SYNC_CREATE); + widget = e_builder_get_widget (prefs->builder, "chkTopSignature"); g_object_bind_property ( shell_settings, "composer-top-signature", |