[gnome-software] trivial: Add another profile dump point for debugging



commit d6fd2d8f9b222e0d517db0562a90ef76ec2b7889
Author: Richard Hughes <richard hughsie com>
Date:   Fri May 19 19:34:58 2017 +0100

    trivial: Add another profile dump point for debugging

 src/gs-updates-page.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-updates-page.c b/src/gs-updates-page.c
index 10b64d1..8a78b71 100644
--- a/src/gs-updates-page.c
+++ b/src/gs-updates-page.c
@@ -658,6 +658,9 @@ _perform_update_cb (GsPluginLoader *plugin_loader, GAsyncResult *res, gpointer u
        /* unconditionally re-enable this */
        gtk_widget_set_sensitive (GTK_WIDGET (helper->self->button_update_all), TRUE);
 
+       /* a good place */
+       gs_shell_profile_dump (helper->self->shell);
+
        /* get the results */
        if (!gs_plugin_loader_job_action_finish (plugin_loader, res, &error)) {
                g_warning ("failed to perform update: %s", error->message);


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