Bug 17385

Summary: examples should be able to use existing connections
Product: Telepathy Reporter: Guillaume Desmottes <guillaume.desmottes>
Component: tp-pythonAssignee: Dafydd Harries <dafydd.harries>
Status: RESOLVED MOVED QA Contact: Telepathy bugs list <telepathy-bugs>
Severity: enhancement    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Guillaume Desmottes 2008-09-01 02:44:18 UTC
Telepathy-python examples should be able to use existing connections if no account file is specified.
We should probably do something like that:
• If first argument is an existing account file then create a Connection object, connect its and pass it to the script when it's connected
• Else, list all the existing connected Connections, ask to the user which one to use and pass it to the script

I think it's sane to assume that most of the demo scripts don't have to connect the Connection object themself. This would have the nice side effect to make demo scripts smaller and so more focused on the demoed code.
Comment 1 GitLab Migration User 2019-12-03 19:35:55 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-python/issues/5.

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.