Re: [Evolution-hackers] Using EBookView effectively
I need to test this and see. Also we store last modified time stamp (E_CONTACT_REV), so we can extend our query filters to support greater than, less than etc. -Sushma. On Thu, 2005-09-15 at 10:53 -0400, Joe Shaw wrote: > Hi, > On Thu, 2005-09-15 at 12:05 +0530, Sushma Rai wrote: > > Are you not calling e_book_get_changes() first and then > > form a query and then e_book_get_view() for that? > > This is exactly what I am doing. > > Joe > ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] Using EBookView effectively
Hi, On Thu, 2005-09-15 at 12:05 +0530, Sushma Rai wrote: > Are you not calling e_book_get_changes() first and then > form a query and then e_book_get_view() for that? This is exactly what I am doing. Joe ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
Re: [Evolution-hackers] Using EBookView effectively
Hi, Are you not calling e_book_get_changes() first and then form a query and then e_book_get_view() for that? -Sushma. On Wed, 2005-09-14 at 14:44 -0400, Joe Shaw wrote: > Hi, > > I am having some trouble getting desired results using EBookView. What > I want to do is: > > (a) Get a list of changes and only a list of changes at (my app's) > startup. > (b) Get any subsequent changes to contacts from e-d-s as they happen. > > Doing (a) is simple. I use e_book_get_changes() on my EBook and I get > the changes. > > When I call e_book_get_book_view(), attach signals, and start it, > however, I get change notification of every single contact being added > to the EBookView. I don't want to get any of these initial > notifications, only notification of actual changes after-the-fact. > > Is there a way to do what I want without some gross racy timeout? > > Joe > > ___ > Evolution-hackers mailing list > Evolution-hackers@gnome.org > http://mail.gnome.org/mailman/listinfo/evolution-hackers ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers
[Evolution-hackers] Using EBookView effectively
Hi, I am having some trouble getting desired results using EBookView. What I want to do is: (a) Get a list of changes and only a list of changes at (my app's) startup. (b) Get any subsequent changes to contacts from e-d-s as they happen. Doing (a) is simple. I use e_book_get_changes() on my EBook and I get the changes. When I call e_book_get_book_view(), attach signals, and start it, however, I get change notification of every single contact being added to the EBookView. I don't want to get any of these initial notifications, only notification of actual changes after-the-fact. Is there a way to do what I want without some gross racy timeout? Joe ___ Evolution-hackers mailing list Evolution-hackers@gnome.org http://mail.gnome.org/mailman/listinfo/evolution-hackers