Re: [Evolution-hackers] Address book merging
- From: Renato Araujo <renatox gmail com>
- To: Milan Crha <mcrha redhat com>
- Cc: evolution-hackers gnome org
- Subject: Re: [Evolution-hackers] Address book merging
- Date: Thu, 19 Feb 2015 12:49:12 -0300
Hi Milan,
Thanks for the information, the e-cal-backend-contactsc.c looks very similar to what I am trying to implement.
I tried the approach used on it to load contacts sources but did not work very well with my Addressbook source.
After click in source on evolution, all others sources stop to work, looks like it is blocking the EDS main thread but I am not able to find a way to avoid that.
What I can say is that, the block only happen if I call "e_book_client_view_start" if I comment this call out the others address books works nice. I tried call it from a thread like the calendar backend does but I got the same problem. Maybe because I am implementing a AddressBook backend and the "
Birthdays & Anniversaries " is a calendar backend (just a guess).
I have tried a lot of different ways to call "e_book_client_view_start" (idle functions, threads, timeout functions) none of that works, and I do not find another way to check for contacts changes without use a view, and I am not sure how I can use this function inside of my backend implementation.
I have a small backend[1] with only the constructor function implemented where I try to start a view from others sources to confirm the problem. Should I report a bug or I am doing something wrong on my code?
Thanks again
Renato
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]