aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.h
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-04-11 05:23:02 +0800
committerDan Winship <danw@src.gnome.org>2002-04-11 05:23:02 +0800
commitb10ec13f8b5e2cd92d111c31fcd7d4d854f55474 (patch)
treed25f3eb96811bd116bff80a4473f6984aa14381b /mail/mail-config.h
parentbf2a13c1efac6b338dbc6e831ce68a16b2892797 (diff)
downloadgsoc2013-evolution-b10ec13f8b5e2cd92d111c31fcd7d4d854f55474.tar.gz
gsoc2013-evolution-b10ec13f8b5e2cd92d111c31fcd7d4d854f55474.tar.zst
gsoc2013-evolution-b10ec13f8b5e2cd92d111c31fcd7d4d854f55474.zip
Handle the X-Mailer display style. (There is currently no GUI for
* mail-config.c (config_read, mail_config_write, mail_config_get_x_mailer_display_style, mail_config_set_x_mailer_display_style): Handle the X-Mailer display style. (There is currently no GUI for configuring this.) * mail-format.c (write_headers, write_xmailer_header): Show X-Mailer/User-Agent (and Rupert's stamp of approval) as appropriate. svn path=/trunk/; revision=16430
Diffstat (limited to 'mail/mail-config.h')
-rw-r--r--mail/mail-config.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/mail/mail-config.h b/mail/mail-config.h
index 917924d025..4d34374d9a 100644
--- a/mail/mail-config.h
+++ b/mail/mail-config.h
@@ -114,6 +114,13 @@ typedef enum {
MAIL_CONFIG_NOTIFY_PLAY_SOUND,
} MailConfigNewMailNotify;
+typedef enum {
+ MAIL_CONFIG_XMAILER_NONE = 0,
+ MAIL_CONFIG_XMAILER_EVO = 1,
+ MAIL_CONFIG_XMAILER_OTHER = 2,
+ MAIL_CONFIG_XMAILER_RUPERT_APPROVED = 4
+} MailConfigXMailerDisplayStyle;
+
typedef struct {
char *name;
guint32 color;
@@ -234,6 +241,9 @@ void mail_config_set_new_mail_notify (MailConfigNewMailNotify
const char *mail_config_get_new_mail_notify_sound_file (void);
void mail_config_set_new_mail_notify_sound_file (const char *filename);
+MailConfigXMailerDisplayStyle mail_config_get_x_mailer_display_style (void);
+void mail_config_set_x_mailer_display_style (MailConfigXMailerDisplayStyle style);
+
const char *mail_config_get_default_charset (void);
void mail_config_set_default_charset (const char *charset);