fix account tooltip

This commit is contained in:
Yann Leboulanger 2005-11-14 10:24:38 +00:00
parent f5bd526129
commit df6474ec3b
1 changed files with 10 additions and 6 deletions

View File

@ -746,12 +746,16 @@ class RosterWindow:
contacts = []
connection = gajim.connections[account]
# get our current contact info
contact = Contact(jid=jid, name=account,
show=connection.get_status(),
status=connection.status,
resource=gajim.config.get_per('accounts', connection.name, 'resource'),
priority=gajim.config.get_per('accounts', connection.name, 'priority'),
keyID=gajim.config.get_per('accounts', connection.name, 'keyid'))
contact = Contact(jid = jid, name = account,
show = connection.get_status(),
sub = 'both',
status = connection.status,
resource = gajim.config.get_per('accounts', connection.name,
'resource'),
priority = gajim.config.get_per('accounts', connection.name,
'priority'),
keyID = gajim.config.get_per('accounts', connection.name,
'keyid'))
contacts.append(contact)
# if we're online ...
if connection.connection: