Re: [Evolution]: Notify Object Creation



On Wed, 2006-05-10 at 13:56 +0530, Kunal/CSE/BMSCE/B'lore wrote:
Hello

I am working on a project which create the calendar event entry using
the evolution API! Till now i hve been able to create the event entry
which is stored in calendar.ics (the default system calendar
database). But to get the same entry details in gnome-desktop calendar
or evolution calendar also, i hve to log off-login (or restart ) the
system. It seems that the gnome desktop or evolution data server are
not being notified by any object (event entry) creation! I just wanted
to know how to send such signals to evolution dataserver about the
creation of any new event entry? 

I am afraid I did not understand your problem much. Using the ecal
libraries (client), you just need to create/use a calendar source
(ESource) and use the APIs to create events.  Evolution-Data-Server
actually creates the events in response to your request - hence you do
not have to notify separately. 

By gnome-desktop calendar - do you mean the Clock applet ? If yes, make
sure the calendar in which the event was created is enabled.

No, Log-offs and system restarts have no role to play here. Refer to the
test-ecal.c under calendar/tests in evolution-data-server module for
some reference code.

Harish





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