moved package require tclreadline to tclspice_source.tcl
This commit is contained in:
parent
c31c217ac5
commit
2a28d4a77a
|
|
@ -3,13 +3,10 @@ proc Loadspice { version dir } {
|
|||
|
||||
package require BLT
|
||||
|
||||
package require tclreadline
|
||||
|
||||
set suffix [info sharedlibextension]
|
||||
|
||||
set library spice${suffix}
|
||||
|
||||
|
||||
|
||||
global tcl_platform
|
||||
if { $tcl_platform(platform) == "unix" } {
|
||||
set library [file join $dir lib${library}]
|
||||
|
|
@ -76,7 +73,7 @@ proc Loadspice { version dir } {
|
|||
}
|
||||
|
||||
proc spice_init_gui { spicefile } {
|
||||
source [ file join "%LIB_DIR%/spice/tclspice_source.tcl" ]
|
||||
source "%LIB_DIR%/spice/tclspice_source.tcl"
|
||||
#source "/usr/local/lib/spice/tclspice_source.tcl" ;#- only load procs when gui needed
|
||||
spicewish::init_gui $spicefile
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,7 +13,8 @@ namespace eval spicewish {
|
|||
#------------------------------------------------
|
||||
# nutmeg extensions (eqivalent functions to nutmeg)
|
||||
# (requires readline,
|
||||
|
||||
|
||||
package require tclreadline
|
||||
package require Tclx
|
||||
|
||||
#toplevel counters
|
||||
|
|
|
|||
Loading…
Reference in New Issue