scroll to end when changing from compact view

to "full view"
This commit is contained in:
Dimitur Kirov 2005-07-29 18:10:23 +00:00
parent 6eaf3e1085
commit ba229ed0e6
1 changed files with 5 additions and 0 deletions

View File

@ -1129,3 +1129,8 @@ class Chat:
else:
widget.set_no_show_all(False)
widget.show_all()
# make the last message visible, when changing to "full view"
if not state:
conversation_textview = \
self.xmls[jid].get_widget('conversation_textview')
gobject.idle_add(self.scroll_to_end_iter, conversation_textview)