From ab87a4707bc3129ba997f268401fe2090a17ace8 Mon Sep 17 00:00:00 2001 From: Srinivasa Ragavan Date: Mon, 10 Aug 2009 11:04:35 +0530 Subject: Make Port string only for Anjal. --- mail/em-account-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c index dceaec5bb3..0c7e978a2f 100644 --- a/mail/em-account-editor.c +++ b/mail/em-account-editor.c @@ -1694,7 +1694,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); -- cgit v1.2.3