aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 6ba40772c2..782cbec2de 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -1987,7 +1987,7 @@ emae_setup_service (EMAccountEditor *emae, EMAccountEditorService *service, Glad
}
service->port_hint = glade_xml_get_widget (xml, "port_hint");
- if (!service->provider || CAMEL_PROVIDER_NEEDS(service->provider, CAMEL_URL_PART_HOST))
+ if (emae->type == EMAE_PAGES && (!service->provider || CAMEL_PROVIDER_NEEDS(service->provider, CAMEL_URL_PART_HOST)))
gtk_widget_show (service->port_hint);
else
gtk_widget_hide (service->port_hint);