Closed
Bug 565453
Opened 15 years ago
Closed 15 years ago
about:config access for Prism apps
Categories
(Mozilla Labs :: Prism, defect)
Mozilla Labs
Prism
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: matthew.gertner, Assigned: matthew.gertner)
Details
Attachments
(1 file)
2.50 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
It would be nice if there were an easy way for Prism apps to access about:config.
Assignee | ||
Comment 1•15 years ago
|
||
When the prism.shortcut.aboutConfig.enabled pref is set to true, ctrl-shift-a toggles about:config on and off.
Attachment #444983 -
Flags: review?(mark.finkle)
Comment 2•15 years ago
|
||
Comment on attachment 444983 [details] [diff] [review]
Keyboard shortcut for about:config when special pref is set
>+ case "cmd_aboutConfig":
>+ var prefs = Cc["@mozilla.org/preferences-service;1"].getService(Ci.nsIPrefBranch);
>+ if (prefs.getBoolPref("prism.shortcut.aboutConfig.enabled")) {
this will throw is the pref does not exist. please add it to the prefs.js file.
Attachment #444983 -
Flags: review?(mark.finkle) → review+
Assignee | ||
Comment 3•15 years ago
|
||
(In reply to comment #2)
> this will throw is the pref does not exist. please add it to the prefs.js file.
Good point.
Sending chrome/content/webrunner.js
Sending chrome/content/webrunner.xul
Sending defaults/preferences/preferences.js
Sending extension/build/Makefile.in
Transmitting file data ....
Committed revision 67152.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•