From 0832f44c01c2d9ffcfdaa07d99c1605ff8c938a8 Mon Sep 17 00:00:00 2001 From: "blakeross%telocity.com" Date: Wed, 6 Mar 2002 20:59:10 +0000 Subject: [PATCH] Download manager. Not part of build. a=asa --- .../resources/content/downloadmanager.js | 10 +- .../resources/content/downloadmanager.xul | 270 ------------------ .../locale/en-US/downloadmanager.dtd | 4 +- .../locale/en-US/downloadmanager.ent | 4 +- 4 files changed, 10 insertions(+), 278 deletions(-) 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; -]> - - - -