diff -crN oommf-orig/pkg/ow/entryscale.tcl oommf/pkg/ow/entryscale.tcl *** oommf-orig/pkg/ow/entryscale.tcl Wed Oct 23 17:52:18 2002 --- oommf/pkg/ow/entryscale.tcl Wed Sep 15 22:46:12 2004 *************** *** 491,503 **** private method UpdateMarkList {} { if {[string match {} $winscale]} { return } - # First hide all markwindows - set markwindows [winfo children $winscale] - foreach win $markwindows { - place forget $win - } - # Delete any excess mark windows if {[llength $markwindows] > [llength $marklist]} { # Remove extra windows from end. We have to disable # bindings on $winscale because otherwise Tk --- 491,498 ---- private method UpdateMarkList {} { if {[string match {} $winscale]} { return } # Delete any excess mark windows + set markwindows [winfo children $winscale] if {[llength $markwindows] > [llength $marklist]} { # Remove extra windows from end. We have to disable # bindings on $winscale because otherwise Tk *************** *** 543,552 **** } set id 0 foreach mark $slist { ! if {$mark<$scalemin || $mark>$scalemax} { continue } ! set xpos [lindex [$winscale coords $mark] 0] ! place $winscale.mark$id \ ! -x $xpos -y 0 -relheight 1 -anchor $anchor incr id } } --- 538,550 ---- } set id 0 foreach mark $slist { ! if {$mark<$scalemin || $mark>$scalemax} { ! place forget $winscale.mark$id ! } else { ! set xpos [lindex [$winscale coords $mark] 0] ! place $winscale.mark$id \ ! -x $xpos -y 0 -relheight 1 -anchor $anchor ! } incr id } }