Changeset 1263
- Timestamp:
- Jan 5, 2009 10:01:29 AM (15 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/ChangeLog
r1246 r1263 1 2 * Fixed bug regarding loaders using <new> tag where file was not loading 3 * Fixes for Octave 3.0's print_help function 4 * Adding rappture to OCTAVE_LOADPATH environment variable for octave 3.01 5 6 2008-12-10: nanovis 20081207 released 7 2008-12-10: Rappture 20081205 released 8 1 9 2008-11-25: 2 10 -
trunk/gui/scripts/loader.tcl
r1253 r1263 94 94 if {[file exists $fname]} { 95 95 set newfile $fname 96 96 97 if {[catch {set obj [Rappture::library $fname]} result]} { 97 98 puts stderr "WARNING: can't load example file \"$fname\"" 98 99 puts stderr " $result" 99 100 } else { 100 $itk_component(combo) choices insert end $obj "New" 101 set label "New" 102 $itk_component(combo) choices insert end $obj $label 103 104 # if this is new, add it to the label->file hash 105 if {![info exists entries($label)]} { 106 set entries($label) $obj 107 set _label2file($label) [file tail $fname] 108 } 109 101 110 # translate default file name => default label 102 111 if {[string equal $defval [file tail $fname]]} { … … 199 208 } 200 209 201 # if this is new, add it 210 # if this is new, add it to the label->file hash 202 211 if {![info exists entries($label)]} { 203 212 set entries($label) $obj
Note: See TracChangeset
for help on using the changeset viewer.