[gnome-software/gnome-3-22] flatpak: Set the download size correctly for prepared updates



commit a144d4935c2765259fdc69e4ff48415283a87504
Author: Richard Hughes <richard hughsie com>
Date:   Fri Oct 21 14:33:41 2016 +0100

    flatpak: Set the download size correctly for prepared updates
    
    (cherry picked from commit 9c0b594cece89349162f5e4227f25838c481f19c)

 src/plugins/gs-flatpak.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-flatpak.c b/src/plugins/gs-flatpak.c
index fe48348..390fbe1 100644
--- a/src/plugins/gs-flatpak.c
+++ b/src/plugins/gs-flatpak.c
@@ -877,6 +877,7 @@ gs_flatpak_add_updates (GsFlatpak *self, GsAppList *list,
                        continue;
                }
                gs_app_set_state (app, AS_APP_STATE_UPDATABLE_LIVE);
+               gs_app_set_size_download (app, 0);
                gs_app_list_add (list, app);
        }
 


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