[gnome-software] fwupd: Set the origin hostname
- From: Richard Hughes <rhughes src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software] fwupd: Set the origin hostname
- Date: Mon, 11 Jul 2016 09:37:42 +0000 (UTC)
commit d79e9729ac0c723b060ba754812de02125c1ae5b
Author: Richard Hughes <richard hughsie com>
Date: Mon Jul 11 10:30:36 2016 +0100
fwupd: Set the origin hostname
src/plugins/gs-plugin-fwupd.c | 4 ++++
1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/plugins/gs-plugin-fwupd.c b/src/plugins/gs-plugin-fwupd.c
index a2d5a2c..53c947c 100644
--- a/src/plugins/gs-plugin-fwupd.c
+++ b/src/plugins/gs-plugin-fwupd.c
@@ -269,6 +269,10 @@ gs_plugin_fwupd_new_app_from_results (FwupdResult *res)
gs_app_set_license (app, GS_APP_QUALITY_NORMAL,
fwupd_result_get_update_license (res));
}
+ if (fwupd_result_get_update_uri (res) != NULL) {
+ gs_app_set_origin_hostname (app,
+ fwupd_result_get_update_uri (res));
+ }
if (fwupd_result_get_device_description (res) != NULL) {
g_autofree gchar *tmp = NULL;
tmp = as_markup_convert (fwupd_result_get_device_description (res),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]