gget r67 - trunk/gget



Author: johans
Date: Mon Aug 11 12:25:13 2008
New Revision: 67
URL: http://svn.gnome.org/viewvc/gget?rev=67&view=rev

Log:
Cancel fix.

Modified:
   trunk/gget/DownloadManager.py

Modified: trunk/gget/DownloadManager.py
==============================================================================
--- trunk/gget/DownloadManager.py	(original)
+++ trunk/gget/DownloadManager.py	Mon Aug 11 12:25:13 2008
@@ -105,7 +105,7 @@
         download if its not already completed."""
         download.connect("status-changed", self.__status_changed)
 
-        if not download.status == Download.COMPLETED:
+        if not download.status in [Download.COMPLETED, Download.CANCELED]:
             self.start_download(download)
 
     def __status_changed(self, download, status):



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]