From a6c4b535334a6da5c8d1622b11a0893d0c55abee Mon Sep 17 00:00:00 2001 From: Russell Steinthal Date: Wed, 3 Nov 1999 02:36:31 +0000 Subject: Add default alarm support, Beep on display alarms option Since there are now some calls from prop.c into previously static functions in eventedit.c, the code in those files should probably be reorganized. Perhaps a new alarm-utils.c file? In any case, this commits working code to the repository before we reorganize. svn path=/trunk/; revision=1366 --- calendar/gnome-cal.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'calendar/gnome-cal.c') diff --git a/calendar/gnome-cal.c b/calendar/gnome-cal.c index 1342e6454b..0487f07310 100644 --- a/calendar/gnome-cal.c +++ b/calendar/gnome-cal.c @@ -443,6 +443,8 @@ calendar_notify (time_t time, CalendarAlarm *which, void *data) GtkWidget *w; char *msg; + if (beep_on_display) + gdk_beep (); msg = g_strconcat (_("Reminder of your appointment at "), ctime (&app), "`", ico->summary, "'", NULL); -- cgit v1.2.3