Closed
Bug 268260
Opened 20 years ago
Closed 20 years ago
There is currently no way for users to set prefs for plugins
Categories
(Other Applications :: ChatZilla, defect)
Other Applications
ChatZilla
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: Gijs, Assigned: rginda)
References
Details
Attachments
(1 file)
|
3.80 KB,
patch
|
rginda
:
review+
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; rv:1.7.3) Gecko/20040913 Firefox/0.10.1 Due to the new API, the preferences plugins utilize are not stored in the overall prefManager or prefs array, but in plugin.prefs. Users currently have no way to access those preferences without resorting to blunt javascript (modifying the client.plugins[index].prefs array by hand, for example). Reproducible: Always Steps to Reproduce: Expected Results: There should be a command to set or review plugin preferences, plugin-pref for example. I will *try* to get a patch up this evening. I've just never done this before, so it might take a while. I think adding an additional if statement to cmdPrefs in the commands.js file would enable that command to be used for plugins as well, given the right parameters & command definitions in chatzilla.properties and commands.js.
| Reporter | ||
Comment 1•20 years ago
|
||
Well, my first patch. Took me a while, let's hope someone reviews it and it actually works for everyone ;). More serious note: edits the parsing of <plugin>. Extra parameters were ignored in the parsePlugin function because of a slight mistake in the index given in an array call. Thanks to Silver for that one :).
| Reporter | ||
Comment 2•20 years ago
|
||
Comment on attachment 165062 [details] [diff] [review] adds a /plugin-pref command for editing / viewing plugin prefs Setting review request, as I forgot to do so yesterday.
Attachment #165062 -
Flags: review?(rginda)
| Assignee | ||
Comment 3•20 years ago
|
||
Comment on attachment 165062 [details] [diff] [review] adds a /plugin-pref command for editing / viewing plugin prefs r=rginda, looks good to me
Attachment #165062 -
Flags: review?(rginda) → review+
| Reporter | ||
Updated•20 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → FIXED
Updated•20 years ago
|
Product: Core → Other Applications
You need to log in
before you can comment on or make changes to this bug.
Description
•