Closed Bug 565453 Opened 15 years ago Closed 15 years ago

about:config access for Prism apps

Categories

(Mozilla Labs :: Prism, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: matthew.gertner, Assigned: matthew.gertner)

Details

Attachments

(1 file)

It would be nice if there were an easy way for Prism apps to access about:config.
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 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+
(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.

Attachment

General

Created:
Updated:
Size: