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/gui/main.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'calendar/gui/main.h') diff --git a/calendar/gui/main.h b/calendar/gui/main.h index 6419153be8..bc80e37be4 100644 --- a/calendar/gui/main.h +++ b/calendar/gui/main.h @@ -44,9 +44,12 @@ extern gboolean todo_style_changed; extern gint todo_current_sort_column; extern gint todo_current_sort_type; -/* default alarm stuff */ +/* alarm stuff */ extern CalendarAlarm alarm_defaults[4]; extern gboolean beep_on_display; +extern gboolean enable_aalarm_timeout; +extern guint audio_alarm_timeout; +extern const guint MAX_AALARM_TIMEOUT; /* Creates and runs the preferences dialog box */ void properties (GtkWidget *toplevel); -- cgit