git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: gitview: Set the default width of graph cell

From
Aneesh Kumar <aneesh.kumar@gmail.com>
Date
Mar 1, 2006, 07:15 UTC
Message-ID
<cc723f590602282315q7ffac2bbub8a1ee32ee123963@mail.gmail.com>
In-Reply-To
<440460DC.7080307@gmail.com>
On 2/28/06, Aneesh Kumar K.V <aneesh.kumar@gmail.com> wrote:
Show 8 quoted lines
>
>
> Subject: gitview: Set the default width  of graph cell
>
> Signed-off-by: Aneesh Kumar K.V <aneesh.kumar@gmail.com>
>
> ---
>

I guess this one is better. Please apply this one . This is on top of the previous one.

-aneesh
diff --git a/contrib/gitview/gitview b/contrib/gitview/gitview
index ea05cd4..de9f3f3 100755
--- a/contrib/gitview/gitview
+++ b/contrib/gitview/gitview
@@ -513,7 +513,7 @@ class 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()
@@ -526,9 +526,6 @@ 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)
Previous: Aneesh Kumar K.V
Message 2 of 2 in “gitview: Set the default width of graph cell”
  1. Aneesh Kumar K.VFeb 28, 2006
  2. Aneesh KumarMar 1, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.