Changeset 770


Ignore:
Timestamp:
Jun 13, 2007 9:15:38 AM (17 years ago)
Author:
nkissebe
Message:

rename resource variable to look for to molvis_server instead of hubvis_server

Location:
trunk/gui/scripts
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gui/scripts/deviceEditor.tcl

    r766 r770  
    3737    private variable _current ""  ;# active device editor
    3838
    39     public common _hubvisHosts ""
    40 
    41     public proc setHubvisServer {namelist} {
     39    public common _molvisHosts ""
     40
     41    public proc setMolvisServer {namelist} {
    4242        if {[regexp {^[a-zA-Z0-9\.]+:[0-9]+(,[a-zA-Z0-9\.]+:[0-9]+)*$} $namelist match]} {
    43             set _hubvisHosts $namelist
     43            set _molvisHosts $namelist
    4444        } else {
    4545            error "bad visualization server address \"$namelist\": should be host:port,host:port,..."
     
    5454proc deviceEditor_init_resources {} {
    5555    Rappture::resources::register \
    56         hubvis_server Rappture::DeviceEditor::setHubvisServer
     56        molvis_server Rappture::DeviceEditor::setMolvisServer
    5757}
    5858
     
    185185            if {![winfo exists $itk_component(hull).mol]} {
    186186                catch {destroy $itk_component(hull).dev}
    187                 if {"" != $_hubvisHosts} {
    188                     Rappture::MolvisViewer $itk_component(hull).mol $_hubvisHosts
     187                if {"" != $_molvisHosts} {
     188                    Rappture::MolvisViewer $itk_component(hull).mol $_molvisHosts
    189189                } else {
    190190                    Rappture::MoleculeViewer $itk_component(hull).mol $this
  • trunk/gui/scripts/molvisviewer.tcl

    r767 r770  
    346346
    347347    #
    348     # Connect to the hubvis server. 
     348    # Connect to the molvis server. 
    349349    # If it's too busy, that server may
    350350    # forward us to another.
Note: See TracChangeset for help on using the changeset viewer.