Closed
Bug 665290
Opened 14 years ago
Closed 14 years ago
Switch suite/mailnews to use Services.urlFormatter
Categories
(SeaMonkey :: General, defect)
SeaMonkey
General
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.4
People
(Reporter: iannbugzilla, Assigned: iannbugzilla)
References
Details
Attachments
(1 file, 2 obsolete files)
suite switch to Services.urlFormatter with try catch and new name for helper [Checked in: Comment 8]
9.36 KB,
patch
|
neil
:
review+
standard8
:
review+
|
Details | Diff | Splinter Review |
We import Services.jsm but we need to make better use of the urlFormatter provided by it.
This patch:
* Switches suite code to use urlFormatter provided by Services.jsm
* Does some code simplification around downloading dictionaries.
Attachment #540238 -
Flags: review?(neil)
Comment 1•14 years ago
|
||
Comment on attachment 540238 [details] [diff] [review]
suite switch to Services.urlFormatter
Nice, but could you move the try/catch into goDictionaryDownload too?
Changes since last version:
* Moved try/catch to goDictionaryDownload helper
* Removed now unneeded addDictionary function and just call goDictionaryDownload directly from context menu.
Attachment #540238 -
Attachment is obsolete: true
Attachment #540238 -
Flags: review?(neil)
Attachment #540315 -
Flags: review?(neil)
Comment 3•14 years ago
|
||
Comment on attachment 540315 [details] [diff] [review]
suite switch to Services.urlFormatter with try catch
>diff --git a/editor/ui/dialogs/content/EdSpellCheck.js b/editor/ui/dialogs/content/EdSpellCheck.js
I just thought... Does Thunderbird use this dialog?
>diff --git a/suite/mailnews/compose/prefs/pref-composing_messages.js b/suite/mailnews/compose/prefs/pref-composing_messages.js
> function SelectLanguage(aTarget) {
> try {
Nit: overlooked this try/catch.
Changes since last version:
* Renamed helper to openDictionaryList to match TB so EdSpellCheck.js will work for them.
* Removed missed try/catch.
Attachment #540315 -
Attachment is obsolete: true
Attachment #540315 -
Flags: review?(neil)
Attachment #540365 -
Flags: review?(neil)
Comment 5•14 years ago
|
||
Comment on attachment 540365 [details] [diff] [review]
suite switch to Services.urlFormatter with try catch and new name for helper [Checked in: Comment 8]
Nice of Thunderbird to make things easy for you :-)
Attachment #540365 -
Flags: review?(neil) → review+
Comment on attachment 540365 [details] [diff] [review]
suite switch to Services.urlFormatter with try catch and new name for helper [Checked in: Comment 8]
To review impact of EdSpellCheck.js change.
Attachment #540365 -
Flags: review?(mbanner)
Comment on attachment 540365 [details] [diff] [review]
suite switch to Services.urlFormatter with try catch and new name for helper [Checked in: Comment 8]
Whoever can review the EdSpellCheck.js changes first.
Attachment #540365 -
Flags: review?(dbienvenu)
Updated•14 years ago
|
Attachment #540365 -
Flags: review?(mbanner)
Attachment #540365 -
Flags: review?(dbienvenu)
Attachment #540365 -
Flags: review+
Comment on attachment 540365 [details] [diff] [review]
suite switch to Services.urlFormatter with try catch and new name for helper [Checked in: Comment 8]
http://hg.mozilla.org/comm-central/rev/0a3c60c01adf
Attachment #540365 -
Attachment description: suite switch to Services.urlFormatter with try catch and new name for helper → suite switch to Services.urlFormatter with try catch and new name for helper [Checked in: Comment 8]
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.4
You need to log in
before you can comment on or make changes to this bug.
Description
•