Commit 3af535b7 authored by Cédric Bellegarde's avatar Cédric Bellegarde

Allow clearing cancelled downloads. Fix #334

parent fc24fbaa
Pipeline #62396 passed with stage
in 9 minutes and 36 seconds
......@@ -15,7 +15,6 @@ from gi.repository import GObject, GLib, Gio, Gtk
from time import time
from eolie.define import App
from eolie.logger import Logger
class DownloadManager(GObject.GObject):
......@@ -166,4 +165,5 @@ class DownloadManager(GObject.GObject):
@param download as WebKit2.Download
@param error as GLib.Error
"""
Logger.error("DownloadManager::__on_failed: %s", error)
self.remove(download)
self.__finished.append(download)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment