Yann Leboulanger pushed to branch master at gajim / gajim

Commits:

1 changed file:

Changes:

  • gajim/groupchat_control.py
    ... ... @@ -368,8 +368,6 @@ class GroupchatControl(ChatControlBase):
    368 368
     
    
    369 369
             self.widget_set_visible(self.xml.get_object('banner_eventbox'),
    
    370 370
                 app.config.get('hide_groupchat_banner'))
    
    371
    -        self.widget_set_visible(self.xml.get_object('list_scrolledwindow'),
    
    372
    -            app.config.get('hide_groupchat_occupants_list'))
    
    373 371
     
    
    374 372
             self._last_selected_contact = None # None or holds jid, account tuple
    
    375 373
     
    
    ... ... @@ -409,9 +407,10 @@ class GroupchatControl(ChatControlBase):
    409 407
             id_ = self.hpaned.connect('notify', self.on_hpaned_notify)
    
    410 408
             self.handlers[id_] = self.hpaned
    
    411 409
     
    
    412
    -        # Hide the Roster per default
    
    413
    -        self.hpaned.get_child2().set_no_show_all(True)
    
    414
    -        self.hpaned.get_child2().hide()
    
    410
    +        if app.config.get('hide_groupchat_occupants_list'):
    
    411
    +            # Hide the roster by default
    
    412
    +            self.hpaned.get_child2().set_no_show_all(True)
    
    413
    +            self.hpaned.get_child2().hide()
    
    415 414
     
    
    416 415
             # set the position of the current hpaned
    
    417 416
             hpaned_position = app.config.get('gc-hpaned-position')