[gnome-software/wip/origin-icons: 6/6] snap: Use a "snap-symbolic" icon as an origin icon
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/wip/origin-icons: 6/6] snap: Use a "snap-symbolic" icon as an origin icon
- Date: Mon, 8 Aug 2022 08:34:19 +0000 (UTC)
commit 94d41fbfa802c779b9e77ecd64b2cdbc696bcb5a
Author: Milan Crha <mcrha redhat com>
Date: Mon Aug 8 10:32:16 2022 +0200
snap: Use a "snap-symbolic" icon as an origin icon
plugins/snap/gs-plugin-snap.c | 1 +
1 file changed, 1 insertion(+)
---
diff --git a/plugins/snap/gs-plugin-snap.c b/plugins/snap/gs-plugin-snap.c
index 073d729d0..d7d4162b3 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -425,6 +425,7 @@ snap_to_app (GsPluginSnap *self, SnapdSnap *snap, const gchar *branch)
gs_app_set_bundle_kind (app, AS_BUNDLE_KIND_SNAP);
gs_app_set_branch (app, branch);
gs_app_set_metadata (app, "snap::name", snapd_snap_get_name (snap));
+ gs_app_set_metadata (app, "GnomeSoftware::PackagingIcon", "snap-symbolic");
gs_plugin_cache_add (GS_PLUGIN (self), cache_id, app);
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]