aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-config.c')
-rw-r--r--mail/mail-config.c12
1 files changed, 12 insertions, 0 deletions
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 ();