diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2001-02-09 08:12:52 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2001-02-09 08:12:52 +0800 |
commit | 11c5b60d8cae375aed02a6bb1cfb8c483550158b (patch) | |
tree | 3676a17e70c9a094ad5ab4348e127a67d912c07e /mail | |
parent | 5db2a79dbbcac51fcac8986aabd913dd5d5fb158 (diff) | |
download | gsoc2013-evolution-11c5b60d8cae375aed02a6bb1cfb8c483550158b.tar.gz 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')
-rw-r--r-- | mail/ChangeLog | 3 | ||||
-rw-r--r-- | mail/mail-config-druid.c | 2 |
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; |