diff --git a/src/chat.py b/src/chat.py index 01f8bb92e..4831d97d0 100644 --- a/src/chat.py +++ b/src/chat.py @@ -697,7 +697,7 @@ class Chat: #we are at the end or we are sending something end = True # We scroll to the end after the scrollbar has appeared - gobject.timeout_add(50, self.scroll_to_end, textview) + gobject.idle_add(self.scroll_to_end, textview) if ((jid != self.get_active_jid()) or \ (not self.window.is_active()) or \ (not end)) and kind == 'incoming':