Ignore:
Timestamp:
Apr 1, 2010, 10:58:58 AM (15 years ago)
Author:
gah
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/blt4/gui/scripts/filechoiceentry.tcl

    r1677 r1681  
    185185# ----------------------------------------------------------------------
    186186itcl::body Rappture::FileChoiceEntry::_rebuild {} {
    187     puts stderr "filechoiceentry rebuild"
    188187    set _rebuildPending 0
    189188    # get rid of any existing choices
     
    199198        set glob [string trim [$_owner xml get $_path.$cname]]
    200199        # Successively replace each template with its value.
    201         puts stderr "before glob=$glob"
    202200        while { [regexp -indices {@@[^@]*@@} $glob range] } {
    203201            foreach {first last} $range break
     
    206204            set cpath [string range $glob $i1 $i2]
    207205            set value [$_owner xml get $cpath.current]
    208             puts stderr "$cpath.current: value=$value"
    209206            if { $value == "" } {
    210                 puts stderr "$_owner xml get $cpath.default"
    211207                set value [$_owner xml get $cpath.default]
    212                 puts stderr "$cpath.default: value=$value"
    213208            }
    214209            set glob [string replace $glob $first $last $value]
     
    252247itcl::body Rappture::FileChoiceEntry::_tooltip {} {
    253248    set tip [string trim [$_owner xml get $_path.about.description]]
    254     puts stderr "tip=$tip, $_owner=$_owner path=$_path.about.description"
    255249    # get the description for the current choice, if there is one
    256250    set str [$itk_component(choice) value]
Note: See TracChangeset for help on using the changeset viewer.