[spambayes-bugs] [ spambayes-Patches-831941 ] Empty Spam Folder menu item

SourceForge.net noreply at sourceforge.net
Wed Dec 17 02:18:39 EST 2003


Patches item #831941, was opened at 2003-10-29 08:18
Message generated for change (Comment added) made by mhammond
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=831941&group_id=61702

Category: Outlook
Group: None
Status: Open
Resolution: None
Priority: 3
Submitted By: Kenny Pitt (kpitt)
Assigned to: Mark Hammond (mhammond)
Summary: Empty Spam Folder menu item

Initial Comment:
RFE 788755 asks for a menu item to empty the spam 
folder, and I have seen this requested several times on 
the lists.  I've come up with an initial patch to implement 
this as a menu item on the SpamBayes dropdown.  It 
works very much like the Empty "Deleted Items" Folder 
context menu item, which means it prompts with a 
Yes/No message box before deleting, and just does 
nothing if the spam folder is already empty. 

This seems to work well on my Outlook 2003 setup, but 
probably needs more wide-spread testing before being 
considered entirely stable.

----------------------------------------------------------------------

>Comment By: Mark Hammond (mhammond)
Date: 2003-12-17 18:18

Message:
Logged In: YES 
user_id=14198

This looks like a good start.  manager.py has _GetParent and
AskQuestion - can you update the patch to use these.  Also,
if no items are in the folder, we should display a message
to the user rather than a simple 'print'.  In fact, I see no
real good reason to have the check for items - even with no
items, still silently call EmptyFolder, and if there are no
items, then big deal - the folder is still empty after the
event, so we can consider that it worked Ok.

If possible, attach a patch as a single file - just "cvs -z5
diff -u file1.py file2.py > whatever.patch", then just
upload the .patch (or .diff)

Thanks

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498105&aid=831941&group_id=61702



More information about the Spambayes-bugs mailing list