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

Re: [PATCH] git-gui: span widgets over the full file output area in the blame view

From
Pat Thoyts <patthoyts@users.sourceforge.net>
Date
Oct 21, 2011, 21:41 UTC
Message-ID
<87mxcu3tuw.fsf@fox.patthoyts.tk>
In-Reply-To
<16d7f36e4d24d8816035f934836395e5f854f1d3.1319138993.git.bert.wesarg@googlemail.com>
Bert Wesarg <bert.wesarg@googlemail.com> writes:
Show 36 quoted lines
>Signed-off-by: Bert Wesarg <bert.wesarg@googlemail.com>
>---
> lib/blame.tcl |    9 ++++++---
> 1 files changed, 6 insertions(+), 3 deletions(-)
>
>diff --git a/lib/blame.tcl b/lib/blame.tcl
>index 49eae19..b031e66 100644
>--- a/lib/blame.tcl
>+++ b/lib/blame.tcl
>@@ -219,7 +219,8 @@ constructor new {i_commit i_path i_jump} {
> 	eval grid $w_columns $w.file_pane.out.sby -sticky nsew
> 	grid conf \
> 		$w.file_pane.out.sbx \
>-		-column [expr {[llength $w_columns] - 1}] \
>+		-column 0 \
>+		-columnspan [expr {[llength $w_columns] + 1}] \
> 		-sticky we
> 	grid columnconfigure \
> 		$w.file_pane.out \
>@@ -229,12 +230,14 @@ constructor new {i_commit i_path i_jump} {
> 
> 	set finder [::searchbar::new \
> 		$w.file_pane.out.ff $w_file \
>-		-column [expr {[llength $w_columns] - 1}] \
>+		-column 0 \
>+		-columnspan [expr {[llength $w_columns] + 1}] \
> 		]
> 
> 	set gotoline [::linebar::new \
> 		$w.file_pane.out.lf $w_file \
>-		-column [expr {[llength $w_columns] - 1}] \
>+		-column 0 \
>+		-columnspan [expr {[llength $w_columns] + 1}] \
> 		]
> 
> 	set w_cviewer $w.file_pane.cm.t
Looks good. Applied.
-- 
Pat Thoyts                            http://www.patthoyts.tk/
PGP fingerprint 2C 6E 98 07 2C 59 C8 97  10 CE 11 E6 04 E0 B9 DD
Previous: Bert Wesarg
Message 2 of 2 in “git-gui: span widgets over the full file output area in the blame view”
  1. git-gui: span widgets over the full file output area in the blame viewBert Wesarg, Oct 20, 2011
  2. Pat ThoytsOct 21, 2011

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.