[gnome-software] Also dump the install date
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] Also dump the install date
- Date: Fri, 6 Sep 2013 14:58:42 +0000 (UTC)
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]