diff --git a/xpfe/components/download-manager/resources/content/downloadmanager.js b/xpfe/components/download-manager/resources/content/downloadmanager.js index 8e540e2256f..6ae380f0896 100644 --- a/xpfe/components/download-manager/resources/content/downloadmanager.js +++ b/xpfe/components/download-manager/resources/content/downloadmanager.js @@ -83,15 +83,17 @@ function Startup() key = "Win"; else if (navigator.platform.indexOf("Mac") != -1) key = "Mac"; - else + else { key = "Unix"; + document.getElementById("btn_openfile").hidden = true; + } var bundle = document.getElementById("dlMgrBundle") var label = bundle.getString("showInShellLabel" + key); var accesskey = bundle.getString("showInShellAccesskey" + key); - var btn = document.getElementById("btn_showinshell"); - btn.setAttribute("label", label); - btn.setAttribute("accesskey", accesskey); + var showBtn = document.getElementById("btn_showinshell"); + showBtn.setAttribute("label", label); + showBtn.setAttribute("accesskey", accesskey); } function openPropertiesDialog() diff --git a/xpfe/components/download-manager/resources/content/downloadmanager.xul b/xpfe/components/download-manager/resources/content/downloadmanager.xul index e3218c4d141..e69de29bb2d 100644 --- a/xpfe/components/download-manager/resources/content/downloadmanager.xul +++ b/xpfe/components/download-manager/resources/content/downloadmanager.xul @@ -1,270 +0,0 @@ - - - - - - - - - - -%downloadManagerDTD; - -%downloadProgressDTD; -]> - - - -