default to jabber iconset when we try to get unknown transport one.

This commit is contained in:
Yann Leboulanger 2006-08-25 10:55:53 +00:00
parent d4710d87b4
commit 3c4333b66b
1 changed files with 4 additions and 3 deletions

View File

@ -453,7 +453,8 @@ class RosterWindow:
transport: transport iconset doesn't contain all icons, so we fall back
to jabber one'''
transport = gajim.get_transport_name_from_jid(jid)
if transport and icon_name in \
if transport and self.transports_state_images.has_key(size) and \
self.transports_state_images[size].has_key(transport) and icon_name in \
self.transports_state_images[size][transport]:
return self.transports_state_images[size][transport]
return self.jabber_state_images[size]