aboutsummaryrefslogtreecommitdiff
path: root/gitk
diff options
context:
space:
mode:
authorPaul Mackerras <paulus@samba.org>2005-08-19 10:22:24 +1000
committerPaul Mackerras <paulus@samba.org>2005-08-19 10:22:24 +1000
commit04c13d38772c77997d8789ee2067cc351b66e2aa (patch)
tree187594324ba0e479754d4599c805f57f8bef0d98 /gitk
parent022bc2ac74a300ff9b1ad9a11a5a6da0c981dc5c (diff)
downloadgit-04c13d38772c77997d8789ee2067cc351b66e2aa.tar.gz
git-04c13d38772c77997d8789ee2067cc351b66e2aa.tar.xz
Save the maxwidth setting in the ~/.gitk file.
Diffstat (limited to 'gitk')
-rwxr-xr-xgitk2
1 files changed, 2 insertions, 0 deletions
diff --git a/gitk b/gitk
index 0767695e2..1c6b3822c 100755
--- a/gitk
+++ b/gitk
@@ -528,6 +528,7 @@ proc click {w} {
proc savestuff {w} {
global canv canv2 canv3 ctext cflist mainfont textfont
global stuffsaved findmergefiles gaudydiff maxgraphpct
+ global maxwidth
if {$stuffsaved} return
if {![winfo viewable .]} return
@@ -538,6 +539,7 @@ proc savestuff {w} {
puts $f [list set findmergefiles $findmergefiles]
puts $f [list set gaudydiff $gaudydiff]
puts $f [list set maxgraphpct $maxgraphpct]
+ puts $f [list set maxwidth $maxwidth]
puts $f "set geometry(width) [winfo width .ctop]"
puts $f "set geometry(height) [winfo height .ctop]"
puts $f "set geometry(canv1) [expr [winfo width $canv]-2]"