From ed42114efe1386199668ecfaa4b3881dbc753ddc Mon Sep 17 00:00:00 2001 From: "myk@mozilla.org" Date: Wed, 3 Oct 2007 14:58:11 -0700 Subject: [PATCH] bug 395713: show 'Save to Disk' option in Applications prefpane for types handled only by a plugin; r=gavin --- browser/components/preferences/applications.js | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/browser/components/preferences/applications.js b/browser/components/preferences/applications.js index 4267fc8541cb..b03464c0a239 100755 --- a/browser/components/preferences/applications.js +++ b/browser/components/preferences/applications.js @@ -1186,13 +1186,8 @@ var gApplicationsPane = { // Note: this option isn't available to protocol types, since we don't know // what it means to save a URL having a certain scheme to disk, nor is it // available to feeds, since the feed code doesn't implement the capability. - // And it's not available to types handled only by plugins either, although - // I would think we'd want to give users the ability to redirect that stuff - // to disk (so maybe we should revisit that decision). if ((handlerInfo.wrappedHandlerInfo instanceof Ci.nsIMIMEInfo) && - handlerInfo.type != TYPE_MAYBE_FEED && - !handlerInfo.handledOnlyByPlugin) { - + handlerInfo.type != TYPE_MAYBE_FEED) { var saveMenuItem = document.createElementNS(kXULNS, "menuitem"); saveMenuItem.setAttribute("action", Ci.nsIHandlerInfo.saveToDisk); saveMenuItem.setAttribute("label", this._prefsBundle.getString("saveFile"));