[Bug 32053] Add a TpContactSearch proxy object
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Tue Dec 7 13:00:36 CET 2010
https://bugs.freedesktop.org/show_bug.cgi?id=32053
--- Comment #11 from Simon McVittie <simon.mcvittie at collabora.co.uk> 2010-12-07 04:00:35 PST ---
(In reply to comment #8)
> I had initially intended for the ContactSearch object to live for the lifetime
> of the dialog. Perhaps making it GAsyncInitable, plus having a
> set_server_async/finish, both of which will retrieve new AvailableSearchTerms.
AvailableSearchTerms could (rarely) change between search tries - we mimic XMPP
exactly here.
Perhaps:
- on initial setup, use GAsyncInitable, because there's nothing useful you can
do until you've fetched the search keys
- when switching the server, use an async method, because again, there's
nothing useful you can do until you've fetched the new server's search keys
- when repeating a search, get the search keys in the background and emit
GObject::notify for a property in the unlikely case where they changed
> It would be nice to expose 'server' as a writable property so that we may
> GBinding it to the view, and simply listen to the notify signal on
> AvailableSearchTerms.
I'm not entirely convinced, because the search is unusable until we know how we
can search.
--
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.
You are the assignee for the bug.
More information about the telepathy-bugs
mailing list