[Xfce4-commits] r25946 - xfcalendar/trunk/src

Juha Kautto juha at xfce.org
Tue Jul 31 23:31:59 CEST 2007


Author: juha
Date: 2007-07-31 21:31:59 +0000 (Tue, 31 Jul 2007)
New Revision: 25946

Modified:
   xfcalendar/trunk/src/appointment.c
Log:
Bug 3425: New appointments now have alarm by default



Modified: xfcalendar/trunk/src/appointment.c
===================================================================
--- xfcalendar/trunk/src/appointment.c	2007-07-31 21:07:21 UTC (rev 25945)
+++ xfcalendar/trunk/src/appointment.c	2007-07-31 21:31:59 UTC (rev 25946)
@@ -1398,6 +1398,9 @@
                     , today, t->tm_hour, t->tm_min);
         appt->completed_tz_loc = g_strdup(appt->start_tz_loc);
 
+        /* default alarm time is 5 mins before event (Bug 3425) */
+        appt->alarmtime = 5*60;
+
         /* default alarm time is 500 cnt & 2 secs each */
         appt->soundrepeat_cnt = 500;
         appt->soundrepeat_len = 2;



More information about the Xfce4-commits mailing list