diff options
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r-- | mail/mail-config.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c index c8dc7cfa60..64cd4c7f9a 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -2954,6 +2954,7 @@ mail_config_signature_set_filename (MailConfigSignature *sig, const gchar *filen delete_unused_signature_file (old_filename); g_free (old_filename); } + mail_config_signature_write (sig); } void @@ -2979,6 +2980,7 @@ mail_config_signature_set_random (MailConfigSignature *sig, gboolean random) mail_config_signature_emit_event (MAIL_CONFIG_SIG_EVENT_RANDOM_OFF, sig); } sig->random = random; + mail_config_signature_write (sig); } } @@ -3035,3 +3037,13 @@ mail_config_signature_run_script (gchar *script) waitpid (pid, &status, 0); } } + +void +mail_config_signature_set_html (MailConfigSignature *sig, gboolean html) +{ + if (sig->html != html) { + sig->html = html; + mail_config_signature_write (sig); + mail_config_signature_emit_event (MAIL_CONFIG_SIG_EVENT_HTML_CHANGED, sig); + } +} |