From d449447fc84f9cd155295d57e3793b850b88575e Mon Sep 17 00:00:00 2001 From: Richard Hughes Date: Thu, 8 Oct 2015 20:10:44 +0100 Subject: [PATCH] Add the update description to the GetDetails results --- src/fu-main.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/src/fu-main.c b/src/fu-main.c index 97537c527..8eb72af21 100644 --- a/src/fu-main.c +++ b/src/fu-main.c @@ -1418,6 +1418,12 @@ fu_main_daemon_method_call (GDBusConnection *connection, const gchar *sender, FU_DEVICE_KEY_LICENSE, g_variant_new_string (tmp)); } + tmp = as_release_get_description (rel, NULL); + if (tmp != NULL) { + g_variant_builder_add (&builder, "{sv}", + FU_DEVICE_KEY_UPDATE_DESCRIPTION, + g_variant_new_string (tmp)); + } g_variant_builder_add (&builder, "{sv}", FU_DEVICE_KEY_TRUSTED, g_variant_new_uint64 (trust_flags));