[Pkg-bazaar-commits] ./bzr-gtk/unstable r403: Set a maximum width on the graph column.

Daniel Schierbeck daniel.schierbeck at gmail.com
Fri Apr 10 07:50:13 UTC 2009


------------------------------------------------------------
revno: 403
committer: Daniel Schierbeck <daniel.schierbeck at gmail.com>
branch nick: menubar
timestamp: Thu 2007-11-22 01:36:32 +0100
message:
  Set a maximum width on the graph column.
modified:
  viz/treeview.py
-------------- next part --------------
=== modified file 'viz/treeview.py'
--- a/viz/treeview.py	2007-11-22 00:21:46 +0000
+++ b/viz/treeview.py	2007-11-22 00:36:32 +0000
@@ -225,6 +225,8 @@
         self.model = TreeModel(self.branch.repository, linegraphdata)
         self.graph_cell.columns_len = columns_len
         width = self.graph_cell.get_size(self.treeview)[2]
+        if width > 500:
+            width = 500
         self.graph_column.set_fixed_width(width)
         self.graph_column.set_max_width(width)
         self.index = index



More information about the Pkg-bazaar-commits mailing list