Changeset 5984
- Timestamp:
- Feb 9, 2016, 11:51:17 AM (9 years ago)
- Location:
- branches/1.4
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.4/gui/apps/launcher.tcl
r5981 r5984 43 43 set params(input) "" 44 44 45 set _rapptureCwd [pwd] 45 set rapptureInfo(cwd) [pwd] 46 set rapptureInfo(appName) "" 46 47 47 48 if {[info exists env(TOOL_PARAMETERS)]} { … … 182 183 -simset { 183 184 lappend alist $opt [lindex $argv 0] 185 set argv [lrange $argv 1 end] 186 } 187 -appname { 188 global rapptureInfo 189 set rapptureInfo(appName) $opt [lindex $argv 0] 184 190 set argv [lrange $argv 1 end] 185 191 } -
branches/1.4/gui/scripts/analyzer.tcl
r5983 r5984 174 174 175 175 # if there's a hub url, then add "About" and "Questions" links 176 set _appName [$_tool xml get tool.id] 176 global rapptureInfo 177 if { $rapptureInfo(appName) == "" } { 178 set _appName [$_tool xml get tool.id] 179 } else { 180 set _appName $rapptureInfo(appName) 181 } 177 182 set url [Rappture::Tool::resources -huburl] 178 183 … … 199 204 200 205 if 0 { 206 # To be eliminated with menu changes. 201 207 itk_component add about { 202 208 button $itk_component(hubcntls).about \ … … 1567 1573 set state normal 1568 1574 } 1569 set state normal1570 1575 $m add command -label "About this tool" \ 1571 1576 -command [list Rappture::filexfer::webpage "$url/tools/$_appName"] \ -
branches/1.4/gui/scripts/main.tcl
r5983 r5984 267 267 if 0 { 268 268 # The be elimimated with the menu changes 269 if { "" != $url && "" != $app} {269 if { "" != $url && "" != $app } { 270 270 set f [$win.pager component breadcrumbarea] 271 271 frame $f.hubcntls … … 309 309 if { $url != "" && $app != "" } { 310 310 $f.hubcntls.about configure -state normal 311 $f.hubcntls. aboutconfigure -state normal311 $f.hubcntls.questions configure -state normal 312 312 } 313 313 -
branches/1.4/lang/tcl/scripts/task.tcl
r5982 r5984 219 219 220 220 # write out the driver.xml file for the tool 221 global _rapptureCwd222 set file [file join $ _rapptureCwd"driver[pid].xml"]221 global rapptureInfo 222 set file [file join $rapptureInfo(cwd) "driver[pid].xml"] 223 223 set status [catch { 224 224 set fid [open $file w] … … 580 580 set rdir $_resources(-resultdir) 581 581 } else { 582 global _rapptureCwd583 set rdir $ _rapptureCwd582 global rapptureInfo 583 set rdir $rapptureInfo(cwd) 584 584 } 585 585 } elseif {$resultdir ne ""} {
Note: See TracChangeset
for help on using the changeset viewer.