Closed
Bug 399835
Opened 17 years ago
Closed 17 years ago
Need pref for IMAP expunge threshold
Categories
(Thunderbird :: Preferences, defect)
Thunderbird
Preferences
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 3
People
(Reporter: beckley, Assigned: dwiggins)
Details
Attachments
(1 file, 2 obsolete files)
4.70 KB,
patch
|
Bienvenu
:
review+
mscott
:
superreview+
|
Details | Diff | Splinter Review |
When an IMAP account is using the IMAP delete model (i.e. deleted messages are not removed from the mailbox right away, but instead just marked as deleted), messages marked as deleted don't get permanently removed ("expunged" in IMAP terminology) until a certain number of messages have been marked as deleted. Currently, that threshold is hard-coded at 20 messages. It should instead be a preference which the user can set.
Reporter | ||
Comment 1•17 years ago
|
||
Attachment #284944 -
Flags: superreview?
Attachment #284944 -
Flags: review?(bienvenu)
Reporter | ||
Comment 2•17 years ago
|
||
Here's an implementation of the pref, which is named "mail.imap.expunge_threshold_number".
Attachment #284945 -
Flags: superreview?(mscott)
Attachment #284945 -
Flags: review?(bienvenu)
Reporter | ||
Updated•17 years ago
|
Attachment #284944 -
Attachment is obsolete: true
Attachment #284944 -
Flags: superreview?
Attachment #284944 -
Flags: review?(bienvenu)
Reporter | ||
Updated•17 years ago
|
Status: NEW → ASSIGNED
Reporter | ||
Comment 3•17 years ago
|
||
Re-assigning to Dale Wiggins <dwiggins@qualcomm.com> since he's the one that wrote the code (I'm just submitting it for him).
Assignee: beckley → dwiggins
Status: ASSIGNED → NEW
Comment 4•17 years ago
|
||
+static PRBool gExpungeThreshold = 20; PRInt32 might work better;)
Reporter | ||
Comment 5•17 years ago
|
||
Argh! Had that change locally, but it didn't make it in to the first patch. Here it is now.
Attachment #284945 -
Attachment is obsolete: true
Attachment #284951 -
Flags: superreview?(mscott)
Attachment #284951 -
Flags: review?(bienvenu)
Attachment #284945 -
Flags: superreview?(mscott)
Attachment #284945 -
Flags: review?(bienvenu)
Comment 6•17 years ago
|
||
Comment on attachment 284951 [details] [diff] [review] Fix for pref type looks good, thx
Attachment #284951 -
Flags: review?(bienvenu) → review+
Comment 7•17 years ago
|
||
Comment on attachment 284951 [details] [diff] [review] Fix for pref type looks good!
Attachment #284951 -
Flags: superreview?(mscott) → superreview+
Comment 8•17 years ago
|
||
Checking in mailnews/mailnews.js; /cvsroot/mozilla/mailnews/mailnews.js,v <-- mailnews.js new revision: 3.308; previous revision: 3.307 done Checking in mailnews/imap/src/nsImapProtocol.cpp; /cvsroot/mozilla/mailnews/imap/src/nsImapProtocol.cpp,v <-- nsImapProtocol.cpp new revision: 1.672; previous revision: 1.671 done ->FIXED
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•