Re: [Evolution-hackers] Querying Evolution with a contact's UID
- From: Not Zed <notzed ximian com>
- To: Tom Copeland <tom infoether com>
- Cc: evolution-hackers lists ximian com, Sushma Rai <rsushma novell com>
- Subject: Re: [Evolution-hackers] Querying Evolution with a contact's UID
- Date: Thu, 30 Jun 2005 22:20:20 +0800
Sushma,
You now being the calendar maintainer (-;, any ideas for Tom on this
issue?
Cheers,
Michael
On Mon, 2005-06-27 at 14:49 -0400, Tom Copeland wrote:
> Howdy -
>
> Recently I upgraded from Fedora Core 3 to FC4 and with it got a more
> recent Evolution and evolution-data-server (1.2.2). Something seems to
> have changed with the UID querying; for example, I used to be able to
> get a particular contact via its UID by running a query like this:
>
> EBookQuery* q = e_book_query_from_string(g_strdup_printf ("(is \"id\"
> \"%s\")", uid));
>
> where uid is a char* containing "pas-id-42248B0B00000000" or some such.
> Now I always get a empty GList back from that kind of query - I even get
> an empty GList back if I do a simple "contains" query on the id, i.e.,
> "contains 'id' '0'".
>
> I can get all the contact UIDs by doing a
> e_book_query_any_field_contains(""), but that seems like a waste rather
> than being able to just query on the UID field.
>
> Any ideas?
>
> Many thanks,
>
> Tom
>
> _______________________________________________
> evolution-hackers maillist - evolution-hackers lists ximian com
> http://lists.ximian.com/mailman/listinfo/evolution-hackers
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]