diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-01-21 20:48:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-01-21 21:02:14 +0800 |
commit | 0e0060e6398d2615534951d0192be71c7a3cc38e (patch) | |
tree | 0609b40f5d51aed204d10fc74628ca517da40bd1 /doc/devel | |
parent | 43911af529c0f357f71b4bb74b8a8c30db9ed384 (diff) | |
download | gsoc2013-evolution-0e0060e6398d2615534951d0192be71c7a3cc38e.tar gsoc2013-evolution-0e0060e6398d2615534951d0192be71c7a3cc38e.tar.gz gsoc2013-evolution-0e0060e6398d2615534951d0192be71c7a3cc38e.tar.bz2 gsoc2013-evolution-0e0060e6398d2615534951d0192be71c7a3cc38e.tar.lz gsoc2013-evolution-0e0060e6398d2615534951d0192be71c7a3cc38e.tar.xz gsoc2013-evolution-0e0060e6398d2615534951d0192be71c7a3cc38e.tar.zst gsoc2013-evolution-0e0060e6398d2615534951d0192be71c7a3cc38e.zip |
Bug 692143 - Auto-configured MSN account should use POP, not IMAP
In e_mail_config_service_page_auto_configre(), we do detect that only
POP3 is available for MSN accounts and switch to the appropriate service
backend.
The problem was with the hack I added awhile back to momentarily skip to
the Receiving page just before skipping to the Summary page, so clicking
"Go Back" from the Summary page would return to the Receiving page.
That momentary skip triggered mail_config_assistant_prepare() on the
Receiving page, which then triggered e_mail_config_page_setup_defaults()
since the Receiving page was not yet in the visited pages hash table.
The Receiving page's setup_defaults() method reset the service backend
to IMAPX, which is the correct thing to do when not auto-configured.
The solution is add the Receiving page to the visited pages hash table
after a successful auto-configuration, but just BEFORE we momentarily
skip to it. This tricks mail_config_assistant_prepare() into thinking
the page was already visited, and it skips setting up defaults for it.
Also added the Sending page to visited pages, just for consistency.
Diffstat (limited to 'doc/devel')
0 files changed, 0 insertions, 0 deletions