gnome-utils r8540 - branches/gnome-2-26/logview
- From: cosimoc svn gnome org
- To: svn-commits-list gnome org
- Subject: gnome-utils r8540 - branches/gnome-2-26/logview
- Date: Thu, 2 Apr 2009 20:16:28 +0000 (UTC)
Author: cosimoc
Date: Thu Apr 2 20:16:28 2009
New Revision: 8540
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=8540&view=rev
Log:
2009-04-02 Cosimo Cecchi <cosimoc gnome org>
* logview-window.c: automatically scroll to the bottom of the view
when new lines are added to the active log (#576414).
Modified:
branches/gnome-2-26/logview/ChangeLog
branches/gnome-2-26/logview/logview-window.c
Modified: branches/gnome-2-26/logview/logview-window.c
==============================================================================
--- branches/gnome-2-26/logview/logview-window.c (original)
+++ branches/gnome-2-26/logview/logview-window.c Thu Apr 2 20:16:28 2009
@@ -839,6 +839,9 @@
gtk_text_buffer_delete_mark (buffer, mark);
}
+ gtk_text_view_scroll_to_iter (GTK_TEXT_VIEW (window->priv->text_view),
+ &iter, 0.0, FALSE, 0.0, 0.0);
+
paint_timestamps (buffer, old_line_count, new_days);
if (window->priv->monitor_id == 0) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]