Re: [Evolution-hackers] EBookListener problems



Hm, you're returning to the bonobo mainloop, correct?  The book view
notifications are sent asynchronously.

Chris

On Fri, 2003-11-28 at 00:53, Christian Hammond wrote:
> On Thu, Nov 27, 2003 at 07:30:00PM -0500, JP Rosevear wrote:
> > On Thu, 2003-11-27 at 01:50, Christian Hammond wrote:
> > > Hi.
> > > 
> > > I'm trying to get the Gaim-Evolution Integration plugin I'm writing to
> > > listen for modifications to the address book using EBookListener. So
> > > far, I haven't received a single event. I looked throughout the
> > > libedata-book and libebook code, sprinkled several debug statements
> > > throughout it, and everything appears to be working right.
> > > 
> > > I'm a bit at a loss as to how to go about listening in on these
> > > events. It doesn't even appear as if e-book.c is's
> > > e_book_handle_response is being called when something is modified in
> > > Evolution.
> > 
> > The EBookListener shouldn't really be used directly, it passes back the
> > idl responses from the backend rather than does notifications.  What you
> > likely want is EBookView for all cards.  That will give you
> > notifications when cards are added/modified/removed.
> > 
> > -JP
> 
> I'm likely doing something wrong, but I'm still unable to retrieve any
> updates. I'm still trying to wrap my brain around the evolution code,
> and I imagine the solution is fairly simple, but for the moment, I'm
> stuck. Can you provide a short checklist as to what is needed to
> receive such events from the backend?
> 
> Thanks,
> 
> Christian



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