aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-gui.c
diff options
context:
space:
mode:
authorDan Winship <danw@src.gnome.org>2002-08-20 00:57:07 +0800
committerDan Winship <danw@src.gnome.org>2002-08-20 00:57:07 +0800
commitad18d0ebe8bbe4c2b51d0f533429d9f9db1d2f57 (patch)
treeff5014dbec8c6f7dae32e8832d777b7ab0d8a105 /mail/mail-account-gui.c
parent3a95383e09676da39d98b98362384c819b5a47a6 (diff)
downloadgsoc2013-evolution-ad18d0ebe8bbe4c2b51d0f533429d9f9db1d2f57.tar.gz
gsoc2013-evolution-ad18d0ebe8bbe4c2b51d0f533429d9f9db1d2f57.tar.zst
gsoc2013-evolution-ad18d0ebe8bbe4c2b51d0f533429d9f9db1d2f57.zip
(mail_account_gui_save): Fix the saving of STORE_AND_TRANSPORT
transports and add a comment so it doesn't get mistakenly unfixed again. svn path=/trunk/; revision=17801
Diffstat (limited to 'mail/mail-account-gui.c')
-rw-r--r--mail/mail-account-gui.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c
index e5f1efc51f..d35a3fea57 100644
--- a/mail/mail-account-gui.c
+++ b/mail/mail-account-gui.c
@@ -1883,9 +1883,10 @@ mail_account_gui_save (MailAccountGui *gui)
service_destroy (account->transport);
account->transport = g_new0 (MailConfigService, 1);
- if (CAMEL_PROVIDER_IS_STORE_AND_TRANSPORT (gui->transport.provider))
- save_service (&gui->transport, gui->extra_config, account->transport);
- else
+ if (CAMEL_PROVIDER_IS_STORE_AND_TRANSPORT (gui->transport.provider)) {
+ /* The transport URI is the same as the source URI. */
+ save_service (&gui->source, gui->extra_config, account->transport);
+ } else
save_service (&gui->transport, NULL, account->transport);
/* Check to make sure that the Drafts folder uri is "valid" before assigning it */