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)
SeaMonkey
Preferences
Tracking
(Not tracked)
VERIFIED
INVALID
mozilla1.2beta
People
(Reporter: dmosedale, Assigned: dmosedale)
References
(Blocks 1 open bug)
Details
Attachments
(1 file, 4 obsolete files)
16.29 KB,
patch
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Updated•22 years ago
|
Status: NEW → ASSIGNED
Target Milestone: --- → mozilla1.2beta
Assignee | ||
Comment 1•22 years ago
|
||
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.
Assignee | ||
Comment 2•22 years ago
|
||
* 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
Assignee | ||
Comment 3•22 years ago
|
||
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
Assignee | ||
Comment 4•22 years ago
|
||
Fixes a bug where the substition object wasn't always being remembered correctly.
Attachment #99098 -
Attachment is obsolete: true
Assignee | ||
Comment 5•22 years ago
|
||
Attachment #99284 -
Attachment is obsolete: true
Comment 6•22 years ago
|
||
is this patch still needed? the spam UI I wrote doesn't require it.
Comment 7•22 years ago
|
||
marking invalid. this patch isn't needed.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•