path: root/lib/browser.tcl
diff options
authorShawn O. Pearce <>2007-05-09 01:33:14 (GMT)
committerShawn O. Pearce <>2007-05-09 01:38:55 (GMT)
commit685caf9af672811b45ebeaaa299b8f9fbd743d82 (patch)
tree495f04d8d65c16c736fa8f0d6eb7c44001944e51 /lib/browser.tcl
parent28bf928cf81eec720bc8a31179a0c9cf688d5af3 (diff)
git-gui: Convert blame to the "class" way of doing things
Our blame viewer code has historically been a mess simply because the data for multiple viewers was all crammed into a single pair of Tcl arrays. This made the code hard to read and even harder to maintain. Now that we have a slightly better way of tracking the data for our "meta-widgets" we can make use of it here in the blame viewer to cleanup the code and make it easier to work with long term. Signed-off-by: Shawn O. Pearce <>
Diffstat (limited to 'lib/browser.tcl')
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/browser.tcl b/lib/browser.tcl
index f9a4e1d..fd86b11 100644
--- a/lib/browser.tcl
+++ b/lib/browser.tcl
@@ -140,7 +140,7 @@ method _enter {} {
append p [lindex $n 1]
append p $name
- show_blame $browser_commit $p
+ blame::new $browser_commit $p