Closed Bug 572094 Opened 14 years ago Closed 14 years ago

make nsMsgXFViewThread have a thread id

Categories

(MailNews Core :: Backend, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: Usul, Assigned: Bienvenu)

References

Details

Attachments

(1 file)

from bug 538750 c 15

I think the idea was to make nsMsgXFViewThread have a thread id, and add a
method to the view that allows you to get the view thread object for a given
msg hdr. You can assign to me, but I don't know when I'm going to get to it.
Blocks: 538750
Attached patch proposed fixSplinter Review
protz, can you try this and verify that it allows you to fix the other bug? If it does, I'll request reviews. And the other bug should have a test case that exercises this code...thx!
Attachment #452053 - Flags: superreview?(neil)
Attachment #452053 - Flags: review?(neil)
Comment on attachment 452053 [details] [diff] [review]
proposed fix

>+   * view, then it would be the cross folder view thread, otherwise, the 
Nit: trailing whitespace

>-nsresult nsMsgSearchDBView::GetThreadContainingMsgHdr(nsIMsgDBHdr *msgHdr, 
>+NS_IMETHODIMP nsMsgSearchDBView::GetThreadContainingMsgHdr(nsIMsgDBHdr *msgHdr, 
Nit: kill the trailing whitespace while you're there.

>                                                       nsIMsgThread **pThread)
Nit: needs reindenting.
Attachment #452053 - Flags: superreview?(neil)
Attachment #452053 - Flags: superreview+
Attachment #452053 - Flags: review?(neil)
Attachment #452053 - Flags: review+
fix checked in.
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Version: 1.9.2 Branch → Trunk
Comment on attachment 452053 [details] [diff] [review]
proposed fix

David, any chance we can try to fix that and bug 538750 on 3.1 as well?
Attachment #452053 - Flags: approval-thunderbird3.1.3?
Jonathan, this patch can't go into 3.1.3 because it changes an interface. And in general, we mainly fix regressions and security issues in the point releases. But I think we should definitely get this into 3.2 if 3.2 ends up coming off the 1.9.2 branch.
Comment on attachment 452053 [details] [diff] [review]
proposed fix

As David said, changing interfaces isn't allowed on stable branches. Shifting approval request to 3.2a1 flag.
Attachment #452053 - Flags: approval-thunderbird3.2a1?
Attachment #452053 - Flags: approval-thunderbird3.1.3?
Attachment #452053 - Flags: approval-thunderbird3.1.3-
Attachment #452053 - Flags: approval-thunderbird3.2a1?
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: