[gnome-software/gnome-3-34] rpm-ostree: Show progress when downloading distro upgrades



commit 46ffd04eee4cf2908f74760f5ba150ee8427f370
Author: Kalev Lember <klember redhat com>
Date:   Mon Jan 27 23:15:55 2020 +0100

    rpm-ostree: Show progress when downloading distro upgrades

 plugins/rpm-ostree/gs-plugin-rpm-ostree.c | 2 ++
 1 file changed, 2 insertions(+)
---
diff --git a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
index cccc7f5e..0ceb4d2d 100644
--- a/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
+++ b/plugins/rpm-ostree/gs-plugin-rpm-ostree.c
@@ -1482,6 +1482,8 @@ gs_plugin_app_upgrade_download (GsPlugin *plugin,
                                                  FALSE); /* no-overrides */
 
        gs_app_set_state (app, AS_APP_STATE_INSTALLING);
+       tp->app = g_object_ref (app);
+
        if (!gs_rpmostree_os_call_rebase_sync (priv->os_proxy,
                                               options,
                                               new_refspec,


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