path: root/lib/choose_repository.tcl
diff options
authorShawn O. Pearce <>2007-09-26 19:31:42 (GMT)
committerShawn O. Pearce <>2007-09-26 19:31:42 (GMT)
commit96225dbe966fdbf00ef1a3a1dd801534953c9919 (patch)
treec61a66c84ed6993135f76135a15ec641f9341d09 /lib/choose_repository.tcl
parenta7cb8f583ff6ef01c23b1694f30e9004271264f9 (diff)
git-gui: Make the status bar easier to read in the setup wizard
The setup wizard looks better if we layout the progress bar as two lines: the first line holds the message text and our text formatting of the progress while the second line holds the bar itself. Both extend the full width of the window and we try to pad out the message text so the window doesn't expand when the completed progress number jumps to the next order of magnitude. This change required updating the progress meter format string to allow the application to supply the precision. So we also are updating all of the translations at once to use the newer formatting string. Signed-off-by: Shawn O. Pearce <>
Diffstat (limited to 'lib/choose_repository.tcl')
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl
index 8d3c81e..16bf67c 100644
--- a/lib/choose_repository.tcl
+++ b/lib/choose_repository.tcl
@@ -481,7 +481,7 @@ method _do_clone2 {} {
switch -exact -- $clone_type {
hardlink {
- set o_cons [status_bar::new $w_body]
+ set o_cons [status_bar::two_line $w_body]
pack $w_body -fill x -padx 10 -pady 10
$o_cons start \
@@ -780,7 +780,7 @@ method _do_clone_checkout {HEAD} {
- set o_cons [status_bar::new $w_body]
+ set o_cons [status_bar::two_line $w_body]
pack $w_body -fill x -padx 10 -pady 10
$o_cons start \
[mc "Creating working directory"] \