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>
Markus Heidelberg committed
Mar 14, 2009 at 00:42 UTC
379f84b8d19b5412aff5b9d6bd7bb1ada37b9353
1 file changed
+4
lib/choose_repository.tcl
+4
@@ -398,6 +398,8 @@ method _do_new {} {
398
grid $w_body.where.l $w_body.where.t $w_body.where.b -sticky ew
399
pack $w_body.where -fill x
400
401
+ grid columnconfigure $w_body.where 1 -weight 1
402
+
403
trace add variable @local_path write [cb _write_local_path]
404
bind $w_body.h <Destroy> [list trace remove variable @local_path write [cb _write_local_path]]
405
update
@@ -998,6 +1000,8 @@ method _do_open {} {
1000
grid $w_body.where.l $w_body.where.t $w_body.where.b -sticky ew
1001
pack $w_body.where -fill x
1002
1003
+ grid columnconfigure $w_body.where 1 -weight 1
1004
+
1005
trace add variable @local_path write [cb _write_local_path]
1006
bind $w_body.h <Destroy> [list trace remove variable @local_path write [cb _write_local_path]]
1007
update