[telepathy-python/master] Specify the callback to call when the connection is ready
Sjoerd Simons
sjoerd at luon.net
Mon May 4 04:08:08 PDT 2009
---
examples/avatar.py | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/examples/avatar.py b/examples/avatar.py
index 6b0bdc7..2268e4b 100644
--- a/examples/avatar.py
+++ b/examples/avatar.py
@@ -46,7 +46,7 @@ def connection_ready_cb(connection):
window.connect('destroy', gtk.main_quit)
if __name__ == '__main__':
- conn = connection_from_file(sys.argv[1])
+ conn = connection_from_file(sys.argv[1], connection_ready_cb)
print 'connecting'
conn[CONN_INTERFACE].Connect()
--
1.5.6.5
More information about the telepathy-commits
mailing list