set visible property to False when there is no secondary pixbuf.

This commit is contained in:
Yann Leboulanger 2007-06-27 08:28:36 +00:00
parent 7a399e980b
commit 497d5d0e0e
1 changed files with 4 additions and 0 deletions

View File

@ -4468,6 +4468,10 @@ class RosterWindow:
padlock)''' padlock)'''
theme = gajim.config.get('roster_theme') theme = gajim.config.get('roster_theme')
type_ = model[iter][C_TYPE] type_ = model[iter][C_TYPE]
if model[iter][C_SECPIXBUF]:
renderer.set_property('visible', True)
else:
renderer.set_property('visible', False)
if type_ == 'account': if type_ == 'account':
color = gajim.config.get_per('themes', theme, 'accountbgcolor') color = gajim.config.get_per('themes', theme, 'accountbgcolor')
if color: if color: