eds: Reach quiescence in Edsf.PersonaStore for address books with no contacts
authorPhilip Withnall <philip@tecnocode.co.uk>
Fri, 6 Jan 2012 14:35:01 +0000 (14:35 +0000)
committerPhilip Withnall <philip@tecnocode.co.uk>
Fri, 6 Jan 2012 18:48:35 +0000 (18:48 +0000)
commitd4aeea66f0719dc7a77a43372a940735cdfff4f2
tree97d53de4a7f03b51ed592f308558cc0b79a6af0b
parent6e8949a42ebb767c3d82039365e5204422e26d50
eds: Reach quiescence in Edsf.PersonaStore for address books with no contacts

It’s possible for an address book to have the “do-initial-query” capability
yet not emit any ::objects-added signals on its view, if the address book has
no contacts.

This commit fixes that by listening for the ::complete signal on the address
book view and using that to determine quiescence instead.

This should theoretically also catch cases where the address book encounters
an error part-way through initialisation, since that will be reported via
the ::complete signal.
backends/eds/lib/edsf-persona-store.vala