From 9b57efe67dd9f16ab30886182b6591b589c29bbf Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Fri, 26 Aug 2011 16:55:21 +0200 Subject: Added close button + alt+r shortcut to toggle enabled --- chrome/code/redirectorprefs.js | 4 ---- 1 file changed, 4 deletions(-) (limited to 'chrome/code/redirectorprefs.js') diff --git a/chrome/code/redirectorprefs.js b/chrome/code/redirectorprefs.js index 101a3f0..3920539 100644 --- a/chrome/code/redirectorprefs.js +++ b/chrome/code/redirectorprefs.js @@ -39,9 +39,6 @@ RedirectorPrefs.prototype = { get defaultDir() { return this._defaultDir; }, set defaultDir(value) { this._prefBranch.setCharPref('defaultDir', value); }, - get redirects() { return this._redirects; }, - set redirects(value) { this._prefBranch.setCharPref('redirects', value); }, - init : function() { this._prefBranch = Components.classes["@mozilla.org/preferences-service;1"].getService(Components.interfaces.nsIPrefService).getBranch("extensions.redirector."); this.reload(); @@ -61,7 +58,6 @@ RedirectorPrefs.prototype = { this._showContextMenu = this._prefBranch.getBoolPref('showContextMenu'); this._debugEnabled = this._prefBranch.getBoolPref('debugEnabled'); this._defaultDir = this._prefBranch.getCharPref('defaultDir'); - this._redirects = this._prefBranch.getCharPref('redirects'); }, get service() { -- cgit v1.2.3-70-g09d2