Skip to content

Commit

Permalink
git-gui: don't hide the Browse button when resizing the repo chooser
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Markus Heidelberg authored and Shawn O. Pearce committed Mar 17, 2009
1 parent 764369c commit 379f84b
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/choose_repository.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 379f84b

Please sign in to comment.