aboutsummaryrefslogtreecommitdiffstats
path: root/mail/mail-config-druid.c
diff options
context:
space:
mode:
authorJeffrey Stedfast <fejj@ximian.com>2001-02-09 08:12:52 +0800
committerJeffrey Stedfast <fejj@src.gnome.org>2001-02-09 08:12:52 +0800
commit11c5b60d8cae375aed02a6bb1cfb8c483550158b (patch)
tree3676a17e70c9a094ad5ab4348e127a67d912c07e /mail/mail-config-druid.c
parent5db2a79dbbcac51fcac8986aabd913dd5d5fb158 (diff)
downloadgsoc2013-evolution-11c5b60d8cae375aed02a6bb1cfb8c483550158b.tar
gsoc2013-evolution-11c5b60d8cae375aed02a6bb1cfb8c483550158b.tar.gz
gsoc2013-evolution-11c5b60d8cae375aed02a6bb1cfb8c483550158b.tar.bz2
gsoc2013-evolution-11c5b60d8cae375aed02a6bb1cfb8c483550158b.tar.lz
gsoc2013-evolution-11c5b60d8cae375aed02a6bb1cfb8c483550158b.tar.xz
gsoc2013-evolution-11c5b60d8cae375aed02a6bb1cfb8c483550158b.tar.zst
gsoc2013-evolution-11c5b60d8cae375aed02a6bb1cfb8c483550158b.zip
Set the sensitivity of the spin button based on the state of the checkbox.
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. svn path=/trunk/; revision=8130
Diffstat (limited to 'mail/mail-config-druid.c')
-rw-r--r--mail/mail-config-druid.c2
1 files changed, 2 insertions, 0 deletions
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;