[gnome-software] If showing debugging show all the details about the app when clicked



commit d0ad080108a668bebef95effe45c8257c86ee69a
Author: Richard Hughes <richard hughsie com>
Date:   Fri Oct 4 13:20:44 2013 +0100

    If showing debugging show all the details about the app when clicked

 src/gs-shell-details.c |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/src/gs-shell-details.c b/src/gs-shell-details.c
index 78a08cf..19774bb 100644
--- a/src/gs-shell-details.c
+++ b/src/gs-shell-details.c
@@ -183,6 +183,7 @@ void
 gs_shell_details_set_app (GsShellDetails *shell_details, GsApp *app)
 {
        const gchar *tmp;
+       gchar *app_dump;
        GdkPixbuf *pixbuf;
        GtkWidget *widget;
        GtkWidget *widget2;
@@ -190,9 +191,9 @@ gs_shell_details_set_app (GsShellDetails *shell_details, GsApp *app)
        GsShellDetailsPrivate *priv = shell_details->priv;
 
        /* show some debugging */
-       g_debug ("Show application '%s' from source '%s'",
-                gs_app_get_id (app),
-                gs_app_get_source (app));
+       app_dump = gs_app_to_string (app);
+       g_debug ("%s", app_dump);
+       g_free (app_dump);
 
        /* save app */
        if (priv->app != NULL)


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