Philipp Hörist pushed to branch master at gajim / gajim
Commits:
a3754216 by Daniel Brötzmann at 2019-06-24T20:12:08Z
GroupchatControl: Remove correcting state when minimizing
Minimizing a GroupChatControl should remove the self.correcting state to
avoid being in this state when restoring. Fixes #9580
- - - - -
1 changed file:
- gajim/groupchat_control.py
Changes:
=====================================
gajim/groupchat_control.py
=====================================
@@ -2197,6 +2197,14 @@ class GroupchatControl(ChatControlBase):
win.notebook.remove_page(ctrl_page)
control.unparent()
ctrl.parent_win = None
+
+ # Stop correcting message when we minimize
+ if self.correcting:
+ self.correcting = False
+ gtkgui_helpers.remove_css_class(
+ self.msg_textview, 'gajim-msg-correcting')
+ self.msg_textview.get_buffer().set_text('')
+
con = app.connections[self.account]
con.get_module('Chatstate').set_chatstate(self.contact,
Chatstate.INACTIVE)
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/a3754216528c7e68217d4f58aeacbb85f124a3c0
--
View it on GitLab:
https://dev.gajim.org/gajim/gajim/commit/a3754216528c7e68217d4f58aeacbb85f124a3c0
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