From 39d72246b5593379e854c6d2d79e5b9eaeae908d Mon Sep 17 00:00:00 2001 From: "blakeross@telocity.com" Date: Mon, 13 Aug 2007 18:12:12 -0700 Subject: [PATCH] 131762 - can open multiple occurrences of download manager. also adds a pref in Navigator > Downloads to set the behavior when starting a download (open DM, open progress dialog, open nothing). r=hewitt sr=ben a=asa --- .../download-manager/public/nsIProgressDialog.idl | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/xpfe/components/download-manager/public/nsIProgressDialog.idl b/xpfe/components/download-manager/public/nsIProgressDialog.idl index 7b1f5df7fc81..53f3e7c96936 100644 --- a/xpfe/components/download-manager/public/nsIProgressDialog.idl +++ b/xpfe/components/download-manager/public/nsIProgressDialog.idl @@ -61,6 +61,12 @@ interface nsIProgressDialog : nsIDownload { * open yet, or has been closed. */ attribute nsIDOMWindow dialog; + + /** + * Whether or not to cancel the download when the progress dialog is closed. + * If set, the Cancel button will also be hidden. + */ + attribute boolean cancelOnClose; };