Code

gitview: Set the default width of graph cell
authorAneesh Kumar K.V <aneesh.kumar@gmail.com>
Tue, 28 Feb 2006 14:40:28 +0000 (20:10 +0530)
committerJunio C Hamano <junkio@cox.net>
Tue, 28 Feb 2006 19:02:10 +0000 (11:02 -0800)
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/gitview/gitview

index 47ecaa3566bfe0e7bf8109f42462ecd561aeb257..ea05cd42401a92777daba721a6f78c55f2e10848 100755 (executable)
@@ -526,6 +526,9 @@ class GitView:
                self.treeview.show()
 
                cell = CellRendererGraph()
+               #  Set the default width to 265
+               #  This make sure that we have nice display with large tag names
+               cell.set_property("width", 265)
                column = gtk.TreeViewColumn()
                column.set_resizable(True)
                column.pack_start(cell, expand=True)