From: Eric Huber Date: Tue, 15 Oct 2019 00:13:16 +0000 (+0000) Subject: gitk: Preserve window dimensions on exit when not using ttk themes X-Git-Tag: v2.29.0-rc0~15^2^2~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=c1a63459ed7364bb03e0549c1f042bca469d278f;p=thirdparty%2Fgit.git gitk: Preserve window dimensions on exit when not using ttk themes Bug was: gitk would overwrite the botwidth setting in .gitk with a nonsense value when not using tk themes. Moving the affected line within the conditional results in the expected behavior. Signed-off-by: Eric Huber Signed-off-by: Paul Mackerras --- diff --git a/gitk b/gitk index 1a234fef1d..da84e22dd4 100755 --- a/gitk +++ b/gitk @@ -2530,9 +2530,9 @@ proc makewindow {} { bind %W {} %W sashpos 0 $::geometry(botwidth) } + bind .pwbottom {resizecdetpanes %W %w} } - bind .pwbottom {resizecdetpanes %W %w} pack .ctop -fill both -expand 1 bindall <1> {selcanvline %W %x %y} #bindall {selcanvline %W %x %y}