summaryrefslogtreecommitdiff
path: root/perl
diff options
context:
space:
mode:
authorLibravatar Mark Levedahl <mdl123@verizon.net>2007-02-12 19:19:34 -0500
committerLibravatar Paul Mackerras <paulus@samba.org>2007-02-15 09:13:14 +1100
commit9ca72f4f60269fb6328bc9c4034d19b9479637ea (patch)
tree46e1546c774ba659b97653e52a1d93538077c178 /perl
parentMake gitk save and restore the user set window position. (diff)
downloadtgif-9ca72f4f60269fb6328bc9c4034d19b9479637ea.tar.xz
Make gitk save and restore window pane position on Linux and Cygwin.
Subtle bugs remained on both Cygwin and Linux that caused the various window panes to be restored in positions different than where the user last placed them. Sergey Vlasov posed a pair of suggested fixes to this, what is done here is slightly different. The basic fix here involves a) explicitly remembering and restoring the sash positions for the upper window, and b) using paneconfigure to redundantly set height and width of other elements. This redundancy is needed as Cygwin Tcl has a nasty habit of setting pane sizes to zero if their slaves are not configured with a specific size, but Linux Tcl does not honor the specific size given. Signed-off-by: Mark Levedahl <mdl123@verizon.net> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'perl')
0 files changed, 0 insertions, 0 deletions