aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-account-editor.c
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-07-15 00:41:54 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-07-15 01:38:12 +0800
commit6d9e836a6fa0bb501f9fad4306373092bd758d29 (patch)
tree7843b42c00bc45175bbe8e80059cf2643aa1ee89 /mail/em-account-editor.c
parent374bd42f69aca2e132fd854c9619f3d7491f1f96 (diff)
parente5fe0c9a3b74bf4910d768d65bb59a53c3792001 (diff)
downloadgsoc2013-evolution-6d9e836a6fa0bb501f9fad4306373092bd758d29.tar.gz
gsoc2013-evolution-6d9e836a6fa0bb501f9fad4306373092bd758d29.tar.zst
gsoc2013-evolution-6d9e836a6fa0bb501f9fad4306373092bd758d29.zip
Merge branch 'master' into kill-bonobo
Diffstat (limited to 'mail/em-account-editor.c')
-rw-r--r--mail/em-account-editor.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/mail/em-account-editor.c b/mail/em-account-editor.c
index 436d24f62b..6c674465fe 100644
--- a/mail/em-account-editor.c
+++ b/mail/em-account-editor.c
@@ -107,6 +107,7 @@ typedef struct _EMAccountEditorService {
GtkEntry *path;
GtkLabel *pathlabel;
GtkWidget *pathentry;
+ GtkWidget *port_hint;
GtkWidget *ssl_frame;
GtkComboBox *use_ssl;
@@ -1968,6 +1969,12 @@ emae_setup_service (EMAccountEditor *emae, EMAccountEditorService *service, Glad
service->pathentry = glade_xml_get_widget (xml, info->pathentry);
}
+ service->port_hint = glade_xml_get_widget (xml, "port_hint");
+ if (!service->provider || CAMEL_PROVIDER_NEEDS(service->provider, CAMEL_URL_PART_HOST))
+ gtk_widget_show (service->port_hint);
+ else
+ gtk_widget_hide (service->port_hint);
+
service->ssl_frame = glade_xml_get_widget (xml, info->security_frame);
gtk_widget_hide (service->ssl_frame);
service->ssl_hbox = glade_xml_get_widget (xml, info->ssl_hbox);