Re: [Evolution-hackers] ECard Updates



Well, I just wrote up a quick snippet -- I actually do have a callback
and I checked the status value there. It turns out, I get a status of 0
(success). Also, I noticed that the addressbook.db is not updated. I'm
building this off of Evolution 1.2.1 and my contacts are on the local
machine.

Cheers,
Sharvil Nanavati

On Wed, 2003-01-29 at 19:11, Chris Toshok wrote:
> On Wed, 2003-01-29 at 09:19, Sharvil Nanavati wrote:
> > Hi all,
> > 
> > I'm wondering what I need to do in order to update an existing ECard. I
> > have had success adding new cards, but I cannot seem to update existing
> > ones. I cannot, for example, do something as simple as:
> > 
> > gtk_object_set(GTK_OBJECT(card), "note", "blah" NULL);
> > e_book_commit_card(book, card, NULL, NULL);
> > 
> > where card is a valid pointer to an existing card and book is a pointer
> > to a loaded book. Although this code seems to execute, it doesn't
> > actually do anything. Any tips? Thanks!
> 
> What's the backend you're using?  Also, how are you checking to see if
> the change occurred?  It may take some time or it may have failed (which
> you wouldn't know, since you're not using a callback)
> 
> Chris




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