If a single cache holds both events and backends - you need to filter
the cache contents based on their type (VEVENT/VTODO).
Eg :
kind = icalcomponent_isa (icalcomp);
if (kind == ICAL_VEVENT_COMPONENT)
{...}
if (kind == ICAL_VTODO_COMPONENT)
{...}
HTH,
Harish
On Fri, 2006-06-16 at 15:31 +0200, Jules Colding wrote:
> Hi,
>
> I have a functioning calendar backend that supports events as well as
> tasks. The events are displayed in the calendar as expected, but they
> are also appearing as tasks in the summary list. Why??
>
> I haven't even populated the task cache yet, so everything displayed in
> the task list is really nothing but a common event.
>
> Should events display in the task list or how can I stop them from doing
> so??
>
> Illustrative screenshot:
>
> http://www.omesc.com/content/downloads/screenshots/event_tasks.png
>
>
> Thanks a lot in advance,
> jules
>
>
> _______________________________________________
> Evolution-hackers mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/evolution-hackers
_______________________________________________
Evolution-hackers mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/evolution-hackers