Bug 13423

Summary: Add tp_connection_manager_request_connection() which passes a new TpConnection to a callback
Product: Telepathy Reporter: Xavier Claessens <xclaesse>
Component: tp-glibAssignee: Telepathy bugs list <telepathy-bugs>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: enhancement    
Priority: medium CC: will
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Xavier Claessens 2007-11-28 05:32:32 UTC
Just like for bug #13422, TpConnectionManager should have a "new-connection" signal, tp_connection_manager_request_connection and tp_connection_manager_list_connections() functions.

I'm not sure if that API should also wait for connection to be ready. I think non-ready connections are only useful for MC.
Comment 1 Simon McVittie 2008-01-24 05:43:25 UTC
tp_connection_manager_request_connection is fine. It won't wait for the connection to be ready (there are applications that are interested in unconnected connections, like MC), but you can do that yourself (optionally calling Connect()) with one more function call (tp_connection_run_until_ready).

tp_connection_manager_list_connections is WONTFIX for the same reason as in #13422.

new-connection is WONTFIX for the same reason as in #13422.
Comment 2 Simon McVittie 2009-02-16 10:02:52 UTC
I'm not adding new _run_ API, so changing summary.
Comment 3 Simon McVittie 2009-02-16 10:03:03 UTC
*** Bug 18248 has been marked as a duplicate of this bug. ***
Comment 4 GitLab Migration User 2019-12-03 19:22:46 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/telepathy/telepathy-glib/issues/2.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.