Closed
Bug 230778
Opened 21 years ago
Closed 21 years ago
Remove @mozilla.org/preferences;1 from chrome
Categories
(SeaMonkey :: Preferences, defect)
SeaMonkey
Preferences
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: neil, Assigned: neil)
References
Details
Attachments
(1 file, 3 obsolete files)
20.40 KB,
patch
|
caillon
:
review+
jag+mozilla
:
superreview+
|
Details | Diff | Splinter Review |
Apart from the previous bugs I have filed, the preference panels are the only
chrome using the deprecated preferences.
Assignee | ||
Comment 1•21 years ago
|
||
In some cases I have used parent.hPrefWindow.pref which will then become the
last chrome variable using deprecated preferences.
Assignee | ||
Comment 2•21 years ago
|
||
Whoops, I included some parts of other patches in the previous diff :-[
Assignee | ||
Updated•21 years ago
|
Attachment #138939 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #138940 -
Flags: review?(caillon)
Comment 3•21 years ago
|
||
Comment on attachment 138940 [details] [diff] [review]
The appropriate bits
Don't you also need to do something with nsPrefWindow.js, and the things in the
patch which call CopyCharPref?
Comment 4•21 years ago
|
||
Comment on attachment 138940 [details] [diff] [review]
The appropriate bits
Via e-mail, Neil says: "Yes, but that's a big job - I wanted to clean up the
other files first."
Fair enough. r=caillon then.
Assignee | ||
Updated•21 years ago
|
Attachment #138940 -
Flags: superreview?(jag)
Comment 5•21 years ago
|
||
Comment on attachment 138940 [details] [diff] [review]
The appropriate bits
Marking r=caillon, adding sr=jag.
Attachment #138940 -
Flags: superreview?(jag)
Attachment #138940 -
Flags: superreview+
Attachment #138940 -
Flags: review?(caillon)
Attachment #138940 -
Flags: review+
Assignee | ||
Comment 6•21 years ago
|
||
Sorry for taking so long with this, I couldn't figure out why the fonts panel
behaved differently on my patched Linux build and my unpatched MingW build
until I twigged that some of the font size defaults are missing on Linux.
Assignee | ||
Updated•21 years ago
|
Assignee: prefs → neil.parkwaycc.co.uk
Status: NEW → ASSIGNED
Assignee | ||
Updated•21 years ago
|
Attachment #140380 -
Flags: superreview?(jag)
Attachment #140380 -
Flags: review?(caillon)
Assignee | ||
Comment 7•21 years ago
|
||
Requesting blocking based on dependency.
Blocks: 231769
Flags: blocking1.7a?
If we plus the dependency, we'll plus the dependency, but no need to mark two
bugs as blocking for a single issue.
Flags: blocking1.7a? → blocking1.7a-
Comment 9•21 years ago
|
||
Comment on attachment 138940 [details] [diff] [review]
The appropriate bits
This patch was just backed out to fix bug 231769. When the tree reopens, it
will need to be relanded.
Assignee | ||
Comment 10•21 years ago
|
||
This is smaller than the sum of the previous two!
Assignee | ||
Updated•21 years ago
|
Attachment #138940 -
Attachment is obsolete: true
Attachment #140380 -
Attachment is obsolete: true
Assignee | ||
Updated•21 years ago
|
Attachment #141683 -
Flags: superreview?(jag)
Attachment #141683 -
Flags: review?(caillon)
Comment 11•21 years ago
|
||
Comment on attachment 141683 [details] [diff] [review]
Whole patch, updated to trunk
sr=jag
Attachment #141683 -
Flags: superreview?(jag) → superreview+
Updated•21 years ago
|
Attachment #140380 -
Flags: superreview?(jag)
Attachment #140380 -
Flags: review?(caillon)
Comment 12•21 years ago
|
||
Comment on attachment 141683 [details] [diff] [review]
Whole patch, updated to trunk
>@@ -273,7 +274,9 @@ nsPrefWindow.prototype =
> }
> try
> {
>- this.pref.savePrefFile(null);
>+ Components.classes["@mozilla.org/preferences-service;1"]
>+ .getService(Components.interfaces.nsIPrefService)
>+ .savePrefFile(null);
It might make sense to cache this; but maybe not. I can't really tell from the
context, but I figured I'd put it in your mind to decide.
Attachment #141683 -
Flags: review?(caillon) → review+
Assignee | ||
Comment 13•21 years ago
|
||
Fix checked in. Fingers crossed ;-)
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•