From 8592ae36ae9c99fe8a5eae31ec83e046fc245567 Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Wed, 10 Jan 2001 20:30:07 +0000 Subject: Clear the password entry if it's not allowed. (transport_type_changed): 2001-01-10 Jeffrey Stedfast * 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 --- mail/mail-account-editor.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mail/mail-account-editor.c') 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); } -- cgit v1.2.3