From 56fb054ea453c7e8cf800dd3e6b9d6f0ff9d1fdb Mon Sep 17 00:00:00 2001 From: Iain Holmes Date: Tue, 9 Jan 2001 01:22:57 +0000 Subject: Mark tasks completed svn path=/trunk/; revision=7309 --- calendar/gui/calendar-summary.c | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'calendar/gui/calendar-summary.c') diff --git a/calendar/gui/calendar-summary.c b/calendar/gui/calendar-summary.c index 8b401929d3..6948b72df7 100644 --- a/calendar/gui/calendar-summary.c +++ b/calendar/gui/calendar-summary.c @@ -151,6 +151,7 @@ generate_html_summary (CalSummary *summary) CalComponent *comp; CalComponentText text; CalClientGetStatus status; + struct icaltimetype *completed; char *uid; char *tmp2; @@ -160,8 +161,15 @@ generate_html_summary (CalSummary *summary) continue; cal_component_get_summary (comp, &text); + cal_component_get_completed (comp, &completed); - tmp2 = g_strdup_printf ("
  • %s
  • ", text.value); + if (completed == NULL) { + tmp2 = g_strdup_printf ("
  • %s
  • ", text.value); + } else { + tmp2 = g_strdup_printf ("
  • %s
  • ", + text.value); + cal_component_free_icaltimetype (completed); + } tmp = ret_html; ret_html = g_strconcat (ret_html, tmp2, NULL); -- cgit v1.2.3