Daniel Brötzmann pushed to branch master at gajim / gajim


Commits:
303f36b9 by André Apitzsch at 2021-06-07T21:59:04+02:00
Fix spell checking

Fixes #10558.

- - - - -


1 changed file:

- gajim/gtk/message_input.py


Changes:

=====================================
gajim/gtk/message_input.py
=====================================
@@ -108,11 +108,13 @@ def _on_destroy(self, *args):
             Gdk.DragAction.DEFAULT)
 
     def _on_focus_in(self, _widget, _event):
+        self.toggle_speller(True)
         scrolled = self.get_parent()
         scrolled.get_style_context().add_class('message-input-focus')
         return False
 
     def _on_focus_out(self, _widget, _event):
+        self.toggle_speller(False)
         scrolled = self.get_parent()
         scrolled.get_style_context().remove_class('message-input-focus')
         return False



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/303f36b9afd39ed781b57a945dd7555e35956047

-- 
View it on GitLab: 
https://dev.gajim.org/gajim/gajim/-/commit/303f36b9afd39ed781b57a945dd7555e35956047
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

Reply via email to