Problem with transfering new calendar events to pilot
- From: Dano Carroll <dano zilker net>
- To: gnome-pilot-list gnome org
- Subject: Problem with transfering new calendar events to pilot
- Date: Tue, 23 Oct 2001 02:56:44 -0500
Version 0.1.62 of the gnome-pim package has a problem with transfering
events created with gnome calendar to the pilot. In calendar-conduit.c, a
test is made for allday attribute. However the ampersand operator is used
in front of the attribute. This results in all calendar created events
looking like all day events after being transfered to the pilot. Patch
follows.
Dano Carroll
*** calendar-conduit.c~ Sun Oct 7 22:45:18 2001
--- calendar-conduit.c Tue Oct 23 02:19:13 2001
***************
*** 994,1000 ****
local->a->event = 0;
/* If all day event, set event to 1, otherwise, set begin/end */
! if (&local->ical->allday) {
local->a->event = 1;
}
local->a->begin = *localtime(&local->ical->dtstart);
--- 994,1000 ----
local->a->event = 0;
/* If all day event, set event to 1, otherwise, set begin/end */
! if (local->ical->allday) {
local->a->event = 1;
}
local->a->begin = *localtime(&local->ical->dtstart);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]