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

Re: [msysGit] [PATCH] git-gui: make sure placement of panedwindow sashes happens correctly on startup

From
Johannes Sixt <j6t@kdbg.org>
Date
May 2, 2010, 19:00 UTC
Message-ID
<4BDDCBE2.7040204@kdbg.org>
In-Reply-To
<20100501182918.GA19769@atlantic.linksys.moosehall>
Am 01.05.2010 20:29, schrieb Adam Spiers:
Show 12 quoted lines
> diff --git a/git-gui.sh b/git-gui.sh
> index 8996d2d..9585d7f 100755
> --- a/git-gui.sh
> +++ b/git-gui.sh
> @@ -3466,6 +3466,7 @@ $main_status show [mc "Initializing..."]
>   catch {
>   set gm $repo_config(gui.geometry)
>   wm geometry . [lindex $gm 0]
> +update
>   if {$use_ttk} {
>   	.vpane sashpos 0 [lindex $gm 1]
>   	.vpane.files sashpos 0 [lindex $gm 2]

This flashes git-gui briefly with the default size before it resizes to the final size on startup. Not that it matters a lot, because the incorrect sash position is much more annoying than this flashing.

But I do wonder why gitk does not have the same problem with its sashes...
-- Hannes
Previous: Adam Spiers
Message 2 of 2 in “git-gui: make sure placement of panedwindow sashes happens correctly on startup”
  1. git-gui: make sure placement of panedwindow sashes happens correctly on startupAdam Spiers, May 1, 2010
  2. Johannes SixtMay 2, 2010

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.