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