Closed Bug 1311914 Opened 8 years ago Closed 8 years ago

Provide XPCOM access to nsIMsgFolder counts

Categories

(MailNews Core :: Backend, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 52.0

People

(Reporter: rkent, Assigned: rkent)

Details

Attachments

(1 file)

Several folder methods in nsMsgDBFolder to get or manipulate folder counts are not accessible as XPCOM attributes and methods. JsAccount implementations need to manipulate these, so make XPCOM accessible.
This should be a harmless patch, but needed to allow JsAccount folders access to pending message counts.
Attachment #8803229 - Flags: review?(jorgk)
Comment on attachment 8803229 [details] [diff] [review]
make local methods XPCOM

Review of attachment 8803229 [details] [diff] [review]:
-----------------------------------------------------------------

OK ;-)

::: mailnews/base/public/nsIMsgFolder.idl
@@ +247,5 @@
>     */
>    long getTotalMessages(in boolean deep);
>  
> +  /**
> +   * These functions are used for tricking the front end into thinking that we have more 

Please remove trailing space here before landing this.
Attachment #8803229 - Flags: review?(jorgk) → review+
http://hg.mozilla.org/comm-central/rev/f7de0c72298f
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 52.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: