aboutsummaryrefslogtreecommitdiffstats
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
parent28cb7707dea9617f0c01b323ad31476f01006300 (diff)
downloadgsoc2013-evolution-ee65e2a7329a9f6d818f5cc61092f05b67f4c5bd.tar
gsoc2013-evolution-ee65e2a7329a9f6d818f5cc61092f05b67f4c5bd.tar.gz
gsoc2013-evolution-ee65e2a7329a9f6d818f5cc61092f05b67f4c5bd.tar.bz2
gsoc2013-evolution-ee65e2a7329a9f6d818f5cc61092f05b67f4c5bd.tar.lz
gsoc2013-evolution-ee65e2a7329a9f6d818f5cc61092f05b67f4c5bd.tar.xz
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
-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);
}