[Evolution-hackers] ebook API



Hi,

In writing contact-lookup-applet I've found some issues with the ebook
API:

e_book_async_get_book_view(...) doesn't allow me to specify the maximum
number of records, whereas e_book_get_book_view(...) does.  Should the
async version be extended to take the extra argument?  This looks like a
trivial patch to me.

ECardCursor has gone! I was planning on using it (or something similar)
in contact-lookup-applet to handle the case where the address book has
many contacts which match the typed name.  It's not a common case, but
if I pointed my applet at a large LDAP server and typed "John",
e_book_get_contacts() could take some time to retrieve the data and
create the EContacts for the completion.  I will be switching to
e_book_async_get_contacts() to reduce UI blocking, but this could still
involve creating a large lists of contacts.  Is there a better way I've
missed?

Thanks,
Ross
-- 
Ross Burton                                 mail: ross burtonini com
                                          jabber: ross burtonini com
                                     www: http://www.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]