- Timestamp:
- Mar 8, 2016 9:34:42 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/1.5/gui/scripts/analyzer.tcl
r6103 r6107 113 113 private method LoadSimulations { runfiles } 114 114 private method Ok {} 115 private method PostMenu { }115 private method PostMenu { menu } 116 116 private method ReadSimsetFile { fileName } 117 117 private method SaveSimulations {} … … 1538 1538 } 1539 1539 1540 itcl::body Rappture::Analyzer::PostMenu {} { 1541 set m $itk_component(help).menu 1540 itcl::body Rappture::Analyzer::PostMenu { m } { 1542 1541 if { [FindSimsetsForApp $_appName] == 0 } { 1543 1542 $m entryconfigure "Load Simulations" -state disable … … 1562 1561 menu $m \ 1563 1562 -tearoff 0 \ 1564 -postcommand [itcl::code $this PostMenu ]1563 -postcommand [itcl::code $this PostMenu $m] 1565 1564 if { $appName == "" || $url == "" } { 1566 1565 set state disabled … … 1568 1567 set state normal 1569 1568 } 1569 set webcmd Rappture::filexfer::webpage 1570 set group "app-$_appName" 1570 1571 $m add command -label "About this tool" \ 1571 -command [list Rappture::filexfer::webpage"$url/tools/$appName"] \1572 -command [list $webcmd "$url/tools/$appName"] \ 1572 1573 -state $state 1573 1574 $m add command -label "Questions?" \ 1574 -command [list Rappture::filexfer::webpage \ 1575 "$url/resources/$_appName/questions"] \ 1575 -command [list $wmdcmd "$url/resources/$_appName/questions"] \ 1576 1576 -state $state 1577 $m add command -label "Wish List" -state $state 1578 $m add command -label "Tickets" -state $state 1577 $m add command -label "Tickets" -state $state \ 1578 -command [list $webcmd "$url/feedback/report_problems?group=$group"] 1579 $m add command -label "Wish List" -state disabled 1579 1580 $m add separator 1580 1581 $m add command -label "Save Simulations" \
Note: See TracChangeset
for help on using the changeset viewer.