diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2007-07-08 22:06:33 -0400 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2007-07-08 22:34:54 -0400 |
commit | 51530d1722b0a4cccc630043fc4b46d075bf8558 (patch) | |
tree | 53e3be845dbb38255f9fd573367e5b4eb7857aac /lib/status_bar.tcl | |
parent | b29bd5ca3b0060513b7b96380fc43f7ab4f12156 (diff) | |
download | git-51530d1722b0a4cccc630043fc4b46d075bf8558.tar.gz git-51530d1722b0a4cccc630043fc4b46d075bf8558.tar.xz |
git-gui: Change the main window progress bar to use status_bar
Now that we have a fancy status bar mega-widget we can reuse that
within our main window. This opens the door for implementating
future improvements like a progress bar.
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/status_bar.tcl')
-rw-r--r-- | lib/status_bar.tcl | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/status_bar.tcl b/lib/status_bar.tcl index a6dea2900..0e2ac07a5 100644 --- a/lib/status_bar.tcl +++ b/lib/status_bar.tcl @@ -63,8 +63,10 @@ method stop {msg} { set status $msg } -method show {msg} { - set status $msg +method show {msg {test {}}} { + if {$test eq {} || $status eq $test} { + set status $msg + } } method _delete {current} { |