aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
authorDan Vrátil <dvratil@redhat.com>2011-04-29 05:01:56 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-04-29 05:01:56 +0800
commit0ea909d4e23719823ae30f4d09d7cfc44e29b5ce (patch)
tree9c2f6f2cd96849a5d7235d5ffb02b8d707986913 /mail
parentf2a4427777d4f59e1216bbce44770f0aa3174025 (diff)
downloadgsoc2013-evolution-0ea909d4e23719823ae30f4d09d7cfc44e29b5ce.tar
gsoc2013-evolution-0ea909d4e23719823ae30f4d09d7cfc44e29b5ce.tar.gz
gsoc2013-evolution-0ea909d4e23719823ae30f4d09d7cfc44e29b5ce.tar.bz2
gsoc2013-evolution-0ea909d4e23719823ae30f4d09d7cfc44e29b5ce.tar.lz
gsoc2013-evolution-0ea909d4e23719823ae30f4d09d7cfc44e29b5ce.tar.xz
gsoc2013-evolution-0ea909d4e23719823ae30f4d09d7cfc44e29b5ce.tar.zst
gsoc2013-evolution-0ea909d4e23719823ae30f4d09d7cfc44e29b5ce.zip
Bug 648756 - Custom imap port forgotten
Diffstat (limited to 'mail')
-rw-r--r--mail/em-account-editor.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index f51f5edcae..a0083ecee4 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -2101,10 +2101,6 @@ emae_setup_service (EMAccountEditor *emae, EMAccountEditorService *service, GtkB
gtk_entry_set_text (service->username, url->user);
}
- if (url->port && service->provider->port_entries) {
- e_port_entry_set_port (service->port, url->port);
- }
-
if (service->pathentry) {
GtkFileChooserAction action = GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER;
@@ -2129,6 +2125,12 @@ emae_setup_service (EMAccountEditor *emae, EMAccountEditorService *service, GtkB
}
}
+ /* Set the port after SSL is set, because it would overwrite the
+ port value (through emae_ssl_changed signal) */
+ if (url->port && service->provider->port_entries) {
+ e_port_entry_set_port (service->port, url->port);
+ }
+
/* old authtype will be destroyed when we exit */
emae_refresh_providers (emae, service);
emae_refresh_authtype (emae, service);