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

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Mar 4 16:09:28 CET 2010


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





--- Comment #2 from Fabien LOUIS <flouis at viotech.net>  2010-03-04 07:09:27 PST ---
Yep there is a ready handler, but it is emit when Connection is CONNECTED
(which is good).

So if I want to call SetPresence before calling Connect() (so before
CONNECTED), I need a right _valid_interfaces attribute.

Currently (before my patch), if we cant to change presence before calling
Connect(), I get a KeyError because
org.freedesktop.Telepathy.Connection.Interface.SimplePresence isn't in
_valid_interfaces.

I think we need an attribute which is always valid no?


-- 
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