Daniel Brötzmann pushed to branch master at gajim / gajim
Commits:
63c362f5 by wurstsalat at 2022-08-26T23:29:54+02:00
imprv: ChatList: Always show when switching workspace
Fixes #11108
- - - - -
1 changed file:
- gajim/gtk/main.py
Changes:
=====================================
gajim/gtk/main.py
=====================================
@@ -653,6 +653,13 @@ def activate_workspace(self, workspace_id: str) -> None:
self._main_stack.show_chats(workspace_id)
self._workspace_side_bar.activate_workspace(workspace_id)
+ # Show chatlist if it is hidden
+ chat_list_stack = self._chat_page.get_chat_list_stack()
+ chat_list = chat_list_stack.get_current_chat_list()
+ if chat_list is not None:
+ if not chat_list.is_visible():
+ self._toggle_chat_list()
+
def update_workspace(self, workspace_id: str) -> None:
self._chat_page.update_workspace(workspace_id)
self._workspace_side_bar.update_avatar(workspace_id)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/63c362f5f458ecc5b7771ac3d930e3b562471079
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/-/commit/63c362f5f458ecc5b7771ac3d930e3b562471079
You're receiving this email because of your account on dev.gajim.org.
_______________________________________________
Commits mailing list
[email protected]
https://lists.gajim.org/cgi-bin/listinfo/commits