Changeset 6d788c2 in tol for tolbase/lib/toltk


Ignore:
Timestamp:
Nov 17, 2016, 12:38:12 PM (10 years ago)
Author:
Pedro Gea <pgea@…>
Branches:
1941-docker-image-to-test, devel, master
Children:
606ed76
Parents:
20907d9
Message:

Refs #1933
Continúa [7342]

git-svn-id: ​https://www.tol-project.org/svn/tolp/trunk@7343 be4846ae-f051-483a-831f-b64e7d08527f

Location:
tolbase/lib/toltk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • tolbase/lib/toltk/init_toltk.tcl

    r20907d9 r6d788c2  
    7070  namespace import msgcat::*
    7171  package require Tktable
    72   package require -exact BLT 2.4
     72  package require rbc
    7373  package require autoscroll 1.1
    7474  package require tclodbc
    … …  
    267267}
    268268
    269 if { ![info exists blt_libPath] } {
    270   set blt_libPath [file join $toltk_library blt]
    271 }
    272 
    273 if { ![info exists env(BLT_LIBRARY)] } {
    274   set env(BLT_LIBRARY) [file join $toltk_library blt]
     269if { ![info exists rbc_libPath] } {
     270  set rbc_libPath [file join $toltk_library rbc]
     271}
     272
     273if { ![info exists env(RBC_LIBRARY)] } {
     274  set env(RBC_LIBRARY) [file join $toltk_library rbc]
    275275}
    276276
  • tolbase/lib/toltk/tolbase.tcl

    r20907d9 r6d788c2  
    1515    lappend auto_path $toltk_library
    1616  }
    17   if { ![info exists blt_libPath] } {
    18     set blt_libPath [file join $toltk_library blt]
    19   }
    20   if { ![info exists env(BLT_LIBRARY)] } {
    21     set env(BLT_LIBRARY) [file join $toltk_library blt]
     17  if { ![info exists rbc_libPath] } {
     18    set rbc_libPath [file join $toltk_library rbc]
     19  }
     20  if { ![info exists env(RBC_LIBRARY)] } {
     21    set env(RBC_LIBRARY) [file join $toltk_library rbc]
    2222  }
    2323  package require BWidget
    … …  
    11501150       ::TolConsole::NewButtonB $tbTool funsearch [mc "Functions Search"] \
    11511151     [list ::funcSearch::Show] $TF
    1152      #SQL
    1153      ::TolConsole::NewButtonB $tbTool bysSql [mc "Bayes SQL"] \
    1154      [list ::SQLTable::TableBayesSQL] $TF
     1152     #@SQLTable #SQL
     1153     #@SQLTable ::TolConsole::NewButtonB $tbTool bysSql [mc "Bayes SQL"] \
     1154     #@SQLTable [list ::SQLTable::TableBayesSQL] $TF
    11551155     #Calendar
    11561156     ::TolConsole::NewButtonB $tbTool TimeSet [mc "Calendar Expert"] \
    … …  
    23692369 
    23702370  $md add $id command -label [mc "TOL Inspector"] \
    2371     -command "$::project::widgets(mainmdi).slave1 restore; $::project::widgets(mainmdi).slave1 raise"
     2371      -command "$::project::widgets(mainmdi).slave1 restore; $::project::widgets(mainmdi).slave1 raise"
    23722372  $md add $id command -label [mc "&Functions Search"] \
    23732373      -command "::funcSearch::Show"
    23742374  $md add $id command -label [mc "&Calendar Expert"] \
    23752375      -command "::CalendarTms::ViewTimeSet"
    2376   $md add $id command -label [mc "&Bayes SQL"] \
     2376  #@SQLTable $md add $id command -label [mc "&Bayes SQL"] \
    23772377      -command "::SQLTable::TableBayesSQL"
    23782378 
Note: See TracChangeset for help on using the changeset viewer.