summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2b74cff)
raw | patch | inline | side by side (parent: 2b74cff)
author | Aneesh Kumar K.V <aneesh.kumar@gmail.com> | |
Thu, 2 Mar 2006 04:29:53 +0000 (09:59 +0530) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Thu, 2 Mar 2006 05:32:00 +0000 (21:32 -0800) |
Earlier we set up the window to never scroll
horizontally, which made it harder to use on a narrow screen.
This patch allows scrollbar to be used as needed by Gtk
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
horizontally, which made it harder to use on a narrow screen.
This patch allows scrollbar to be used as needed by Gtk
Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/gitview/gitview | patch | blob | history |
index ea05cd42401a92777daba721a6f78c55f2e10848..de9f3f3c72ab81ae2563e5d8742bbe49ae7ae61d 100755 (executable)
--- a/contrib/gitview/gitview
+++ b/contrib/gitview/gitview
scrollwin = gtk.ScrolledWindow()
- scrollwin.set_policy(gtk.POLICY_NEVER, gtk.POLICY_AUTOMATIC)
+ scrollwin.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC)
scrollwin.set_shadow_type(gtk.SHADOW_IN)
vbox.pack_start(scrollwin, expand=True, fill=True)
scrollwin.show()
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)