Here's wat i m doing to create the event entry using the evolution API
/* Create calendar client and open the calendar */
ECal *client = e_cal_new_system_calendar();
e_cal_open(*client, TRUE, NULL);
/* Create the calendar component ie. event entry */
ECalComponent *obj = e_cal_component_new();
// after setting the parameters, create the icalcomponent */
icalcomponent *icalcomp = e_cal_component_get_icalcomponent (calObj);
// now create object...i.e, add event entry in the calendar
e_cal_create_object (client, icalcomp, &uid, &error);
Now after all this, i actually get event entry in calendar.ics file. But the gnome-desktop calendar (clock applet) does not shows this. After logoff/restart, clock applet/evolution calendar shows the event nicely..
I dont want to logoff/restart the system to update the evolution calendar/gnome clock applet. How to notify both about the object (Event entry) creation?
Thanks
Kunal
_______________________________________________ Evolution-hackers mailing list [email protected] http://mail.gnome.org/mailman/listinfo/evolution-hackers
