[gnome-software] systemd-updates: Set the download size correctly for	prepared updates
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc: 
- Subject: [gnome-software] systemd-updates: Set the download size correctly for	prepared updates
- Date: Fri, 21 Oct 2016 14:10:46 +0000 (UTC)
commit 410b93b3bb08d4da9601d74de611105c1d9ba05b
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
 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 8b48b58..d368bfa 100644
--- a/src/plugins/gs-plugin-systemd-updates.c
+++ b/src/plugins/gs-plugin-systemd-updates.c
@@ -127,6 +127,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]