[Bug 24061] TpAccount, TpAccountManager: add convenience API similar to libempathy's

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Sep 24 19:24:31 CEST 2009


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





--- Comment #11 from Simon McVittie <simon.mcvittie at collabora.co.uk>  2009-09-24 10:24:30 PST ---
(In reply to comment #8)
> > > TpConnectionPresenceType tp_account_manager_get_requested_global_presence (
> > >     TpAccountManager *manager, gchar **status, gchar **message);
> > 
> > Can this be removed? I'm not sure why we need it.
> 
> I removed it, and added a new property on TpAccount called default-presence. I
> guess I added it to the wrong object given the following discussion since I
> implemented it.

Perhaps you misunderstood: I don't think there should be *any* API for this in
telepathy-glib, until there is a corresponding D-Bus API that it can poke
(which would be on AccountManager). At the moment its status would be "this is
a trap, it only works if your account UI and presence UI are in the same
process and share a TpAccountManager", which doesn't seem all that useful in
the long term.

(Without looking at your implementation I don't even know what a
default-presence property on TpAccount would do...)


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



More information about the telepathy-bugs mailing list