[Bug 26883] InterfaceFactory._valid_interfaces is not really valid before connection

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 4 15:45:09 CET 2010


http://bugs.freedesktop.org/show_bug.cgi?id=26883





--- Comment #1 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2010-03-04 06:45:08 PST ---
This is more of a documentation bug: the valid interfaces aren't necessarily
known until the connection connects, so the result of GetInterfaces() is
incomplete until CONNECTED is signalled. (Also, telepathy-python shouldn't
block on D-Bus calls as your patch does.)

The right thing to do is not trust _valid_interfaces to be complete until the
Connection signals that it is "ready" (I believe there's a ready_handler
__init__ argument or something?


-- 
Configure bugmail: http://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the telepathy-bugs mailing list