Philipp Hörist pushed to branch master at gajim / gajim


Commits:
22cb839e by Philipp Hörist at 2019-10-09T20:50:44Z
Autoscroll correctly to the end after sending a message

On some systems when an encrypted message was written and the lock
icon was displayed, the textview did not scroll to the end.

Fixes #9443

- - - - -


1 changed file:

- gajim/conversation_textview.py


Changes:

=====================================
gajim/conversation_textview.py
=====================================
@@ -368,7 +368,7 @@ class ConversationTextview(GObject.GObject):
 
     def scroll_to_end(self, force=False):
         if self.autoscroll or force:
-            util.scroll_to_end(self.tv.get_parent())
+            GLib.idle_add(util.scroll_to_end, self.tv.get_parent())
 
     def correct_message(self, correct_id, kind, name):
         allowed = True



View it on GitLab: 
https://dev.gajim.org/gajim/gajim/commit/22cb839ed8076dbc992b3d447b580d0cb14e57d4

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