From 20c73455b740f2b9e7315b26f67b8977f5d409d4 Mon Sep 17 00:00:00 2001 From: Infocatcher Date: Sun, 21 Apr 2013 18:30:40 +0400 Subject: [PATCH] Set "patchDownloads" preference to false in SeaMonkey: built-in download manager aren't support private browsing at all (part 13 for #31) --- bootstrap.js | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/bootstrap.js b/bootstrap.js index f118b6d..d1d8be0 100644 --- a/bootstrap.js +++ b/bootstrap.js @@ -2243,11 +2243,9 @@ var prefs = { //~ todo: add condition when https://bugzilla.mozilla.org/show_bug.cgi?id=564675 will be fixed this.loadDefaultPrefs(); if(windowsObserver.isSeaMonkey) { - this.setPref( - this.ns + "dragAndDropTabsBetweenDifferentWindows", - false, - Services.prefs.getDefaultBranch("") - ); + var defaultBranch = Services.prefs.getDefaultBranch(""); + this.setPref(this.ns + "dragAndDropTabsBetweenDifferentWindows", false, defaultBranch); + this.setPref(this.ns + "patchDownloads", false, defaultBranch); } Services.prefs.addObserver(this.ns, this, false); },