default to jabber iconset when we try to get unknown transport one.
This commit is contained in:
parent
d4710d87b4
commit
3c4333b66b
1 changed files with 4 additions and 3 deletions
|
@ -453,8 +453,9 @@ class RosterWindow:
|
||||||
transport: transport iconset doesn't contain all icons, so we fall back
|
transport: transport iconset doesn't contain all icons, so we fall back
|
||||||
to jabber one'''
|
to jabber one'''
|
||||||
transport = gajim.get_transport_name_from_jid(jid)
|
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][transport]:
|
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.transports_state_images[size][transport]
|
||||||
return self.jabber_state_images[size]
|
return self.jabber_state_images[size]
|
||||||
|
|
||||||
|
@ -2494,7 +2495,7 @@ _('If "%s" accepts this request you will know his or her status.') % jid)
|
||||||
no_queue = True
|
no_queue = True
|
||||||
if qs.has_key(fjid):
|
if qs.has_key(fjid):
|
||||||
no_queue = False
|
no_queue = False
|
||||||
|
|
||||||
popup = helpers.allow_popup_window(account)
|
popup = helpers.allow_popup_window(account)
|
||||||
|
|
||||||
if msg_type == 'normal' and popup: # it's single message to be autopopuped
|
if msg_type == 'normal' and popup: # it's single message to be autopopuped
|
||||||
|
|
Loading…
Add table
Reference in a new issue