提交 379f84b8 编写于 作者: M Markus Heidelberg 提交者: Shawn O. Pearce

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: NMarkus Heidelberg <markus.heidelberg@web.de>
Signed-off-by: NShawn O. Pearce <spearce@spearce.org>
上级 764369c5
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册