Comment 26 for bug 525507

Revision history for this message
In , Jxx (jxx) wrote :

I have been looking for a way to get "Empty Trash" and "Empty Junk" menu items on the smart folders. (Imo, these menu labels should be "Empty All Trash/Junk")

To me it seems there is a problem with the "special folder flag". The menu item wants the "Trash" flag but the smart folder gets the "Virtual" flag. (See mailContextMenus.js lines 332 and 466)

And, as I can see, the Junk smart folder does not have this support at all. (Compare folderPane.js line 2004 and 1979) This could be easily added, though, in the same way that the Trash smart folder is designed.

I'm new here and new to "Mozilla programming" so I could be completely wrong.

  //j

[Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.9) Gecko/20100423 Thunderbird/3.0.4]