Closed Bug 167561 Opened 22 years ago Closed 22 years ago

make nsPrefWindow.js work with non-tree controls & key substitutions

Categories

(SeaMonkey :: Preferences, defect)

defect
Not set
normal

Tracking

(Not tracked)

VERIFIED INVALID
mozilla1.2beta

People

(Reporter: dmosedale, Assigned: dmosedale)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 4 obsolete files)

I'm using the nsPrefWindow.js code for a new dialog window which can be used
with multiple servers (similar to the filters window, that respect).  I've done
a bit of hacking on nsPrefWindow.js so that it allows any arbitrary control (not
just the prefsTree) to be used to choose the page.  I'm also incorporating
eddyk's %keyword% substitution changes from bug 79305, as this is necessary to
effectively use this infrastructure with identical pages but differing data. 
I'll attach a patch shortly.
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2beta
Attached patch work-in-progress patch, v1 (obsolete) — Splinter Review
The data-persistence doesn't quite work yet and there are some other loose ends
to clean up.  But basic control via any kinda of widget should work.
Attached patch work-in-progress patch, v2 (obsolete) — Splinter Review
* Add keyword substitution param to initPanel()

* Allow the tag param to be null, with the semantic of "get the tag from page
frame".  Fix up queued initialization to handle this

Still some loose ends to tie up.
Attachment #98528 - Attachment is obsolete: true
Attached patch patch, v3 (obsolete) — Splinter Review
OK, I'm not entirely satisfied with this code, but it now does keyword
substitution properly.	I'd be interested in any reviewer feedback about
overall structure...
Attachment #98693 - Attachment is obsolete: true
Attached patch patch, v4 (obsolete) — Splinter Review
Fixes a bug where the substition object wasn't always being remembered
correctly.
Attachment #99098 - Attachment is obsolete: true
Attached patch patch, v5Splinter Review
Attachment #99284 - Attachment is obsolete: true
Blocks: 11035
Blocks: bayesian
No longer blocks: bayesian
is this patch still needed?  the spam UI I wrote doesn't require it.
marking invalid.  this patch isn't needed.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
v
Status: RESOLVED → VERIFIED
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: