at last a way to always scroll to end. thanks muntyan from #gtk+ :)
This commit is contained in:
parent
d8e0b91ee8
commit
1a5927afb2
|
@ -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':
|
||||
|
|
Loading…
Reference in New Issue