Blame SOURCES/application-use-icon-name-that-exists.patch

1870e6
From 0e2562c2c5ff081561424c625b090f089ef45fe7 Mon Sep 17 00:00:00 2001
1870e6
From: Felipe Borges <felipeborges@gnome.org>
1870e6
Date: Fri, 14 Jan 2022 13:28:24 +0100
1870e6
Subject: [PATCH] applications: Set the Icon key in desktop file to a icon that
1870e6
 exists
1870e6
1870e6
While we dynamically append --symbolic to the icons while creating
1870e6
the sidebar model in
1870e6
https://gitlab.gnome.org/GNOME/gnome-control-center/-/blob/master/shell/cc-shell-model.c#L270
1870e6
There are automation tools (such as rpmdiff) that parse desktop files
1870e6
and verify whether their Icon= matches to an existing file in the
1870e6
icon theme package.
1870e6
1870e6
preferences-desktop-apps doesn't exist in adwaita-icon-theme but
1870e6
preferences-desktop-apps-symbolic does.
1870e6
---
1870e6
 panels/applications/gnome-applications-panel.desktop.in.in | 4 ++--
1870e6
 1 file changed, 2 insertions(+), 2 deletions(-)
1870e6
1870e6
diff --git a/panels/applications/gnome-applications-panel.desktop.in.in b/panels/applications/gnome-applications-panel.desktop.in.in
1870e6
index 86e816645..83616c89e 100644
1870e6
--- a/panels/applications/gnome-applications-panel.desktop.in.in
1870e6
+++ b/panels/applications/gnome-applications-panel.desktop.in.in
1870e6
@@ -4,7 +4,7 @@ Comment=Control various application permissions and settings
1870e6
 Exec=gnome-control-center applications
1870e6
 # FIXME
1870e6
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
1870e6
-Icon=preferences-desktop-apps
1870e6
+Icon=preferences-desktop-apps-symbolic
1870e6
 Terminal=false
1870e6
 Type=Application
1870e6
 NoDisplay=true
1870e6
@@ -13,4 +13,4 @@ Categories=GNOME;GTK;Settings;DesktopSettings;X-GNOME-Settings-Panel;X-GNOME-Acc
1870e6
 OnlyShowIn=GNOME;Unity;
1870e6
 # Translators: Search terms to find the Privacy panel. Do NOT translate or localize the semicolons! The list MUST also end with a semicolon!
1870e6
 Keywords=application;flatpak;permission;setting;
1870e6
-X-GNOME-ControlCenter-HasSidebar=true
1870e6
\ No newline at end of file
1870e6
+X-GNOME-ControlCenter-HasSidebar=true
1870e6
-- 
1870e6
2.33.1
1870e6