Changeset 3774 for trunk/gsdl/src/recpt
- Timestamp:
- 2003-02-28T14:28:22+13:00 (21 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/pageaction.cpp
r3625 r3774 35 35 status_disabled = true; 36 36 collector_disabled = true; 37 translator_disabled = true; 37 38 recpt = NULL; 38 39 … … 482 483 // _textgocollector_ set to "" if collector is disabled in main.cfg 483 484 // _textgoadmin_ set to "" if status is disabled in main.cfg 485 // _textgotranslator_ set to "" if translator is disabled in main.cfg 484 486 485 487 … … 546 548 if (status_disabled) disp.setmacro ("textgoadmin", "home", ""); 547 549 if (collector_disabled) disp.setmacro ("textgocollector", "home", ""); 550 if (translator_disabled) disp.setmacro ("textgotranslator", "home", ""); 548 551 549 552 } else if (arg_p == "homepref") { … … 733 736 (cfgline[0] == "true" || cfgline[0] == "on" || cfgline[0] == "enabled")) { 734 737 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; 735 741 } else { 736 742 // call the parent class to deal with the things which -
trunk/gsdl/src/recpt/pageaction.h
r3625 r3774 85 85 bool status_disabled; 86 86 bool collector_disabled; 87 bool translator_disabled; 87 88 88 89 };
Note:
See TracChangeset
for help on using the changeset viewer.