aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkus Heidelberg <markus.heidelberg@web.de>2009-03-14 00:42:37 +0100
committerShawn O. Pearce <spearce@spearce.org>2009-03-16 19:57:48 -0700
commit379f84b8d19b5412aff5b9d6bd7bb1ada37b9353 (patch)
tree71fea4a4966677ecd622c0b206e8686de79d8de6
parent764369c5ea730894c75f32c2f94a651dd517fc5b (diff)
downloadgit-379f84b8d19b5412aff5b9d6bd7bb1ada37b9353.tar.gz
git-379f84b8d19b5412aff5b9d6bd7bb1ada37b9353.tar.xz
git-gui: don't hide the Browse button when resizing the repo chooser
Rather shrink the input field for "Create New Repository" and "Open Existing Repository" as it's already done for "Clone Existing Repository". Signed-off-by: Markus Heidelberg <markus.heidelberg@web.de> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
-rw-r--r--lib/choose_repository.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/choose_repository.tcl b/lib/choose_repository.tcl
index f9ff62a3b..09277e9fa 100644
--- a/lib/choose_repository.tcl
+++ b/lib/choose_repository.tcl
@@ -398,6 +398,8 @@ method _do_new {} {
grid $w_body.where.l $w_body.where.t $w_body.where.b -sticky ew
pack $w_body.where -fill x
+ grid columnconfigure $w_body.where 1 -weight 1
+
trace add variable @local_path write [cb _write_local_path]
bind $w_body.h <Destroy> [list trace remove variable @local_path write [cb _write_local_path]]
update
@@ -998,6 +1000,8 @@ method _do_open {} {
grid $w_body.where.l $w_body.where.t $w_body.where.b -sticky ew
pack $w_body.where -fill x
+ grid columnconfigure $w_body.where 1 -weight 1
+
trace add variable @local_path write [cb _write_local_path]
bind $w_body.h <Destroy> [list trace remove variable @local_path write [cb _write_local_path]]
update