Re: [Evolution-hackers] evolution-data-server addressbook backend

On Tue, 2008-03-18 at 11:34 +0100, Matthias Braun wrote:
> I just started developing a custom addressbook(1) backend and have a few
> questions regarding the API. First I wonder about the functions
> get_contact_list, get_contact and get_changes. They don't seem to be
> used by evolution. Are there applications around that use them? Do bad
> things happen if I don't implement them (set the callback to NULL)?

Implement them.  Evolution doesn't use them as far as I know but
get_contact_list and get_contact will be used by other applications.
get_changes is used by syncing tools such as OpenSync.

> The other thing I can't get to work is authentication. If I abort an
> action with GNOME_Evolution_Addressbook_AuthenticationRequired then
> evolution is simply displaying me an error message. I would have
> expected that it asks me for username and password and calls the
> authenticate_user callback. How can I get this working?

To be honest I've only looked at the backends which don't require
authentication.  I suggest you read the LDAP backend.

At a guess, make you sure implement get_surpported_auth_methods.  Also
you'll want to call e_book_backend_notify_connection_status.

Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
 PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF

Attachment: signature.asc
Description: This is a digitally signed message part

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