fix a testing to be better when 32x32 is not at all there
This commit is contained in:
parent
582b0e320c
commit
792496b754
1 changed files with 1 additions and 1 deletions
|
@ -360,7 +360,7 @@ class TabbedChatWindow(chat.Chat):
|
||||||
state_images_16 = gajim.interface.roster.get_appropriate_state_images(jid)
|
state_images_16 = gajim.interface.roster.get_appropriate_state_images(jid)
|
||||||
|
|
||||||
# Set banner image
|
# Set banner image
|
||||||
if state_images_32[show].get_pixbuf():
|
if state_images.has_key(show) and state_images_32[show].get_pixbuf():
|
||||||
# we have 32x32! use it!
|
# we have 32x32! use it!
|
||||||
banner_image = state_images_32[show]
|
banner_image = state_images_32[show]
|
||||||
use_size_32 = True
|
use_size_32 = True
|
||||||
|
|
Loading…
Add table
Reference in a new issue