aboutsummaryrefslogtreecommitdiffstats
path: root/calendar/eventedit.c
diff options
context:
space:
mode:
authorRussell Steinthal <steintr@src.gnome.org>1999-11-13 01:11:02 +0800
committerRussell Steinthal <steintr@src.gnome.org>1999-11-13 01:11:02 +0800
commitdded739f636bb8f75a6779bc31673e4f8b994225 (patch)
treea408cbad0fd52bb85c2a7e72d96631d17e9c4297 /calendar/eventedit.c
parent43fd06f8ec06257cbd135b03c5e203dfcd134fd4 (diff)
downloadgsoc2013-evolution-dded739f636bb8f75a6779bc31673e4f8b994225.tar
gsoc2013-evolution-dded739f636bb8f75a6779bc31673e4f8b994225.tar.gz
gsoc2013-evolution-dded739f636bb8f75a6779bc31673e4f8b994225.tar.bz2
gsoc2013-evolution-dded739f636bb8f75a6779bc31673e4f8b994225.tar.lz
gsoc2013-evolution-dded739f636bb8f75a6779bc31673e4f8b994225.tar.xz
gsoc2013-evolution-dded739f636bb8f75a6779bc31673e4f8b994225.tar.zst
gsoc2013-evolution-dded739f636bb8f75a6779bc31673e4f8b994225.zip
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
Diffstat (limited to 'calendar/eventedit.c')
-rw-r--r--calendar/eventedit.c7
1 files changed, 6 insertions, 1 deletions
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;