Commit fc24fbaa authored by Cédric Bellegarde's avatar Cédric Bellegarde

Reverse download list. Fix #333

parent e9cd59fc
Pipeline #62393 passed with stage
in 9 minutes and 2 seconds
......@@ -346,7 +346,7 @@ class DownloadsPopover(Gtk.Popover):
Populate listbox
"""
clear = False
for download in App().download_manager.get():
for download in reversed(App().download_manager.get()):
if download.get_destination() is None:
continue
child = DownloadRow(download, False)
......@@ -356,7 +356,7 @@ class DownloadsPopover(Gtk.Popover):
lambda x: self.__calculate_height())
child.show()
self.__listbox.add(child)
for download in App().download_manager.get_finished():
for download in reversed(App().download_manager.get_finished()):
if download.get_destination() is None:
continue
child = DownloadRow(download, True)
......
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