aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mail/ChangeLog3
-rw-r--r--mail/mail-config-druid.c2
2 files changed, 5 insertions, 0 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog
index b132ced3db..f5d6fbe646 100644
--- a/mail/ChangeLog
+++ b/mail/ChangeLog
@@ -1,5 +1,8 @@
2001-02-08 Jeffrey Stedfast <fejj@ximian.com>
+ * mail-config-druid.c (construct): Set the sensitivity of the spin
+ button based on the state of the checkbox.
+
* mail-config.c (config_read): Properly do defaults here.
(mail_config_write): Removed some of the settings being saved
here.
diff --git a/mail/mail-config-druid.c b/mail/mail-config-druid.c
index 748506ff80..8b9ae57019 100644
--- a/mail/mail-config-druid.c
+++ b/mail/mail-config-druid.c
@@ -1089,6 +1089,8 @@ construct (MailConfigDruid *druid)
druid->incoming_auto_check = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chkAutoCheck"));
gtk_signal_connect (GTK_OBJECT (druid->incoming_auto_check), "toggled", auto_check_toggled, druid);
druid->incoming_auto_check_min = GTK_SPIN_BUTTON (glade_xml_get_widget (gui, "spinAutoCheckMinutes"));
+ gtk_widget_set_sensitive (GTK_WIDGET (druid->incoming_auto_check_min),
+ GTK_TOGGLE_BUTTON (druid->incoming_auto_check)->active);
druid->incoming_check_settings = GTK_CHECK_BUTTON (glade_xml_get_widget (gui, "chkIncomingCheckSettings"));
druid->have_auth_page = TRUE;