Re: [Evolution-hackers] how to generate addressbook.db

2009-08-24 Thread Ross Burton
On Tue, 2009-08-25 at 08:27 +0800, Saint yeyo wrote:
> I wrote a code, that I called two function
> 'e_book_backend_file_load_source' and
> 'e_book_backend_file_create_contact
> then successful generate 'addressbook.db' and 'addressbook.db.summary'
> base on a exported vcard file,
> 
> then I tried copy the 2 generated addressbook.db into
> ~/.evolution/addressbook/local/system, then run evolution, click
> contact, but it told me can't load the file, I guess there are some
> different between my generate one with standard evolution generate,
> so, could you teach me how to generate standard addressbook.db file? I
> feel I mostly close my target, I will very appreciate for your help.

Instead of using ebookbackendfile directly just use libebook.
EBookBackendFile is an implementation detail and shouldn't be used
directly.

Ross
-- 
Ross Burton mail: r...@burtonini.com
  jabber: r...@burtonini.com
   www: http://burtonini.com


signature.asc
Description: This is a digitally signed message part
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers


[Evolution-hackers] how to generate addressbook.db

2009-08-24 Thread Saint yeyo
hello all,

I wrote a code, that I called two function 'e_book_backend_file_load_source'
and 'e_book_backend_file_create_contact
then successful generate 'addressbook.db' and 'addressbook.db.summary' base
on a exported vcard file,

then I tried copy the 2 generated addressbook.db into
~/.evolution/addressbook/local/system, then run evolution, click  contact,
but it told me can't load the file, I guess there are some different between
my generate one with standard evolution generate, so, could you teach me how
to generate standard addressbook.db file? I feel I mostly close my target, I
will very appreciate for your help.

thanks a lot
___
Evolution-hackers mailing list
Evolution-hackers@gnome.org
http://mail.gnome.org/mailman/listinfo/evolution-hackers