Ignore:
Timestamp:
May 15, 2013 2:02:33 PM (11 years ago)
Author:
gah
Message:

fix assorted automatic tickets: bad data in curve, more trim space, move image creation before errors in constructor

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.2/gui/scripts/main.tcl

    r3646 r3655  
    124124    # examples/ and docs/ dirs from the install location
    125125    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)]]
    127128        if {[file isdirectory $tdir] && \
    128129            [file exists $tdir/tool.xml]} {
     
    221222# Add a place for about/questions in the breadcrumbs area of this pager.
    222223#
    223 set app [$tool xml get tool.id]
     224set app [string trim [$tool xml get tool.id]]
    224225set url [Rappture::Tool::resources -huburl]
    225226if {"" != $url && "" != $app} {
     
    279280# adjust the title of the page here.
    280281# to adjust the button text, look in analyzer.tcl
    281 set simtxt [$xmlobj get tool.action.label]
     282set simtxt [string trim [$xmlobj get tool.action.label]]
    282283if {"" == $simtxt} {
    283284    set simtxt "Simulate"
     
    308309    $f.analyze configure -simcontrol off
    309310} elseif {[llength [$win.pager page]] == 2} {
    310     set style [$xmlobj get tool.layout]
     311    set style [string trim [$xmlobj get tool.layout]]
    311312    set screenw [winfo screenwidth .]
    312313
Note: See TracChangeset for help on using the changeset viewer.