Re: [Evolution-hackers] Converting vevent components into one vcalendar component
Great! That's precisely what I was looking for.On 8/9/06, chenthill <[EMAIL PROTECTED]> wrote: Hi teresa,You can probably create a toplevel VCALENDAR component usinge_cal_util_new_top_level () and add the VEVENT components to it using icalcomponent_add_component. Hope this answers your question.- Chenthill.On Wed, 2006-08-09 at 15:44 -0400, Teresa Thomas wrote:> I intend to use the function> void icalcomponent_merge_component(icalcomponent* comp, icalcomponent* > comp_to_merge);> to merge two VCALENDAR components.>> When I query for all the objects in an Evo cal, what I get is a list> of icalcomponent. I want to convert this bunch of VEVENT > icalcomponents into a single VCALENDAR icalcomponent so that I can use> the above mentioned function. Ofcourse, I could convert them into> strings first and manually concatenate the objects, but is there a > better way to do this?>> Thanks!>> Teresa ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] Converting vevent components into one vcalendar component
Hi teresa, You can probably create a toplevel VCALENDAR component using e_cal_util_new_top_level () and add the VEVENT components to it using icalcomponent_add_component. Hope this answers your question. - Chenthill. On Wed, 2006-08-09 at 15:44 -0400, Teresa Thomas wrote: > I intend to use the function > void icalcomponent_merge_component(icalcomponent* comp, icalcomponent* > comp_to_merge); > to merge two VCALENDAR components. > > When I query for all the objects in an Evo cal, what I get is a list > of icalcomponent. I want to convert this bunch of VEVENT > icalcomponents into a single VCALENDAR icalcomponent so that I can use > the above mentioned function. Ofcourse, I could convert them into > strings first and manually concatenate the objects, but is there a > better way to do this? > > Thanks! > > Teresa ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
[Evolution-hackers] Converting vevent components into one vcalendar component
I intend to use the function void icalcomponent_merge_component(icalcomponent* comp, icalcomponent* comp_to_merge); to merge two VCALENDAR components.When I query for all the objects in an Evo cal, what I get is a list of icalcomponent. I want to convert this bunch of VEVENT icalcomponents into a single VCALENDAR icalcomponent so that I can use the above mentioned function. Ofcourse, I could convert them into strings first and manually concatenate the objects, but is there a better way to do this? Thanks!Teresa ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers