Daniel Brötzmann pushed to branch mainwindow at gajim / gajim
Commits: e4104a9d by wurstsalat at 2021-10-31T23:39:57+01:00 Revert "Control: Reset active control when unselecting chat" This reverts commit d4f2d9f4843e7c1adf175fe32509e14010e48df1. - - - - - 2 changed files: - gajim/gtk/chat_page.py - gajim/gtk/chat_stack.py Changes: ===================================== gajim/gtk/chat_page.py ===================================== @@ -132,7 +132,6 @@ def _on_chat_selected(self, _chat_list_stack, workspace_id, account, jid): def _on_chat_unselected(self, _chat_list_stack): self._chat_stack.clear() - self._chat_stack.reset_active_control() self._search_view.set_context(None, None) def _on_search_history(self, _action, _param): ===================================== gajim/gtk/chat_stack.py ===================================== @@ -105,10 +105,6 @@ def show_chat(self, account, jid): self._active_control = control GLib.idle_add(control.focus) - def reset_active_control(self): - self._active_control.reset_view() - self._active_control = None - def clear(self): self.set_visible_child_name('empty') View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/e4104a9d29f7132fd7dc2a1ac30deb1c1230bedc -- View it on GitLab: https://dev.gajim.org/gajim/gajim/-/commit/e4104a9d29f7132fd7dc2a1ac30deb1c1230bedc You're receiving this email because of your account on dev.gajim.org.
_______________________________________________ Commits mailing list Commits@gajim.org https://lists.gajim.org/cgi-bin/listinfo/commits