GNOME Bugzilla – Bug 651054
Support queries based on "photo" contact field
Last modified: 2011-06-01 17:09:17 UTC
Created attachment 188581 [details] [review] Proposed patch Hi, I'm currently working on the QtContacts backend for EDS part of MeeGo. libebook currently does not support queries based on the "photo" EContact field such as (is "photo" "http://localhost/me.png"). This is due to the fact that the "photo" field has a complex EContactPhoto type. This behavior can be improved by comparing with the uri property in the EContactPhoto struct, if available (only URI matching makes sense anyway). Please find attached a patch proposal. I checked that it works with my unit tests.
Looks good and may not hurt older code either, thus I'm approving it. Please commit to master only.
Created commit ac16f4a in eds master (3.1.2+)
I appreciate that this is a new feature, but it's very simple and it would be useful to have it in 3.0 (and 2.32). Is it OK if I cherry-pick it into gnome-3-0?
Sure, you can use it on stable branch too. It's not much a new feature from my point of view, I only wanted more testing on this in the master branch, and because Christopher is tight to 2.32.3 anyway, then it didn't seem to be a problem.