From 07dacea3edab82eecc1cd487c493edc0ca65da6a Mon Sep 17 00:00:00 2001 From: Federico Mena Quintero Date: Mon, 2 Jul 2001 21:46:36 +0000 Subject: Support for repeat/duration properties in alarm components. 2001-07-02 Federico Mena Quintero Support for repeat/duration properties in alarm components. * cal-util/cal-component.h (CalAlarmRepeat): New structure that pairs the repeat/duration values of an alarm component, which must be set both together or not set at all. * cal-util/cal-component.c (CalComponentAlarm): Added fields for the repeat and duration properties. (scan_alarm_property): Scan the DURATION and REPEAT properties. (make_alarm): Nullify/initialize all the fields in the alarm. (cal_component_alarm_get_repeat): New function. (cal_component_alarm_set_repeat): New function. * gui/dialogs/alarm-page.glade: Changed the label of display alarms from "Show a dialog" to "Display a message". svn path=/trunk/; revision=10706 --- calendar/gui/dialogs/alarm-page.glade | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'calendar/gui') diff --git a/calendar/gui/dialogs/alarm-page.glade b/calendar/gui/dialogs/alarm-page.glade index 183ec1b95b..80db7edc76 100644 --- a/calendar/gui/dialogs/alarm-page.glade +++ b/calendar/gui/dialogs/alarm-page.glade @@ -196,7 +196,7 @@ GtkOptionMenu action True - Show a dialog + Display a message Play a sound Send an email Run a program -- cgit