Download manager. Not part of build.

This commit is contained in:
blakeross%telocity.com 2002-02-23 00:07:16 +00:00
parent 45315576a3
commit cd2d695468
3 changed files with 3 additions and 4 deletions

View File

@ -111,7 +111,7 @@ var downloadViewController = {
return selectionCount > 0;
case "cmd_remove":
// XXX ensure selection isn't still in progress
// how to handle multiple selection?
// and how to handle multiple selection?
return selectionCount > 0;
case "cmd_selectAll":
return gDownloadViewChildren.childNodes.length != selectionCount;

View File

@ -50,7 +50,6 @@
<script type="application/x-javascript" src="chrome://global/content/treePopups.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/downloadmanager/downloadmanager.js"/>
<script type="application/x-javascript" src="chrome://communicator/content/downloadmanager/nsDownloadProgressListener.js"/>
<stringbundle id="downloadBundle"
src="chrome://communicator/locale/downloadmanager/downloadmanager.properties"/>

View File

@ -54,7 +54,7 @@
/* Outstanding issues/todo:
* 1. Using the target path as an identifier is not sufficient because it's not unique on mac.
* 2. Implement pause/resume
* 2. Implement pause/resume.
*/
static NS_DEFINE_CID(kRDFServiceCID, NS_RDFSERVICE_CID);
@ -403,7 +403,7 @@ nsDownloadManager::CancelDownload(const char* aKey)
nsCOMPtr<nsIWebBrowserPersist> persist;
item->GetPersist(getter_AddRefs(persist));
if (persist)
persist->CancelSave();
rv = persist->CancelSave();
// if an observer was provided, notify that the download was cancelled.
// if no persist was provided, this is necessary so that whatever transfer