[Evolution-hackers]: Notify object creation
- From: "Kunal/CSE/BMSCE/B'lore" <kunal kr gmail com>
- To: evolution-hackers gnome org
- Subject: [Evolution-hackers]: Notify object creation
- Date: Thu, 11 May 2006 07:51:44 +0530
Hi
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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]