[gnome-builder] terminal plugin: set scrollback to max



commit c70f43522fcd58943d1b9079917d3c3956869bd2
Author: Sebastien Lafargue <slafargue gnome org>
Date:   Fri Nov 6 18:51:34 2015 +0100

    terminal plugin: set scrollback to max
    
    https://bugzilla.gnome.org/show_bug.cgi?id=757695

 plugins/terminal/gb-terminal-view.c  |    1 +
 plugins/terminal/gb-terminal-view.ui |    1 +
 2 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/terminal/gb-terminal-view.c b/plugins/terminal/gb-terminal-view.c
index 6bd085b..de22ff1 100644
--- a/plugins/terminal/gb-terminal-view.c
+++ b/plugins/terminal/gb-terminal-view.c
@@ -444,6 +444,7 @@ gb_terminal_set_split_view (GbView   *view,
 
       self->terminal_bottom = g_object_new (VTE_TYPE_TERMINAL,
                                             "audible-bell", FALSE,
+                                            "scrollback-lines", G_MAXUINT,
                                             "expand", TRUE,
                                             "visible", TRUE,
                                             NULL);
diff --git a/plugins/terminal/gb-terminal-view.ui b/plugins/terminal/gb-terminal-view.ui
index da1c1a3..e5da6bd 100644
--- a/plugins/terminal/gb-terminal-view.ui
+++ b/plugins/terminal/gb-terminal-view.ui
@@ -17,6 +17,7 @@
                 <property name="audible-bell">false</property>
                 <property name="expand">true</property>
                 <property name="visible">true</property>
+                <property name="scrollback-lines">0xffffffff</property>
               </object>
             </child>
           </object>


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