Provide XPCOM access to nsIMsgFolder counts

RESOLVED FIXED in Thunderbird 52.0

Status

MailNews Core
Backend
RESOLVED FIXED
a year ago
a year ago

People

(Reporter: rkent, Assigned: rkent)

Tracking

Trunk
Thunderbird 52.0

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

a year ago
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.
(Assignee)

Comment 1

a year ago
Created attachment 8803229 [details] [diff] [review]
make local methods XPCOM

This should be a harmless patch, but needed to allow JsAccount folders access to pending message counts.
Attachment #8803229 - Flags: review?(jorgk)

Comment 2

a year ago
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+
(Assignee)

Comment 3

a year ago
http://hg.mozilla.org/comm-central/rev/f7de0c72298f
Status: ASSIGNED → RESOLVED
Last Resolved: a year ago
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 52.0
You need to log in before you can comment on or make changes to this bug.