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

From: Johannes Sixt <[email-masked]>
Date: Sun, 02 May 2010 21:00:50 +0200

Am 01.05.2010 20:29, schrieb Adam Spiers:
> 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