aboutsummaryrefslogtreecommitdiffstats
path: root/mail
diff options
context:
space:
mode:
Diffstat (limited to 'mail')
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-account-editor.c3
2 files changed, 6 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index 9791381d33..3a5b1c973d 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-01-10 Jeffrey Stedfast <fejj@helixcode.com>
+ * mail-account-editor.c (source_auth_type_changed): Set the
+ sensitivity of the Password label too.
+
* mail-config-druid.c (transport_back): New callback to handle
when the user hits the "back" button when on the transport
page. This is needed to handle the case where we don't want to
diff --git a/mail/mail-account-editor.c b/mail/mail-account-editor.c
index 91894fa7a4..c4ae08265a 100644
--- a/mail/mail-account-editor.c
+++ b/mail/mail-account-editor.c
@@ -250,6 +250,7 @@ source_auth_type_changed (GtkWidget *widget, gpointer user_data)
MailAccountEditor *editor = user_data;
CamelServiceAuthType *authtype;
gboolean sensitive;
+ GtkWidget *label;
authtype = gtk_object_get_data (GTK_OBJECT (widget), "authtype");
@@ -260,6 +261,8 @@ source_auth_type_changed (GtkWidget *widget, gpointer user_data)
else
sensitive = FALSE;
+ label = glade_xml_get_widget (editor->gui, "lblSourcePasswd");
+ gtk_widget_set_sensitive (label, sensitive);
gtk_widget_set_sensitive (GTK_WIDGET (editor->source_passwd), sensitive);
gtk_widget_set_sensitive (GTK_WIDGET (editor->save_passwd), sensitive);
}