Skip to content

Commit

Permalink
Set "patchDownloads" preference to false in SeaMonkey:
Browse files Browse the repository at this point in the history
built-in download manager aren't support private browsing at all
(part 13 for #31)
  • Loading branch information
Infocatcher committed Apr 21, 2013
1 parent 7412880 commit 20c7345
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
},
Expand Down

0 comments on commit 20c7345

Please sign in to comment.