aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-editor.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/mail-account-editor.c')
-rw-r--r--mail/mail-account-editor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c
index 18f42fdce4..91894fa7a4 100644
--- a/mail/mail-account-editor.c
+++ b/mail/mail-account-editor.c
@@ -407,6 +407,7 @@ transport_type_changed (GtkWidget *widget, gpointer user_data)
gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_host), TRUE);
gtk_widget_set_sensitive (label, TRUE);
} else {
+ gtk_entry_set_text (editor->transport_host, "");
gtk_widget_set_sensitive (GTK_WIDGET (editor->transport_host), FALSE);
gtk_widget_set_sensitive (label, FALSE);
}