Skip to content

Commit

Permalink
Save the maxwidth setting in the ~/.gitk file.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Mackerras committed Aug 19, 2005
1 parent 022bc2a commit 04c13d3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gitk
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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]"
Expand Down

0 comments on commit 04c13d3

Please sign in to comment.