add a default icon in disco window when there is no icon to show. Fixes #4442

This commit is contained in:
Yann Leboulanger 2008-11-02 13:20:12 +00:00
parent 2e24b393c3
commit 25935a2f25
1 changed files with 1 additions and 1 deletions

View File

@ -271,7 +271,7 @@ class ServicesCache:
info = _agent_type_info[(0, 0)]
filename = info[1]
if not filename: # we don't have an image to show for this type
return
filename = 'jabber.png'
# Use the cache if possible
if filename in _icon_cache:
return _icon_cache[filename]