[gnome-builder] buildui: keep textview aligned to natural position



commit 2956c2c144c3cd7f88d3f124ebe2163bdfbc5f87
Author: Christian Hergert <chergert redhat com>
Date:   Sat Feb 25 16:53:07 2017 -0800

    buildui: keep textview aligned to natural position
    
    1.0 means cursor should be as right as possible (which indicates that the
    buffer should be more naturally aligned).

 libide/buildui/ide-build-log-panel.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libide/buildui/ide-build-log-panel.c b/libide/buildui/ide-build-log-panel.c
index 5d5abd6..5817c59 100644
--- a/libide/buildui/ide-build-log-panel.c
+++ b/libide/buildui/ide-build-log-panel.c
@@ -548,7 +548,7 @@ ide_build_log_panel_log_observer (IdeBuildLogStream  stream,
   ide_build_log_panel_insert_text (self, message, &iter, stream);
 
   insert = gtk_text_buffer_get_insert (self->buffer);
-  gtk_text_view_scroll_to_mark (self->text_view, insert, 0.0, TRUE, 0.0, 0.0);
+  gtk_text_view_scroll_to_mark (self->text_view, insert, 0.0, TRUE, 1.0, 0.0);
 }
 
 void


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]