Update to new tubes API

This commit is contained in:
Guillaume Desmottes 2007-08-28 20:39:10 +02:00
parent 7118cb59bc
commit 232ae8d082
2 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -1,3 +1,5 @@
* Update to new tubes API (cassidy)
Snapshot 246ec1e4aa
* Update arabic translation. (khaled)

View File

@ -34,7 +34,7 @@ class TubeConnection(Connection):
def __new__(cls, conn, tubes_iface, tube_id, address=None,
group_iface=None, mainloop=None):
if address is None:
address = tubes_iface.GetDBusServerAddress(tube_id)
address = tubes_iface.GetDBusTubeAddress(tube_id)
self = super(TubeConnection, cls).__new__(cls, address,
mainloop=mainloop)