Closed
Bug 631773
Opened 14 years ago
Closed 14 years ago
Clean up the global scope a bit [CreateMailWindowGlobals()]
Categories
(SeaMonkey :: MailNews: Message Display, defect)
SeaMonkey
MailNews: Message Display
Tracking
(Not tracked)
RESOLVED
FIXED
seamonkey2.1b3
People
(Reporter: philip.chee, Assigned: philip.chee)
Details
Attachments
(1 file, 1 obsolete file)
10.00 KB,
patch
|
mnyromyr
:
review+
neil
:
superreview+
|
Details | Diff | Splinter Review |
An itsy bitsy clean up bug focusing on CreateMailWindowGlobals()
Q.v.
Bug 416666 (part 2) Clean up Thunderbird's global scope a bit.
Bug 440616 (part 1 v2) Clean up Thunderbird's global scope a bit more (mail session and 3pane commands).
Assignee | ||
Comment 1•14 years ago
|
||
> //Create datasources
> + var prefix = "@mozilla.org/rdf/datasource;1?name=";
> + var accountManagerDSContractID = prefix + "msgaccountmanager";
> + var folderDSContractID = prefix + "mailnewsfolders";
> +
> accountManagerDataSource = Components.classes[accountManagerDSContractID].getService();
> folderDataSource = Components.classes[folderDSContractID].getService();
If I do .getService(nsiRDFDataSource) here. Can I remove the QIs from the rest of suite/mailnews/ ?
Assignee: nobody → philip.chee
Status: NEW → ASSIGNED
Attachment #510006 -
Flags: review?(mnyromyr)
Attachment #510006 -
Flags: feedback?(neil)
Comment 2•14 years ago
|
||
(In reply to comment #1)
> > accountManagerDataSource = Components.classes[accountManagerDSContractID].getService();
> > folderDataSource = Components.classes[folderDSContractID].getService();
>
> If I do .getService(nsiRDFDataSource) here. Can I remove the QIs from the rest
> of suite/mailnews/ ?
If you mean the four QIs to nsIRDFDataSource, then yes, they could go.
Updated•14 years ago
|
Attachment #510006 -
Flags: feedback?(neil) → feedback+
Assignee | ||
Comment 3•14 years ago
|
||
> neil@parkwaycc.co.uk 2011-02-05 07:09:28 PST
>
> (In reply to comment #1)
>>> accountManagerDataSource = Components.classes[accountManagerDSContractID].getService();
>>> folderDataSource = Components.classes[folderDSContractID].getService();
>>
>> If I do .getService(nsiRDFDataSource) here. Can I remove the QIs from the rest
>> of suite/mailnews/ ?
>
> If you mean the four QIs to nsIRDFDataSource, then yes, they could go.
Jolly Good.
Attachment #510006 -
Attachment is obsolete: true
Attachment #510268 -
Flags: superreview?(neil)
Attachment #510268 -
Flags: review?(mnyromyr)
Attachment #510006 -
Flags: review?(mnyromyr)
Updated•14 years ago
|
Attachment #510268 -
Flags: superreview?(neil) → superreview+
Updated•14 years ago
|
Attachment #510268 -
Flags: review?(mnyromyr) → review+
Assignee | ||
Comment 4•14 years ago
|
||
Pushed to comm-central
http://hg.mozilla.org/comm-central/rev/dbc2f57e7b63
Status: ASSIGNED → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Target Milestone: --- → seamonkey2.1b3
You need to log in
before you can comment on or make changes to this bug.
Description
•