aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/gui/eventedit.c
diff options
context:
space:
mode:
authorRussell Steinthal <rms39@columbia.edu>1999-12-11 01:58:43 +0800
committerRussell Steinthal <steintr@src.gnome.org>1999-12-11 01:58:43 +0800
commit5f0aabc21272eb164a6f9c7651f56979e97187a2 (patch)
treee7bf35a7573de45af9fe845a24ba6107af56388f /calendar/gui/eventedit.c
parent48618eb6eb0d02a6bc74d19d0241ac6b0849d136 (diff)
downloadgsoc2013-evolution-5f0aabc21272eb164a6f9c7651f56979e97187a2.tar
gsoc2013-evolution-5f0aabc21272eb164a6f9c7651f56979e97187a2.tar.gz
gsoc2013-evolution-5f0aabc21272eb164a6f9c7651f56979e97187a2.tar.bz2
gsoc2013-evolution-5f0aabc21272eb164a6f9c7651f56979e97187a2.tar.lz
gsoc2013-evolution-5f0aabc21272eb164a6f9c7651f56979e97187a2.tar.xz
gsoc2013-evolution-5f0aabc21272eb164a6f9c7651f56979e97187a2.tar.zst
gsoc2013-evolution-5f0aabc21272eb164a6f9c7651f56979e97187a2.zip
Fix sensitivity bug when used to create default alarm box (widgets in that
1999-12-10 Russell Steinthal <rms39@columbia.edu> * 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
Diffstat (limited to 'calendar/gui/eventedit.c')
-rw-r--r--calendar/gui/eventedit.c5
1 files changed, 4 insertions, 1 deletions
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 *