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

[PATCH] git-gui: fix usage of themed widgets variable

From
Heiko Voigt <hvoigt@hvoigt.net>
Date
Feb 20, 2010, 18:01 UTC
Message-ID
<20100220180114.GB15561@book.hvoigt.net>

There was one forgotten global so NS was not visible to the method which resulted in an error.

Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
---
 git-gui/lib/status_bar.tcl |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/git-gui/lib/status_bar.tcl b/git-gui/lib/status_bar.tcl
index 5fe3aad..95cb449 100644
--- a/git-gui/lib/status_bar.tcl
+++ b/git-gui/lib/status_bar.tcl
@@ -39,6 +39,7 @@ method _oneline_pack {} {
 }
 
 constructor two_line {path} {
+	global NS
 	set w $path
 	set w_l $w.l
 	set w_c $w.c
-- 
1.7.0.m5.rc2.13.g7abfa.dirty
Next: Pat Thoyts
Message 1 of 3 in “git-gui: fix usage of themed widgets variable”
  1. git-gui: fix usage of themed widgets variableHeiko Voigt, Feb 20, 2010
  2. Pat ThoytsFeb 20, 2010
  3. git-gui: fix usage of themed widgets variableHeiko Voigt, Feb 20, 2010

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.