git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[PATCH] git-gui: don't hide the Browse button when resizing the repo chooser

From
Markus Heidelberg <markus.heidelberg@web.de>
Date
Mar 13, 2009, 23:42 UTC
Message-ID
<200903140042.37845.markus.heidelberg@web.de>

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
Next: Stefan Näwe
Message 1 of 2 in “git-gui: don't hide the Browse button when resizing the repo chooser”
  1. git-gui: don't hide the Browse button when resizing the repo chooserMarkus Heidelberg, Mar 13, 2009
  2. Stefan NäweMar 16, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.