[evolution/express2] improve alarm debugging output



commit 65096669137f498e2cffb49fa4de843553f135e7
Author: Michael Meeks <michael meeks novell com>
Date:   Fri Apr 23 16:19:12 2010 +0100

    improve alarm debugging output

 calendar/gui/alarm-notify/alarm.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/calendar/gui/alarm-notify/alarm.c b/calendar/gui/alarm-notify/alarm.c
index 14f66a6..a4be16b 100644
--- a/calendar/gui/alarm-notify/alarm.c
+++ b/calendar/gui/alarm-notify/alarm.c
@@ -152,7 +152,8 @@ setup_timeout (void)
 	now = time (NULL);
 
 	/* Add the time out */
-	d(g_message ("Setting timeout for %d %lu %lu", diff, ar->trigger, now));
+	d(g_message ("Setting timeout for %d.%2d (from now) %lu %lu",
+		     diff / 60, diff % 60, ar->trigger, now));
 	d(g_message (" %s", ctime (&ar->trigger)));
 	d(g_message (" %s", ctime (&now)));
 	timeout_id = g_timeout_add_seconds (diff, alarm_ready_cb, NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]