[gnome-software: 5/6] snap: Mark all screenshots as of extra type
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software: 5/6] snap: Mark all screenshots as of extra type
- Date: Sun, 14 Mar 2021 17:42:17 +0000 (UTC)
commit e82c709efabc6b2dc00a9704bcfdf0fc03b18d8c
Author: Philip Withnall <pwithnall endlessos org>
Date: Sun Mar 14 16:43:40 2021 +0000
snap: Mark all screenshots as of extra type
snap doesn’t seem to provide any metadata about which screenshots are
the default/main ones and which ones are additional, so mark them all as
additional.
See discussion on
https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1170#note_1058062.
This is a follow-up to commit 136458816662.
Signed-off-by: Philip Withnall <pwithnall endlessos org>
Fixes: #1170
plugins/snap/gs-plugin-snap.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/plugins/snap/gs-plugin-snap.c b/plugins/snap/gs-plugin-snap.c
index c7c87fcd9..532e8348f 100644
--- a/plugins/snap/gs-plugin-snap.c
+++ b/plugins/snap/gs-plugin-snap.c
@@ -891,7 +891,7 @@ refine_screenshots (GsApp *app, SnapdSnap *snap)
continue;
ss = as_screenshot_new ();
- as_screenshot_set_kind (ss, AS_SCREENSHOT_KIND_NORMAL);
+ as_screenshot_set_kind (ss, AS_SCREENSHOT_KIND_EXTRA);
image = as_image_new ();
as_image_set_url (image, snapd_media_get_url (m));
as_image_set_kind (image, AS_IMAGE_KIND_SOURCE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]