aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-account-editor.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@helixcode.com>2001-01-11 07:08:34 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-01-11 07:08:34 +0800
commitee65e2a7329a9f6d818f5cc61092f05b67f4c5bd (patch)
treee2850e8fd6bcb63bdbd3ee93141e05687f44c2c5 /mail/mail-account-editor.c
parent28cb7707dea9617f0c01b323ad31476f01006300 (diff)
downloadgsoc2013-evolution-ee65e2a7329a9f6d818f5cc61092f05b67f4c5bd.tar.gz
gsoc2013-evolution-ee65e2a7329a9f6d818f5cc61092f05b67f4c5bd.tar.zst
gsoc2013-evolution-ee65e2a7329a9f6d818f5cc61092f05b67f4c5bd.zip
Set the sensitivity of the Password label too.
2001-01-10 Jeffrey Stedfast <fejj@helixcode.com> * mail-account-editor.c (source_auth_type_changed): Set the sensitivity of the Password label too. svn path=/trunk/; revision=7376
Diffstat (limited to 'mail/mail-account-editor.c')
-rw-r--r--mail/mail-account-editor.c3
1 files changed, 3 insertions, 0 deletions
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);
}