aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2002-03-27 06:51:26 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2002-03-27 06:51:26 +0800
commit3cdefcba37d640670c9bb6e290bc6f55229fac7a (patch)
tree1bbcf2be6e7ea597b467900e5de59c469841f6e8 /mail/mail-config.c
parent81e7580909f5eebdfa6af5ea30ffd5d08913b9e4 (diff)
downloadgsoc2013-evolution-3cdefcba37d640670c9bb6e290bc6f55229fac7a.tar.gz
gsoc2013-evolution-3cdefcba37d640670c9bb6e290bc6f55229fac7a.tar.zst
gsoc2013-evolution-3cdefcba37d640670c9bb6e290bc6f55229fac7a.zip
Sync with yet-another-mail-config branch.
2002-03-26 Jeffrey Stedfast <fejj@ximian.com> Sync with yet-another-mail-config branch. * mail-composer-prefs.c: Updated to get the right widgets and whatnot. Also updated to tell the evolution-config-control that stuff has changed. * mail-preferences.c: Updated to get the right widgets and whatnot. Also updated to tell the evolution-config-control that stuff has changed. * mail-accounts.etspec: New file needed by mail-accounts.c svn path=/trunk/; revision=16257
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c23
1 files changed, 23 insertions, 0 deletions
diff --git a/mail/mail-config.c b/mail/mail-config.c
index e6396ab7cf..145f70868f 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -110,6 +110,7 @@ typedef struct {
MailConfigHTTPMode http_mode;
MailConfigForwardStyle default_forward_style;
+ MailConfigReplyStyle default_reply_style;
MailConfigDisplayStyle message_display_style;
char *default_charset;
@@ -923,6 +924,11 @@ config_read (void)
config->db, "/Mail/Format/default_forward_style",
MAIL_CONFIG_FORWARD_ATTACHED, NULL);
+ /* Replying */
+ config->default_reply_style = bonobo_config_get_long_with_default (
+ config->db, "/Mail/Format/default_reply_style",
+ MAIL_CONFIG_REPLY_QUOTED, NULL);
+
/* Message Display */
config->message_display_style = bonobo_config_get_long_with_default (
config->db, "/Mail/Format/message_display_style",
@@ -1302,6 +1308,11 @@ mail_config_write_on_exit (void)
"/Mail/Format/default_forward_style",
config->default_forward_style, NULL);
+ /* Replying */
+ bonobo_config_set_long (config->db,
+ "/Mail/Format/default_reply_style",
+ config->default_reply_style, NULL);
+
/* Message Display */
bonobo_config_set_long (config->db,
"/Mail/Format/message_display_style",
@@ -2089,6 +2100,18 @@ mail_config_set_default_forward_style (MailConfigForwardStyle style)
config->default_forward_style = style;
}
+MailConfigReplyStyle
+mail_config_get_default_reply_style (void)
+{
+ return config->default_reply_style;
+}
+
+void
+mail_config_set_default_reply_style (MailConfigReplyStyle style)
+{
+ config->default_reply_style = style;
+}
+
MailConfigDisplayStyle
mail_config_get_message_display_style (void)
{