show the correct status icon, not the one from

helpers
This commit is contained in:
Dimitur Kirov 2006-02-28 10:54:14 +00:00
parent d59678c60f
commit 182490359c
1 changed files with 1 additions and 2 deletions

View File

@ -420,9 +420,8 @@ class RosterTooltip(NotificationAreaTooltip):
# primary contact
prim_contact = gajim.contacts.get_highest_prio_contact_from_contacts(
contacts)
# try to find the image for the contact status
icon_name = helpers.get_icon_name_to_show(prim_contact)
icon_name = prim_contact.show
state_file = icon_name.replace(' ', '_')
transport = gajim.get_transport_name_from_jid(prim_contact.jid)
if transport: