aboutsummaryrefslogtreecommitdiffstats
path: root/mail
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
parent3a95383e09676da39d98b98362384c819b5a47a6 (diff)
downloadgsoc2013-evolution-ad18d0ebe8bbe4c2b51d0f533429d9f9db1d2f57.tar
gsoc2013-evolution-ad18d0ebe8bbe4c2b51d0f533429d9f9db1d2f57.tar.gz
gsoc2013-evolution-ad18d0ebe8bbe4c2b51d0f533429d9f9db1d2f57.tar.bz2
gsoc2013-evolution-ad18d0ebe8bbe4c2b51d0f533429d9f9db1d2f57.tar.lz
gsoc2013-evolution-ad18d0ebe8bbe4c2b51d0f533429d9f9db1d2f57.tar.xz
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')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-account-gui.c7
2 files changed, 7 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index fcc60057df..b0fe5bc5a1 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -4,6 +4,9 @@
may try to change the transport optionmenu (incorrectly in this
case), so don't call gtk_option_menu_set_history on it until after
emitting "activate" on the source type menuitem.
+ (mail_account_gui_save): Fix the saving of STORE_AND_TRANSPORT
+ transports and add a comment so it doesn't get mistakenly unfixed
+ again.
2002-08-09 Peter Williams <peterw@ximian.com>
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 */