diff options
author | Iain Holmes <iain@src.gnome.org> | 2001-01-09 05:21:25 +0800 |
---|---|---|
committer | Iain Holmes <iain@src.gnome.org> | 2001-01-09 05:21:25 +0800 |
commit | 4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0 (patch) | |
tree | f749e8da40e16b2c105efeb03a6db2d7e60cf233 | |
parent | 875c9d02c44ae6a0b0c1485e7e61a9dd25c5add7 (diff) | |
download | gsoc2013-evolution-4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0.tar.gz gsoc2013-evolution-4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0.tar.zst gsoc2013-evolution-4f99d6ae5fc6ac4442a3b9a6712c194d9d6f9ff0.zip |
Tasks work properly
svn path=/trunk/; revision=7306
-rw-r--r-- | calendar/ChangeLog | 5 | ||||
-rw-r--r-- | calendar/gui/calendar-summary.c | 9 |
2 files changed, 6 insertions, 8 deletions
diff --git a/calendar/ChangeLog b/calendar/ChangeLog index 10c9c6bf76..fd18238a6d 100644 --- a/calendar/ChangeLog +++ b/calendar/ChangeLog @@ -1,3 +1,8 @@ +2001-01-08 Iain Holmes <iain@helixcode.com> + + * gui/calendar-summary.c (generate_html_summary): Get the tasks + correctly. + 2001-01-08 Damon Chaplin <damon@helixcode.com> * gui/Makefile.am: added new source files for the Tasks folders. diff --git a/calendar/gui/calendar-summary.c b/calendar/gui/calendar-summary.c index 258e73e7d7..8b401929d3 100644 --- a/calendar/gui/calendar-summary.c +++ b/calendar/gui/calendar-summary.c @@ -146,16 +146,11 @@ generate_html_summary (CalSummary *summary) g_free (tmp); /* Generate a list of tasks */ - uids = cal_client_get_objects_in_range (summary->client, - CALOBJ_TYPE_TODO, day_begin, - day_end); + uids = cal_client_get_uids (summary->client, CALOBJ_TYPE_TODO); for (l = uids; l; l = l->next){ CalComponent *comp; CalComponentText text; CalClientGetStatus status; - CalComponentDateTime start, end; - struct icaltimetype *start_time, *end_time; - char *start_str, *end_str; char *uid; char *tmp2; @@ -167,8 +162,6 @@ generate_html_summary (CalSummary *summary) cal_component_get_summary (comp, &text); tmp2 = g_strdup_printf ("<li>%s</li>", text.value); - g_free (start_str); - g_free (end_str); tmp = ret_html; ret_html = g_strconcat (ret_html, tmp2, NULL); |