gnome-utils r8539 - trunk/logview



Author: cosimoc
Date: Thu Apr  2 20:15:38 2009
New Revision: 8539
URL: http://svn.gnome.org/viewvc/gnome-utils?rev=8539&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:
   trunk/logview/ChangeLog
   trunk/logview/logview-window.c

Modified: trunk/logview/logview-window.c
==============================================================================
--- trunk/logview/logview-window.c	(original)
+++ trunk/logview/logview-window.c	Thu Apr  2 20:15:38 2009
@@ -1048,6 +1048,9 @@
   }
   filter_buffer (window, filter_start_line);
 
+  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]