[gnome-software: 1/2] Set URLs for snaps
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 1/2] Set URLs for snaps
- Date: Mon, 27 Sep 2021 10:06:22 +0000 (UTC)
commit 9614c85bd42915afb548f96d1c1d415c0129d9d9
Author: Robert Ancell <robert ancell canonical com>
Date: Fri Sep 24 13:07:12 2021 +1200
Set URLs for snaps
plugins/snap/gs-plugin-snap.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/plugins/snap/gs-plugin-snap.c b/plugins/snap/gs-plugin-snap.c
index 2e21e6ba4..e2f16ec9b 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -1004,6 +1004,8 @@ refine_app_with_client (GsPlugin *plugin,
if (name == NULL || g_strcmp0 (name, "") == 0)
name = snapd_snap_get_name (snap);
gs_app_set_name (app, GS_APP_QUALITY_NORMAL, name);
+ gs_app_set_url (app, AS_URL_KIND_HOMEPAGE, snapd_snap_get_website (snap));
+ gs_app_set_url (app, AS_URL_KIND_CONTACT, snapd_snap_get_contact (snap));
gs_app_set_summary (app, GS_APP_QUALITY_NORMAL, snapd_snap_get_summary (snap));
description = gs_plugin_snap_get_description_safe (snap);
if (description != NULL)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]