Daniel Brötzmann pushed to branch unify-control at gajim / gajim
Commits: 8102160e by wurstsalat at 2022-08-09T20:27:05+02:00 fix: GroupchatRoster: Fix displaying roster on first contact switch
- - - - - d8132238 by wurstsalat at 2022-08-09T20:33:48+02:00 imprv: GroupchatRoster: Remove scrolled shadow
- - - - -
2 changed files:
- gajim/data/gui/groupchat_roster.ui - gajim/gtk/groupchat_roster.py
Changes:
===================================== gajim/data/gui/groupchat_roster.ui ===================================== @@ -18,7 +18,6 @@ <property name="visible">True</property> <property name="can-focus">True</property> <property name="hscrollbar-policy">never</property> - <property name="shadow-type">in</property> <child> <object class="GtkTreeView" id="roster_treeview"> <property name="visible">True</property>
===================================== gajim/gtk/groupchat_roster.py ===================================== @@ -110,7 +110,6 @@ def __init__(self) -> None: ('theme-update', ged.GUI2, self._on_theme_update), ])
- self.set_no_show_all(True) self.set_reveal_child( not app.settings.get('hide_groupchat_occupants_list'))
@@ -136,7 +135,8 @@ def switch_contact(self, contact: types.ChatContactT) -> None: self.clear()
is_groupchat = isinstance(contact, GroupchatContact) - self.set_visible(is_groupchat) + hide_roster = app.settings.get('hide_groupchat_occupants_list') + self.set_visible(is_groupchat and not hide_roster) if not is_groupchat: return
View it on GitLab: https://dev.gajim.org/gajim/gajim/-/compare/7066d32baa6256987c0d14787307700d...