Link Here
|
336 |
diff -pruN -x'*.orig' mutt-1.5.20/pager.c mutt-1.5.20-trash/pager.c |
336 |
diff -pruN -x'*.orig' mutt-1.5.20/pager.c mutt-1.5.20-trash/pager.c |
337 |
--- mutt-1.5.20/pager.c 2009-06-03 16:48:31.000000000 -0400 |
337 |
--- mutt-1.5.20/pager.c 2009-06-03 16:48:31.000000000 -0400 |
338 |
+++ mutt-1.5.20-trash/pager.c 2009-07-23 09:44:40.000000000 -0400 |
338 |
+++ mutt-1.5.20-trash/pager.c 2009-07-23 09:44:40.000000000 -0400 |
339 |
@@ -2309,12 +2309,15 @@ search_next: |
|
|
340 |
MAYBE_REDRAW (redraw); |
341 |
break; |
342 |
|
343 |
+ case OP_PURGE_MESSAGE: |
344 |
case OP_DELETE: |
345 |
CHECK_MODE(IsHeader (extra)); |
346 |
CHECK_READONLY; |
347 |
CHECK_ACL(M_ACL_DELETE, _("delete message")); |
348 |
|
349 |
mutt_set_flag (Context, extra->hdr, M_DELETE, 1); |
350 |
+ mutt_set_flag (Context, extra->hdr, M_PURGED, |
351 |
+ ch != OP_PURGE_MESSAGE ? 0 : 1); |
352 |
if (option (OPTDELETEUNTAG)) |
353 |
mutt_set_flag (Context, extra->hdr, M_TAG, 0); |
354 |
redraw = REDRAW_STATUS | REDRAW_INDEX; |
355 |
@@ -2641,6 +2644,7 @@ search_next: |
339 |
@@ -2641,6 +2644,7 @@ search_next: |
356 |
CHECK_ACL(M_ACL_DELETE, _("undelete message")); |
340 |
CHECK_ACL(M_ACL_DELETE, _("undelete message")); |
357 |
|
341 |
|