at last a way to always scroll to end. thanks muntyan from #gtk+ :)

This commit is contained in:
Nikos Kouremenos 2005-05-14 22:24:14 +00:00
parent d8e0b91ee8
commit 1a5927afb2
1 changed files with 1 additions and 1 deletions

View File

@ -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':