diff options
Diffstat (limited to 'mail')
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-config.c | 5 |
2 files changed, 9 insertions, 2 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index 2de489db80..4a437b658f 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2004-01-19 Radek Doulik <rodo@ximian.com> + + * mail-config.c (MAIL_CONFIG_RC_DIR): path to gtkhtml's rc file + (config_write_style): use MAIL_CONFIG_RC_DIR + (mail_config_init): ditto + 2004-01-19 Not Zed <NotZed@Ximian.com> * mail-ops.c (add_vjunk_info, add_vtrash_info): removed this like diff --git a/mail/mail-config.c b/mail/mail-config.c index c63632374b..a14fad42a3 100644 --- a/mail/mail-config.c +++ b/mail/mail-config.c @@ -92,6 +92,7 @@ static MailConfig *config = NULL; static guint config_write_timeout = 0; #define MAIL_CONFIG_RC "/gtkrc-mail-fonts" +#define MAIL_CONFIG_RC_DIR ".evolution/mail/config" /* signatures */ MailConfigSignature * @@ -448,7 +449,7 @@ config_write_style (void) * * EPFIXME this kludge needs to go away. */ - filename = g_build_filename (g_get_home_dir (), ".evolution/mail/config", MAIL_CONFIG_RC, NULL); + filename = g_build_filename (g_get_home_dir (), MAIL_CONFIG_RC_DIR, MAIL_CONFIG_RC, NULL); rc = fopen (filename, "w"); @@ -530,7 +531,7 @@ mail_config_init (void) EPFIXME: This kludge needs to go away. filename = g_build_filename (evolution_dir, MAIL_CONFIG_RC, NULL); */ - filename = g_build_filename (g_get_home_dir (), "evolution", MAIL_CONFIG_RC, NULL); + filename = g_build_filename (g_get_home_dir (), MAIL_CONFIG_RC_DIR, MAIL_CONFIG_RC, NULL); gtk_rc_parse (filename); g_free (filename); |