Closed Bug 1059171 Opened 10 years ago Closed 10 years ago

Make the editor field of nsIMsgCompose read-write

Categories

(MailNews Core :: Composition, defect)

defect
Not set
normal

Tracking

(thunderbird36 fixed)

RESOLVED FIXED
Thunderbird 36.0
Tracking Status
thunderbird36 --- fixed

People

(Reporter: protz, Assigned: protz)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch patch-set-editor (obsolete) — Splinter Review
Per the reasons exposed in https://mail.mozilla.org/pipermail/tb-planning/2014-August/003380.html I would like to make the editor field in nsIMsgCompose settable.
Attachment #8479747 - Flags: review?(standard8)
Comment on attachment 8479747 [details] [diff] [review]
patch-set-editor

I believe you need to change the uuid of the interface.

This should be probably be reviewed by Neil as its more his area.
Attachment #8479747 - Flags: review?(standard8) → review?(neil)
Comment on attachment 8479747 [details] [diff] [review]
patch-set-editor

With the uuid change, seems reasonable, I guess. While you're there, would you mind removing the unused and now superfluous clearEditor method?
Attachment #8479747 - Flags: review?(neil) → review+
Here's the patch that I'm about to checkin.
Assignee: nobody → jonathan.protzenko
Attachment #8479747 - Attachment is obsolete: true
Status: NEW → ASSIGNED
Attachment #8479855 - Flags: review+
... and that I will checkin once the tree reopens. Thanks for the fast reviews.
Keywords: checkin-needed
:protz, given the follow-ups in tb-planning, do we still want to land this?
Flags: needinfo?(jonathan.protzenko)
Keywords: checkin-needed
I think we do. Doing this:
- allows ehsan to move back nsIEditor to being builtinclass;
- fixes the use-case of Conversations.

Unless we really want to refactor nsIMsgCompose, this is the best we can do right now.
Flags: needinfo?(jonathan.protzenko)
Adding checkin-needed because I probably won't be able to hang out in #maildev for a while, so if any good soul wants to check this in, this would be great (Conversations is currently broken without this patch).

The patch applies cleanly.

Thanks,

~ jonathan
Keywords: checkin-needed
https://hg.mozilla.org/comm-central/rev/e147bfa72d66 -> FIXED
Status: ASSIGNED → RESOLVED
Closed: 10 years ago
Keywords: checkin-needed
Hardware: x86_64 → All
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 36.0
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: