git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] git-gui: don't hide the Browse button when resizing the repo chooser
@ 2009-03-13 23:42 Markus Heidelberg
  2009-03-16 11:24 ` Stefan Näwe
  0 siblings, 1 reply; 2+ messages in thread
From: Markus Heidelberg @ 2009-03-13 23:42 UTC (permalink / raw
  To: Shawn O. Pearce; +Cc: git

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>
---
 git-gui/lib/choose_repository.tcl |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/git-gui/lib/choose_repository.tcl b/git-gui/lib/choose_repository.tcl
index f9ff62a..09277e9 100644
--- a/git-gui/lib/choose_repository.tcl
+++ b/git-gui/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
-- 
1.6.2.106.gc2bb8

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] git-gui: don't hide the Browse button when resizing the repo chooser
  2009-03-13 23:42 [PATCH] git-gui: don't hide the Browse button when resizing the repo chooser Markus Heidelberg
@ 2009-03-16 11:24 ` Stefan Näwe
  0 siblings, 0 replies; 2+ messages in thread
From: Stefan Näwe @ 2009-03-16 11:24 UTC (permalink / raw
  To: git

Markus Heidelberg <markus.heidelberg <at> web.de> writes:

> 
> Rather shrink the input field for "Create New Repository" and "Open
> Existing Repository" as it's already done for "Clone Existing
> Repository".
> 

Somewhat offtopic:

Is there a way to get the repository chooser _again_ after opening a repository  
(i.e. to switch to another repo) ?

Regards,

Stefan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-03-16 11:26 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-03-13 23:42 [PATCH] git-gui: don't hide the Browse button when resizing the repo chooser Markus Heidelberg
2009-03-16 11:24 ` Stefan Näwe

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).