aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-editor.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2001-01-11 04:30:07 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-11 04:30:07 +0800
commit8592ae36ae9c99fe8a5eae31ec83e046fc245567 (patch)
tree534f16069e009ed3fcfc62f3d3c1f3ffd1228559 /mail/mail-account-editor.c
parent69553dbfdaa03211db615f6cb087236f0fedd8bd (diff)
downloadgsoc2013-evolution-8592ae36ae9c99fe8a5eae31ec83e046fc245567.tar
gsoc2013-evolution-8592ae36ae9c99fe8a5eae31ec83e046fc245567.tar.gz
gsoc2013-evolution-8592ae36ae9c99fe8a5eae31ec83e046fc245567.tar.bz2
gsoc2013-evolution-8592ae36ae9c99fe8a5eae31ec83e046fc245567.tar.lz
gsoc2013-evolution-8592ae36ae9c99fe8a5eae31ec83e046fc245567.tar.xz
gsoc2013-evolution-8592ae36ae9c99fe8a5eae31ec83e046fc245567.tar.zst
gsoc2013-evolution-8592ae36ae9c99fe8a5eae31ec83e046fc245567.zip
Clear the password entry if it's not allowed. (transport_type_changed):
2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-config-druid.c (auth_type_changed): Clear the password entry if it's not allowed. (transport_type_changed): Clear the hostname if it is not allowed by the provider type. * mail-account-editor.c (transport_type_changed): If the hostname is allowed, clear it. * mail-config-druid.c (incoming_type_changed): Clear the contents of the entry boxes that are not to be used. (mail_config_druid_get_source_url): If the text in the entry is emptry string, don't set it' contents in the url. svn path=/trunk/; revision=7369
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);
}