set visible property to False when there is no secondary pixbuf.
This commit is contained in:
parent
7a399e980b
commit
497d5d0e0e
|
@ -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:
|
||||||
|
|
Loading…
Reference in New Issue