aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Huber <echuber2@illinois.edu>2019-10-15 00:13:16 +0000
committerPaul Mackerras <paulus@ozlabs.org>2019-12-15 16:31:52 +1100
commitc1a63459ed7364bb03e0549c1f042bca469d278f (patch)
tree51d0c3c963e93915b2fbcb3a3aef220848d385c1
parentgitk: don't highlight files after submodules as submodules (diff)
downloadgit-c1a63459ed7364bb03e0549c1f042bca469d278f.tar.gz
git-c1a63459ed7364bb03e0549c1f042bca469d278f.zip
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 <echuber2@illinois.edu> Signed-off-by: Paul Mackerras <paulus@ozlabs.org>
-rwxr-xr-xgitk2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitk b/gitk
index 1a234fef1d..da84e22dd4 100755
--- a/gitk
+++ b/gitk
@@ -2530,9 +2530,9 @@ proc makewindow {} {
bind %W <Map> {}
%W sashpos 0 $::geometry(botwidth)
}
+ bind .pwbottom <Configure> {resizecdetpanes %W %w}
}
- bind .pwbottom <Configure> {resizecdetpanes %W %w}
pack .ctop -fill both -expand 1
bindall <1> {selcanvline %W %x %y}
#bindall <B1-Motion> {selcanvline %W %x %y}