[gnome-software] Also dump the install date



commit 16437cef9583307260bff4c66521cdccfc8281be
Author: Matthias Clasen <mclasen redhat com>
Date:   Fri Sep 6 10:58:15 2013 -0400

    Also dump the install date
    
    We may not be setting it yet, but we need to.

 src/gs-app.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)
---
diff --git a/src/gs-app.c b/src/gs-app.c
index ac245e8..477b36c 100644
--- a/src/gs-app.c
+++ b/src/gs-app.c
@@ -163,6 +163,9 @@ gs_app_to_string (GsApp *app)
                g_string_append_printf (str, "\tpixbuf:\t%p\n", priv->pixbuf);
        if (priv->featured_pixbuf != NULL)
                g_string_append_printf (str, "\tfeatured-pixbuf:\t%p\n", priv->featured_pixbuf);
+        if (priv->install_date != 0)
+                g_string_append_printf (str, "\tinstall-date: %lu\n", priv->install_date);
+
        if (priv->related != NULL)
                g_string_append_printf (str, "\trelated:\t%i\n", priv->related->len);
        keys = g_hash_table_get_keys (priv->metadata);


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