diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2002-05-10 04:06:16 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2002-05-10 04:06:16 +0800 |
commit | c670e9d15bdaf3c99a42191e48fa315b80800c69 (patch) | |
tree | 4ed290bc61c95b5967b503b1079dd8a56f96d151 | |
parent | de7a5090a8a3f7038ab9232b6b29ed61a51412c5 (diff) | |
download | gsoc2013-evolution-c670e9d15bdaf3c99a42191e48fa315b80800c69.tar.gz gsoc2013-evolution-c670e9d15bdaf3c99a42191e48fa315b80800c69.tar.zst gsoc2013-evolution-c670e9d15bdaf3c99a42191e48fa315b80800c69.zip |
Make sure that even if the new source url is NULL, that we preserve the
2002-05-09 Jeffrey Stedfast <fejj@ximian.com>
* mail-account-gui.c (mail_account_gui_save): Make sure that even
if the new source url is NULL, that we preserve the enabledness of
the source.
svn path=/trunk/; revision=16737
-rw-r--r-- | mail/ChangeLog | 6 | ||||
-rw-r--r-- | mail/mail-account-gui.c | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index d71ca32bc0..5ec5c7b1d1 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,9 @@ +2002-05-09 Jeffrey Stedfast <fejj@ximian.com> + + * mail-account-gui.c (mail_account_gui_save): Make sure that even + if the new source url is NULL, that we preserve the enabledness of + the source. + 2002-05-09 Ettore Perazzoli <ettore@ximian.com> * component-factory.c (add_storage): Pass %FALSE as diff --git a/mail/mail-account-gui.c b/mail/mail-account-gui.c index 669be6b39c..463ca3d7f8 100644 --- a/mail/mail-account-gui.c +++ b/mail/mail-account-gui.c @@ -2006,10 +2006,11 @@ mail_account_gui_save (MailAccountGui *gui) if (account->source->url) { provider = camel_session_get_provider (session, account->source->url, NULL); source_url = provider ? camel_url_new (account->source->url, NULL) : NULL; - - if (old_enabled) - account->source->enabled = TRUE; } + + if (old_enabled) + account->source->enabled = TRUE; + account->source->auto_check = gtk_toggle_button_get_active (gui->source_auto_check); if (account->source->auto_check) account->source->auto_check_time = gtk_spin_button_get_value_as_int (gui->source_auto_check_min); |