default to jabber iconset when we try to get unknown transport one.
This commit is contained in:
parent
d4710d87b4
commit
3c4333b66b
|
@ -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]
|
||||
|
|
Loading…
Reference in New Issue