[latexila] Build View: hide the header (job/file/line)



commit f4bf35744524cc7a13c60c7a3bbf1c864e71dfd5
Author: SÃbastien Wilmet <swilmet src gnome org>
Date:   Fri Apr 13 20:49:11 2012 +0200

    Build View: hide the header (job/file/line)
    
    It is not really useful, and it takes vertical space.

 src/build_view.vala |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/build_view.vala b/src/build_view.vala
index c6a8c09..f91592f 100644
--- a/src/build_view.vala
+++ b/src/build_view.vala
@@ -120,9 +120,9 @@ public class BuildView : Grid
 
         /* create tree view */
         _view = new TreeView.with_model (_filtered_model);
+        _view.headers_visible = false;
 
         TreeViewColumn column_job = new TreeViewColumn ();
-        column_job.title = _("Job");
 
         CellRendererPixbuf renderer_pixbuf = new CellRendererPixbuf ();
         column_job.pack_start (renderer_pixbuf, false);
@@ -138,9 +138,9 @@ public class BuildView : Grid
 
         _view.append_column (column_job);
 
-        _view.insert_column_with_attributes (-1, _("File"), new CellRendererText (),
+        _view.insert_column_with_attributes (-1, null, new CellRendererText (),
             "text", BuildInfo.BASENAME);
-        _view.insert_column_with_attributes (-1, _("Line"), new CellRendererText (),
+        _view.insert_column_with_attributes (-1, null, new CellRendererText (),
             "text", BuildInfo.LINE);
 
         _view.set_tooltip_column (BuildInfo.PATH);



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