[gnome-software/wip/kalev/gnome-3-22-prep: 42/52] systemd-updates: Set the download size correctly for prepared updates



commit 484a52c5c35d97b275878e2457ea9972f392291d
Author: Richard Hughes <richard hughsie com>
Date:   Fri Oct 21 14:32:12 2016 +0100

    systemd-updates: Set the download size correctly for prepared updates
    
    (cherry picked from commit 410b93b3bb08d4da9601d74de611105c1d9ba05b)

 src/plugins/gs-plugin-systemd-updates.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-systemd-updates.c b/src/plugins/gs-plugin-systemd-updates.c
index 8af162d..dce5efd 100644
--- a/src/plugins/gs-plugin-systemd-updates.c
+++ b/src/plugins/gs-plugin-systemd-updates.c
@@ -123,6 +123,7 @@ gs_plugin_add_updates (GsPlugin *plugin,
                gs_app_set_update_version (app, split[PK_PACKAGE_ID_VERSION]);
                gs_app_set_state (app, AS_APP_STATE_UPDATABLE);
                gs_app_set_kind (app, AS_APP_KIND_GENERIC);
+               gs_app_set_size_download (app, 0);
                gs_app_list_add (list, app);
 
                /* save in the cache */


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