[gnome-software/gnome-42: 5/7] gs-app-context-bar: Indicate when the GS_APP_PERMISSIONS_FILESYSTEM_OTHER is set
- From: Philip Withnall <pwithnall src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-software/gnome-42: 5/7] gs-app-context-bar: Indicate when the GS_APP_PERMISSIONS_FILESYSTEM_OTHER is set
- Date: Thu, 28 Apr 2022 11:22:56 +0000 (UTC)
commit deb0ea37af258764f233c62dbe9e1df62f836e42
Author: Milan Crha <mcrha redhat com>
Date: Wed Apr 13 17:02:45 2022 +0200
gs-app-context-bar: Indicate when the GS_APP_PERMISSIONS_FILESYSTEM_OTHER is set
Related to https://gitlab.gnome.org/GNOME/gnome-software/-/issues/1701
src/gs-app-context-bar.c | 7 +++++++
1 file changed, 7 insertions(+)
---
diff --git a/src/gs-app-context-bar.c b/src/gs-app-context-bar.c
index ea1e8938f..0e88aecd6 100644
--- a/src/gs-app-context-bar.c
+++ b/src/gs-app-context-bar.c
@@ -333,6 +333,13 @@ update_safety_tile (GsAppContextBar *self)
* It’s used in a context tile, so should be short. */
_("Can read your downloads"));
break;
+ case GS_APP_PERMISSIONS_FILESYSTEM_OTHER:
+ add_to_safety_rating (&chosen_rating, descriptions,
+ SAFETY_POTENTIALLY_UNSAFE,
+ /* Translators: This indicates an app can access data in the
system unknown to the Software.
+ * It’s used in a context tile, so should be short. */
+ _("Can access arbitrary files"));
+ break;
case GS_APP_PERMISSIONS_SETTINGS:
add_to_safety_rating (&chosen_rating, descriptions,
SAFETY_POTENTIALLY_UNSAFE,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]