Show
Ignore:
Timestamp:
09/03/07 10:56:35 (15 months ago)
Author:
asterix
Message:

set visible property to False when there is no secondary pixbuf (roster and muc).

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • branches/gajim_0.11.1/src/roster_window.py

    r8667 r8696  
    38763876                theme = gajim.config.get('roster_theme') 
    38773877                type_ = model[iter][C_TYPE] 
     3878                # allocate space for the icon only if needed 
     3879                if model[iter][C_SECPIXBUF]: 
     3880                        renderer.set_property('visible', True) 
     3881                else: 
     3882                        renderer.set_property('visible', False) 
    38783883                if type_ == 'account': 
    38793884                        color = gajim.config.get_per('themes', theme, 'accountbgcolor')