From c732e5e280eaf580f3efb9ed8fd12ba08dd34c20 Mon Sep 17 00:00:00 2001 From: saneyuki_s Date: Fri, 4 Jan 2013 02:57:38 +0900 Subject: [PATCH] Not setting '.override' pref when uninstall/diasble this addon. --- modules/base.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/base.js b/modules/base.js index a824d336..3a995419 100644 --- a/modules/base.js +++ b/modules/base.js @@ -498,8 +498,6 @@ var TreeStyleTabBase = { let pref = restorePrefs[i]; let backup = prefs.getPref(pref+'.backup'); if (backup === null) continue; - // we have to set to ".override" pref, to avoid unexpectedly reset by the preference listener. - prefs.setPref(pref+'.override', backup); // restore user preference. prefs.setPref(pref, backup); // clear backup pref.