[meld] Allow columns in VC view to be resized by the user (bgo#699052)



commit 0bb0e6a88329c4c4473e46f4c74e6e98e2014d08
Author: Kai Willadsen <kai willadsen gmail com>
Date:   Tue Apr 30 07:07:05 2013 +1000

    Allow columns in VC view to be resized by the user (bgo#699052)

 meld/vcview.py |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/meld/vcview.py b/meld/vcview.py
index 4429d45..7d8e86d 100644
--- a/meld/vcview.py
+++ b/meld/vcview.py
@@ -273,6 +273,7 @@ class VcView(melddoc.MeldDoc, gnomeglade.Component):
 
         self.column_name_map = {}
         column = gtk.TreeViewColumn(_("Name"))
+        column.set_resizable(True)
         renicon = emblemcellrenderer.EmblemCellRenderer()
         rentext = gtk.CellRendererText()
         column.pack_start(renicon, expand=0)
@@ -292,6 +293,7 @@ class VcView(melddoc.MeldDoc, gnomeglade.Component):
 
         def addCol(name, num, data_name=None):
             column = gtk.TreeViewColumn(name)
+            column.set_resizable(True)
             rentext = gtk.CellRendererText()
             column.pack_start(rentext, expand=0)
             column.set_attributes(rentext,


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