Re: [evolution-patches] A patch for calendar to keep alldayness in week view



On Tue, 2004-05-25 at 22:02 +0800, Kidd Wang wrote:
> Rodrigo Moya wrote:
> > On Thu, 2004-05-20 at 18:13 +0800, Kidd Wang wrote:
> >   
> > > Hi,
> > > 
> > > We find that an all-day event doesn't keey all-dayness when moved around.
> > > Enclosed is patch to fix that. Please review. Thanks.
> > > 
> > >     
> > I'm not sure the way you detect the all-dayness is correct. Couldn't you
> > just use the is_date field in icaltime from the original ECalComponent ?
> >   
> I wonder what the original ECalComponent is and how I can get it. I
> tried to find them
> from event->comp_data where event is of type EWeekViewEvent. But all
> its time related
> fields are NULL pointers.

comp_data->icalcomp should contain the original event, so you can
retrieve the start, end, etc, dates from it.

cheers




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