Bug 17385 - examples should be able to use existing connections
Summary: examples should be able to use existing connections
Alias: None
Product: Telepathy
Classification: Unclassified
Component: tp-python (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Dafydd Harries
QA Contact: Telepathy bugs list
Depends on:
Reported: 2008-09-01 02:44 UTC by Guillaume Desmottes
Modified: 2019-12-03 19:35 UTC (History)
0 users

See Also:
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.