Changeset 3774 for trunk/gsdl/src/recpt


Ignore:
Timestamp:
2003-02-28T14:28:22+13:00 (21 years ago)
Author:
davidb
Message:

* empty log message *

Location:
trunk/gsdl/src/recpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl/src/recpt/pageaction.cpp

    r3625 r3774  
    3535  status_disabled = true;
    3636  collector_disabled = true;
     37  translator_disabled = true;
    3738  recpt = NULL;
    3839
     
    482483  // _textgocollector_     set to "" if collector is disabled in main.cfg
    483484  // _textgoadmin_         set to "" if status is disabled in main.cfg
     485  // _textgotranslator_    set to "" if translator is disabled in main.cfg
    484486
    485487
     
    546548    if (status_disabled) disp.setmacro ("textgoadmin", "home", "");
    547549    if (collector_disabled) disp.setmacro ("textgocollector", "home", "");
     550    if (translator_disabled) disp.setmacro ("textgotranslator", "home", "");
    548551
    549552  } else if (arg_p == "homepref") {
     
    733736         (cfgline[0] == "true" || cfgline[0] == "on" || cfgline[0] == "enabled")) {
    734737    collector_disabled = false;
     738  } else if ((key == "translator") && (cfgline.size() == 1) &&
     739         (cfgline[0] == "true" || cfgline[0] == "on" || cfgline[0] == "enabled")) {
     740    translator_disabled = false;
    735741  } else {
    736742    // call the parent class to deal with the things which
  • trunk/gsdl/src/recpt/pageaction.h

    r3625 r3774  
    8585  bool status_disabled;
    8686  bool collector_disabled;
     87  bool translator_disabled;
    8788
    8889};
Note: See TracChangeset for help on using the changeset viewer.