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 = [] contacts = []
connection = gajim.connections[account] connection = gajim.connections[account]
# get our current contact info # get our current contact info
contact = Contact(jid=jid, name=account, contact = Contact(jid = jid, name = account,
show=connection.get_status(), show = connection.get_status(),
status=connection.status, sub = 'both',
resource=gajim.config.get_per('accounts', connection.name, 'resource'), status = connection.status,
priority=gajim.config.get_per('accounts', connection.name, 'priority'), resource = gajim.config.get_per('accounts', connection.name,
keyID=gajim.config.get_per('accounts', connection.name, 'keyid')) 'resource'),
priority = gajim.config.get_per('accounts', connection.name,
'priority'),
keyID = gajim.config.get_per('accounts', connection.name,
'keyid'))
contacts.append(contact) contacts.append(contact)
# if we're online ... # if we're online ...
if connection.connection: if connection.connection: