From dded739f636bb8f75a6779bc31673e4f8b994225 Mon Sep 17 00:00:00 2001 From: Russell Steinthal Date: Fri, 12 Nov 1999 17:11:02 +0000 Subject: The long-awaited audio alarm timeout patch. Implements wishlist bug #3089. Note: Per discussion on calendar-list, checks to see that timeout value is reasonable, i.e. between 1 and MAX_AALARM_TIMEOUT (set to 3600 seconds). Check is enforced by GtkSpinButton in property box and the patch when loading from disk. svn path=/trunk/; revision=1384 --- calendar/eventedit.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'calendar/eventedit.c') diff --git a/calendar/eventedit.c b/calendar/eventedit.c index 2b93426b00..057c2652d2 100644 --- a/calendar/eventedit.c +++ b/calendar/eventedit.c @@ -18,6 +18,11 @@ static void event_editor_class_init (EventEditorClass *class); static void event_editor_init (EventEditor *ee); static void event_editor_destroy (GtkObject *object); +GtkWidget* make_spin_button (int val, int low, int high); +void ee_create_ae (GtkTable *table, char *str, CalendarAlarm *alarm, enum AlarmType type, + int y, gboolean control_sens, GtkSignalFunc dirty_func); +void ee_store_alarm (CalendarAlarm *alarm, enum AlarmType type); + /* Note: do not i18n these strings, they are part of the vCalendar protocol */ static char *class_names [] = { "PUBLIC", "PRIVATE", "CONFIDENTIAL" }; @@ -59,7 +64,7 @@ event_editor_class_init (EventEditorClass *class) object_class->destroy = event_editor_destroy; } -static GtkWidget * +GtkWidget * make_spin_button (int val, int low, int high) { GtkAdjustment *adj; -- cgit v1.2.3