Temporarily disabled the AreaRecycleBin

This commit is contained in:
Ianos Gnatiuc 2005-11-02 19:45:03 +00:00
parent e008ad57ab
commit 96f90f194e
5 changed files with 14 additions and 14 deletions

View File

@ -432,9 +432,6 @@ AREAREPLYTO E-MAIL
// <echoid>
;AREAYOUWROTETO MY_MAILS
// AreaRecycleBin <area>
// If enabled, GoldEd will move deleted messages to <area>.
;AreaRecycleBin RECYCLE.BIN
----------------------------------------------------------------------
-- STATUSLINE

View File

@ -433,10 +433,6 @@ AreaCopyTo ZZZ.MY.ARCHIVE
// £à㯯 å íâ®â ¯ à ¬¥âà à ¡®â ¥â á ¢¥àᨨ 3.00.a5.
AreaCopyAddId No
// AreaRecycleBin <area>
// “áâ ­®˘Ş  ®ˇ« áâ¨, Şă¤  GoldEd ŻĄŕĄ¬Ąáâ¨â Ż¨á쬠 Żŕ¨ 㤠«Ą­¨¨.
;AreaRecycleBin RECYCLE.BIN
----------------------------------------------------------------------
-- <E28098>ŽŠ€ ŽŽŸ<C5BD>ˆŸ

View File

@ -10,6 +10,8 @@ ______________________________________________________________________
Notes for GoldED+ 1.1.5, /snapshot/
______________________________________________________________________
! Temporarily disabled the AreaRecycleBin.
! Rename macroses:
@echopath to @areapath - path to echoarea base,
@echoname to @areaname - echoarea file name without path,

View File

@ -218,7 +218,9 @@ SwitchA:
case CRC_AREAPMSCANEXCL : CfgAreapmscanexcl (); break;
case CRC_AREAPMSCANINCL : CfgAreapmscanincl (); break;
case CRC_AREAREADONLY : CfgAreareadonly (); break;
#if defined(__INCLUDE_NEW_KEYWORDS__)
case CRC_AREARECYCLEBIN : CfgArearecyclebin (); break;
#endif
case CRC_AREARENAME : CfgArearename (); break;
case CRC_AREAREPLYDIRECT : CfgAreareplydirect (); break;
case CRC_AREAREPLYTO : CfgAreareplyto (); break;

View File

@ -149,6 +149,8 @@ void Area::DelMsgs(GMsg* msg) {
GFTRK("DelMsgs");
if (CFG->arearecyclebin[0])
{
int areano = AL.AreaEchoToNo(CFG->arearecyclebin);
int currno = AL.AreaIdToNo(CurrArea);
if ((areano != currno) && (areano >= 0))
@ -157,6 +159,7 @@ void Area::DelMsgs(GMsg* msg) {
GFTRK(NULL);
return;
}
}
uint n, x;
int topline=0;
@ -420,7 +423,7 @@ void CmfMsgs(GMsg* msg, bool torecycle)
destarea = AL.AreaNoToId(a);
}
if (torecycle || (cmf == MODE_FORWARD ? not AA->Areaforwarddirect() : not AA->Areacopydirect()))
if (cmf == MODE_FORWARD ? not AA->Areaforwarddirect() : not AA->Areacopydirect())
destarea = AreaPick(pickstr, 6, &destarea);
if(destarea == -1) {