aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
diff options
context:
space:
mode:
authorJon Trowbridge <trow@gnu.org>2001-09-09 12:11:15 +0800
committerJon Trowbridge <trow@src.gnome.org>2001-09-09 12:11:15 +0800
commit56b6ad0e512f3b6bf881b48e8f24bca528cf2d9d (patch)
tree74e359f8b9d7a2764766b542a846221fd7ad4401 /mail/mail-config.h
parent936f363f4fb199da202d9c3e07a68ee369536fb4 (diff)
downloadgsoc2013-evolution-56b6ad0e512f3b6bf881b48e8f24bca528cf2d9d.tar
gsoc2013-evolution-56b6ad0e512f3b6bf881b48e8f24bca528cf2d9d.tar.gz
gsoc2013-evolution-56b6ad0e512f3b6bf881b48e8f24bca528cf2d9d.tar.bz2
gsoc2013-evolution-56b6ad0e512f3b6bf881b48e8f24bca528cf2d9d.tar.lz
gsoc2013-evolution-56b6ad0e512f3b6bf881b48e8f24bca528cf2d9d.tar.xz
gsoc2013-evolution-56b6ad0e512f3b6bf881b48e8f24bca528cf2d9d.tar.zst
gsoc2013-evolution-56b6ad0e512f3b6bf881b48e8f24bca528cf2d9d.zip
Added. Shows a (hopefully) informative dialog warning you that some
2001-09-08 Jon Trowbridge <trow@gnu.org> * mail-callbacks.c (ask_confirm_for_unwanted_html_mail): Added. Shows a (hopefully) informative dialog warning you that some recipients might not want HTML mail (who are listed), and gives the option to cancel sending. (FIXME: The wording of this dialog could use some work.) (composer_get_message): Check if we are sending HTML to someone who might not want it, and raise the dialog if we are. Use our new destination-vector based api when talking to the composer. Touch our destinations here, boosting their use scores. This is the right place for this to happen --- closer to the end of the sending process, where incorrect/artificial use score inflation is less likely to occur. * mail-config.c (config_read): Added /Mail/Format/confirm_unwanted_html key. This flag determines whether or not we want to see the warning dialog when we send HTML mail to contacts who don't want it. Default is TRUE. (mail_config_write_on_exit): Write out the confirm_unwanted_html key. (mail_config_get_confirm_unwanted_html): Added. (mail_config_set_confirm_unwanted_html): Added. svn path=/trunk/; revision=12712
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r--mail/mail-config.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index 76aa3b60cd..d223ba1eda 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -130,6 +130,9 @@ void mail_config_set_paned_size (gint size);
gboolean mail_config_get_send_html (void);
void mail_config_set_send_html (gboolean send_html);
+gboolean mail_config_get_confirm_unwanted_html (void);
+void mail_config_set_confirm_unwanted_html (gboolean html_warning);
+
gboolean mail_config_get_citation_highlight (void);
void mail_config_set_citation_highlight (gboolean);