From 5f0aabc21272eb164a6f9c7651f56979e97187a2 Mon Sep 17 00:00:00 2001 From: Russell Steinthal Date: Fri, 10 Dec 1999 17:58:43 +0000 Subject: Fix sensitivity bug when used to create default alarm box (widgets in that 1999-12-10 Russell Steinthal * eventedit.c (ee_create_ae): Fix sensitivity bug when used to create default alarm box (widgets in that box should always be sensitive, even if the enabled checkbutton is not set) svn path=/trunk/; revision=1479 --- calendar/gui/eventedit.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/eventedit.c b/calendar/gui/eventedit.c index 057c2652d2..5b45674d00 100644 --- a/calendar/gui/eventedit.c +++ b/calendar/gui/eventedit.c @@ -385,7 +385,10 @@ ee_create_ae (GtkTable *table, char *str, CalendarAlarm *alarm, enum AlarmType t break; } - ee_alarm_setting (alarm, alarm->enabled); + if (control_sens) + ee_alarm_setting (alarm, alarm->enabled); + else + ee_alarm_setting (alarm, TRUE); } static GtkWidget * -- cgit v1.2.3