Yann Leboulanger pushed to branch master at gajim / gajim
Commits: 14f3e041 by Yann Leboulanger at 2018-03-06T21:53:38+01:00 Use hide_groupchat_occupants_list option to decide if we show the occupant list or not. Fixes #8922
- - - - -
1 changed file:
- gajim/groupchat_control.py
Changes:
===================================== gajim/groupchat_control.py ===================================== --- a/gajim/groupchat_control.py +++ b/gajim/groupchat_control.py @@ -368,8 +368,6 @@ class GroupchatControl(ChatControlBase):
self.widget_set_visible(self.xml.get_object('banner_eventbox'), app.config.get('hide_groupchat_banner')) - self.widget_set_visible(self.xml.get_object('list_scrolledwindow'), - app.config.get('hide_groupchat_occupants_list'))
self._last_selected_contact = None # None or holds jid, account tuple
@@ -409,9 +407,10 @@ class GroupchatControl(ChatControlBase): id_ = self.hpaned.connect('notify', self.on_hpaned_notify) self.handlers[id_] = self.hpaned
- # Hide the Roster per default - self.hpaned.get_child2().set_no_show_all(True) - self.hpaned.get_child2().hide() + if app.config.get('hide_groupchat_occupants_list'): + # Hide the roster by default + self.hpaned.get_child2().set_no_show_all(True) + self.hpaned.get_child2().hide()
# set the position of the current hpaned hpaned_position = app.config.get('gc-hpaned-position')
View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/14f3e041deb533f3459693b09e08d264972...
--- View it on GitLab: https://dev.gajim.org/gajim/gajim/commit/14f3e041deb533f3459693b09e08d264972... You're receiving this email because of your account on dev.gajim.org.