Closed
Bug 667133
Opened 13 years ago
Closed 13 years ago
Allow mail.SpellCheckBeforeSend to be tweaked by add-ons by converting it to an overridable function
Categories
(Thunderbird :: Message Compose Window, enhancement)
Thunderbird
Message Compose Window
Tracking
(Not tracked)
RESOLVED
FIXED
Thunderbird 8.0
People
(Reporter: jik, Assigned: jik)
Details
Attachments
(2 files, 1 obsolete file)
1.01 KB,
patch
|
neil
:
review+
|
Details | Diff | Splinter Review |
986 bytes,
patch
|
Bienvenu
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.6.17-1.fc14 Firefox/3.6.17 GTB7.1 Build Identifier: Mozilla/5.0 (X11; Linux x86_64; rv:7.0a1) Gecko/20110624 Thunderbird/7.0a1 In thread http://groups.google.com/group/mozilla.dev.apps.thunderbird/browse_thread/thread/83f98c2cab8bd58f/f104ea557a48d086 , I asked how I might be able to override mail.SpellCheckBeforeSend in my add-on without changing the preference temporarily, which is a no-no. David Bienvenu suggested perhaps adding a new function that checks the preference so that add-ons can override the function as needed. I ran that idea by Andrew Sutherland, and he liked it. Attached, therefore, please find a patch which implements this proposed change. Reproducible: Always
Assignee | ||
Comment 1•13 years ago
|
||
Assignee | ||
Updated•13 years ago
|
Attachment #541886 -
Flags: review?(dbienvenu)
Updated•13 years ago
|
Assignee: nobody → jik
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 2•13 years ago
|
||
Comment on attachment 541886 [details] [diff] [review] patch to create and use new DoSpellCheckBeforeSend function r=me for the Thunderbird part, but I shouldn't technically review the suite change.
Attachment #541886 -
Flags: superreview?(neil)
Attachment #541886 -
Flags: review?(dbienvenu)
Attachment #541886 -
Flags: review+
Comment 3•13 years ago
|
||
Comment on attachment 541886 [details] [diff] [review] patch to create and use new DoSpellCheckBeforeSend function >+ return sPrefs.getBoolPref("mail.SpellCheckBeforeSend"); We [SeaMonkey] are working on switching to Services.prefs so it would be handy if you could do this as you're touching the code already, thanks.
Attachment #541886 -
Flags: superreview?(neil) → superreview+
Assignee | ||
Comment 5•13 years ago
|
||
Here's the same patch but this time just the Thunderbird part of it, since I submitted the Seamonkey part in a separate file. I know David already reviewed this, but just to avoid any confusion, I'm going to obsolete the patch he reviewed and submit this separate patch just for Thunderbird.
Attachment #541886 -
Attachment is obsolete: true
Attachment #544407 -
Flags: review?(dbienvenu)
Updated•13 years ago
|
Attachment #544406 -
Flags: review?(neil) → review+
Updated•13 years ago
|
Attachment #544407 -
Flags: review?(dbienvenu) → review+
Updated•13 years ago
|
Keywords: checkin-needed
Comment 6•13 years ago
|
||
Checked in (suite): http://hg.mozilla.org/comm-central/rev/e88d35502646 Checked in (mail): http://hg.mozilla.org/comm-central/rev/f1a16d7594b8
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 8.0
You need to log in
before you can comment on or make changes to this bug.
Description
•