diff options
author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-12-15 15:46:01 +0100 |
---|---|---|
committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-12-15 15:46:01 +0100 |
commit | 79be794ddb2182a7ce120e98df6cd01f1a188e0a (patch) | |
tree | 0ceb24af3e45b38026dcfc678507fd3489f11032 /src/Gui | |
parent | fc9c23895b0a47ed60f06f746a5f0cd84f940a16 (diff) | |
download | abrt-79be794ddb2182a7ce120e98df6cd01f1a188e0a.tar.gz abrt-79be794ddb2182a7ce120e98df6cd01f1a188e0a.tar.xz abrt-79be794ddb2182a7ce120e98df6cd01f1a188e0a.zip |
GUI: autoscroll log window
Diffstat (limited to 'src/Gui')
-rw-r--r-- | src/Gui/CCMainWindow.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/Gui/CCMainWindow.py b/src/Gui/CCMainWindow.py index e429908e..8544b240 100644 --- a/src/Gui/CCMainWindow.py +++ b/src/Gui/CCMainWindow.py @@ -167,7 +167,10 @@ class MainWindow(): self.wTree.get_widget("lStatus").set_text(message) buff = gtk.TextBuffer() buff.set_text(self.updates) - self.wTree.get_widget("tvUpdates").set_buffer(buff) + end = buff.get_insert() + tvUpdates = self.wTree.get_widget("tvUpdates") + tvUpdates.set_buffer(buff) + tvUpdates.scroll_mark_onscreen(end) # call to update the progressbar def progress_update_cb(self, *args): |