Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
git-gui: add horizontal scrollbar to commit buffer
[gitweb.git]
/
lib
/
status_bar.tcl
diff --git
a/lib/status_bar.tcl
b/lib/status_bar.tcl
index 5fe3aad382f43a30a099a106f7d51f136eda0652..02111a1742f92eff7efc6b8e54323919029867bc 100644
(file)
--- a/
lib/status_bar.tcl
+++ b/
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
@@
-76,6
+77,7
@@
method start {msg uds} {
method update {have total} {
set pdone 0
+ set cdone 0
if {$total > 0} {
set pdone [expr {100 * $have / $total}]
set cdone [expr {[winfo width $w_c] * $have / $total}]