aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog7
-rw-r--r--mail/mail-config.c12
2 files changed, 19 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 95b1c335b6..130b5df97e 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,12 @@
2001-03-12 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-config.c (mail_config_write): Make the transport save
+ whether or not it's supposed to use SSL as well.
+ (config_read): Read in whether or not we should remember the
+ transport password (for those that support SASL).
+ (mail_config_write): Save whether or not to save transport
+ passwords (needed for SASL enabled transports).
+
* mail-ops.c (add_vtrash_info): Instead of always creating a new
vTrash folder, if the store already has a Trash folder, replace it
with the vTrash. Also, name the folder "Trash" instead of "vTrash"
diff --git a/mail/mail-config.c b/mail/mail-config.c
index 7817386cb7..0d182cee02 100644
--- a/mail/mail-config.c
+++ b/mail/mail-config.c
@@ -293,6 +293,10 @@ config_read (void)
transport->url = gnome_config_get_string (path);
g_free (path);
+ path = g_strdup_printf ("transport_save_passwd_%d", i);
+ transport->save_passwd = gnome_config_get_bool (path);
+ g_free (path);
+
if (!*transport->url) {
/* no transport associated with this account */
g_free (transport->url);
@@ -456,6 +460,14 @@ mail_config_write (void)
path = g_strdup_printf ("transport_url_%d", i);
gnome_config_set_string (path, account->transport->url ? account->transport->url : "");
g_free (path);
+
+ path = g_strdup_printf ("transport_save_passwd_%d", i);
+ gnome_config_set_bool (path, account->transport->save_passwd);
+ g_free (path);
+
+ path = g_strdup_printf ("transport_use_ssl_%d", i);
+ gnome_config_set_bool (path, account->transport->use_ssl);
+ g_free (path);
}
gnome_config_pop_prefix ();