Temporarily disabled the AreaRecycleBin
This commit is contained in:
parent
e008ad57ab
commit
96f90f194e
@ -432,9 +432,6 @@ AREAREPLYTO E-MAIL
|
|||||||
// <echoid>
|
// <echoid>
|
||||||
;AREAYOUWROTETO MY_MAILS
|
;AREAYOUWROTETO MY_MAILS
|
||||||
|
|
||||||
// AreaRecycleBin <area>
|
|
||||||
// If enabled, GoldEd will move deleted messages to <area>.
|
|
||||||
;AreaRecycleBin RECYCLE.BIN
|
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
-- STATUSLINE
|
-- STATUSLINE
|
||||||
|
@ -433,10 +433,6 @@ AreaCopyTo ZZZ.MY.ARCHIVE
|
|||||||
// ‚ £à㯯 å íâ®â ¯ à ¬¥âà à ¡®â ¥â á ¢¥àᨨ 3.00.a5.
|
// ‚ £à㯯 å íâ®â ¯ à ¬¥âà à ¡®â ¥â á ¢¥àᨨ 3.00.a5.
|
||||||
AreaCopyAddId No
|
AreaCopyAddId No
|
||||||
|
|
||||||
// AreaRecycleBin <area>
|
|
||||||
// “áâ ®˘Ş ®ˇ« áâ¨, Şă¤ GoldEd ŻĄŕĄ¬Ąáâ¨â Ż¨áě¬ Żŕ¨ 㤠«Ą¨¨.
|
|
||||||
;AreaRecycleBin RECYCLE.BIN
|
|
||||||
|
|
||||||
|
|
||||||
----------------------------------------------------------------------
|
----------------------------------------------------------------------
|
||||||
-- ‘’<E28098>ŽŠ€ ‘Ž‘’ŽŸ<C5BD>ˆŸ
|
-- ‘’<E28098>ŽŠ€ ‘Ž‘’ŽŸ<C5BD>ˆŸ
|
||||||
|
@ -10,6 +10,8 @@ ______________________________________________________________________
|
|||||||
Notes for GoldED+ 1.1.5, /snapshot/
|
Notes for GoldED+ 1.1.5, /snapshot/
|
||||||
______________________________________________________________________
|
______________________________________________________________________
|
||||||
|
|
||||||
|
! Temporarily disabled the AreaRecycleBin.
|
||||||
|
|
||||||
! Rename macroses:
|
! Rename macroses:
|
||||||
@echopath to @areapath - path to echoarea base,
|
@echopath to @areapath - path to echoarea base,
|
||||||
@echoname to @areaname - echoarea file name without path,
|
@echoname to @areaname - echoarea file name without path,
|
||||||
|
@ -218,7 +218,9 @@ SwitchA:
|
|||||||
case CRC_AREAPMSCANEXCL : CfgAreapmscanexcl (); break;
|
case CRC_AREAPMSCANEXCL : CfgAreapmscanexcl (); break;
|
||||||
case CRC_AREAPMSCANINCL : CfgAreapmscanincl (); break;
|
case CRC_AREAPMSCANINCL : CfgAreapmscanincl (); break;
|
||||||
case CRC_AREAREADONLY : CfgAreareadonly (); break;
|
case CRC_AREAREADONLY : CfgAreareadonly (); break;
|
||||||
|
#if defined(__INCLUDE_NEW_KEYWORDS__)
|
||||||
case CRC_AREARECYCLEBIN : CfgArearecyclebin (); break;
|
case CRC_AREARECYCLEBIN : CfgArearecyclebin (); break;
|
||||||
|
#endif
|
||||||
case CRC_AREARENAME : CfgArearename (); break;
|
case CRC_AREARENAME : CfgArearename (); break;
|
||||||
case CRC_AREAREPLYDIRECT : CfgAreareplydirect (); break;
|
case CRC_AREAREPLYDIRECT : CfgAreareplydirect (); break;
|
||||||
case CRC_AREAREPLYTO : CfgAreareplyto (); break;
|
case CRC_AREAREPLYTO : CfgAreareplyto (); break;
|
||||||
|
@ -149,13 +149,16 @@ void Area::DelMsgs(GMsg* msg) {
|
|||||||
|
|
||||||
GFTRK("DelMsgs");
|
GFTRK("DelMsgs");
|
||||||
|
|
||||||
int areano = AL.AreaEchoToNo(CFG->arearecyclebin);
|
if (CFG->arearecyclebin[0])
|
||||||
int currno = AL.AreaIdToNo(CurrArea);
|
|
||||||
if ((areano != currno) && (areano >= 0))
|
|
||||||
{
|
{
|
||||||
CopyMoveForward(true);
|
int areano = AL.AreaEchoToNo(CFG->arearecyclebin);
|
||||||
GFTRK(NULL);
|
int currno = AL.AreaIdToNo(CurrArea);
|
||||||
return;
|
if ((areano != currno) && (areano >= 0))
|
||||||
|
{
|
||||||
|
CopyMoveForward(true);
|
||||||
|
GFTRK(NULL);
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
uint n, x;
|
uint n, x;
|
||||||
@ -420,7 +423,7 @@ void CmfMsgs(GMsg* msg, bool torecycle)
|
|||||||
destarea = AL.AreaNoToId(a);
|
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);
|
destarea = AreaPick(pickstr, 6, &destarea);
|
||||||
|
|
||||||
if(destarea == -1) {
|
if(destarea == -1) {
|
||||||
|
Reference in New Issue
Block a user