Comment 50 for bug 120672

Thx for the patch, Mats. One potential problem - I don't think you can go through the view to delete all messages - the folder that you do a delete all junk from might not be selected. I.e., you could just right click on the junk folder when an other folder is actually selected. I think you need to open the db, list all the keys, and then delete them, which is fairly simple.