Changeset 3655 for branches/1.2/gui/scripts/main.tcl
- Timestamp:
- May 15, 2013 2:02:33 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.2/gui/scripts/main.tcl
r3646 r3655 124 124 # examples/ and docs/ dirs from the install location 125 125 foreach runobj $loadobjs { 126 set tdir [$runobj get tool.version.application.directory(tool)] 126 set tdir \ 127 [string trim [$runobj get tool.version.application.directory(tool)]] 127 128 if {[file isdirectory $tdir] && \ 128 129 [file exists $tdir/tool.xml]} { … … 221 222 # Add a place for about/questions in the breadcrumbs area of this pager. 222 223 # 223 set app [ $tool xml get tool.id]224 set app [string trim [$tool xml get tool.id]] 224 225 set url [Rappture::Tool::resources -huburl] 225 226 if {"" != $url && "" != $app} { … … 279 280 # adjust the title of the page here. 280 281 # to adjust the button text, look in analyzer.tcl 281 set simtxt [ $xmlobj get tool.action.label]282 set simtxt [string trim [$xmlobj get tool.action.label]] 282 283 if {"" == $simtxt} { 283 284 set simtxt "Simulate" … … 308 309 $f.analyze configure -simcontrol off 309 310 } elseif {[llength [$win.pager page]] == 2} { 310 set style [ $xmlobj get tool.layout]311 set style [string trim [$xmlobj get tool.layout]] 311 312 set screenw [winfo screenwidth .] 312 313
Note: See TracChangeset
for help on using the changeset viewer.