Changeset 7762 for trunk/gsdl/src
- Timestamp:
- 2004-07-19T16:31:09+12:00 (20 years ago)
- Location:
- trunk/gsdl/src/recpt
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/gsdl/src/recpt/pageaction.cpp
r7706 r7762 45 45 collector_disabled = true; 46 46 translator_disabled = true; 47 gliapplet_disabled = true; 47 48 recpt = NULL; 48 49 … … 730 731 // _textgoadmin_ set to "" if status is disabled in main.cfg 731 732 // _textgotranslator_ set to "" if translator is disabled in main.cfg 733 // _textgogliapplet_ set to "" if gliapplet is disabled in main.cfg 732 734 733 735 … … 812 814 set_collectionlist_macro (disp, protos, logout); 813 815 } 816 817 } else if (arg_p == "gli") { 818 if (gliapplet_disabled) disp.setmacro ("gliapplet", "gli", ""); 814 819 815 820 } else if (arg_p == "homepref") { … … 1029 1034 (cfgline[0] == "true" || cfgline[0] == "on" || cfgline[0] == "enabled")) { 1030 1035 translator_disabled = false; 1031 } else { 1036 } else if ((key == "gliapplet") && (cfgline.size() == 1) && 1037 (cfgline[0] == "true" || cfgline[0] == "on" || cfgline[0] == "enabled")) { 1038 gliapplet_disabled = false; 1039 } 1040 else { 1032 1041 // call the parent class to deal with the things which 1033 1042 // are not dealt with here -
trunk/gsdl/src/recpt/pageaction.h
r4905 r7762 96 96 bool collector_disabled; 97 97 bool translator_disabled; 98 bool gliapplet_disabled; 98 99 99 100 };
Note:
See TracChangeset
for help on using the changeset viewer.