[gnome-control-center/wip/jimmac/panel-icons] about: add panel app icon



commit 8615f35d3709be57bde9c7e817d9c77f78c23878
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jan 28 13:50:02 2022 +0100

    about: add panel app icon
    
    See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/163

 panels/info-overview/gnome-info-overview-panel.desktop.in.in          | 2 +-
 panels/info-overview/icons/meson.build                                | 4 ++++
 .../icons/scalable/org.gnome.Settings-about-symbolic.svg              | 4 ++++
 panels/info-overview/meson.build                                      | 2 ++
 4 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/panels/info-overview/gnome-info-overview-panel.desktop.in.in 
b/panels/info-overview/gnome-info-overview-panel.desktop.in.in
index 06abbdc19..e3cf37749 100644
--- a/panels/info-overview/gnome-info-overview-panel.desktop.in.in
+++ b/panels/info-overview/gnome-info-overview-panel.desktop.in.in
@@ -3,7 +3,7 @@ Name=About
 Comment=View information about your system
 Exec=gnome-control-center info-overview
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=help-about
+Icon=org.gnome.Settings-about-symbolic
 Terminal=false
 Type=Application
 NoDisplay=true
diff --git a/panels/info-overview/icons/meson.build b/panels/info-overview/icons/meson.build
new file mode 100644
index 000000000..53aac3328
--- /dev/null
+++ b/panels/info-overview/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+  'scalable/org.gnome.Settings-about-symbolic.svg',
+  install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/info-overview/icons/scalable/org.gnome.Settings-about-symbolic.svg 
b/panels/info-overview/icons/scalable/org.gnome.Settings-about-symbolic.svg
new file mode 100644
index 000000000..bc627c99c
--- /dev/null
+++ b/panels/info-overview/icons/scalable/org.gnome.Settings-about-symbolic.svg
@@ -0,0 +1,4 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="16px" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg";>
+    <path d="m 8 0 c -4.421875 0 -8 3.578125 -8 8 s 3.578125 8 8 8 s 8 -3.578125 8 -8 s -3.578125 -8 -8 -8 z 
m 0 3.875 c 0.621094 0 1.125 0.503906 1.125 1.125 s -0.503906 1.125 -1.125 1.125 s -1.125 -0.503906 -1.125 
-1.125 s 0.503906 -1.125 1.125 -1.125 z m -1.523438 3.125 h 2.523438 v 4 h 0.5 c 0.277344 0 0.5 0.222656 0.5 
0.5 s -0.222656 0.5 -0.5 0.5 h -2.5 v -4 h -0.5 c -0.277344 0 -0.5 -0.222656 -0.5 -0.5 c 0 -0.269531 0.210938 
-0.488281 0.476562 -0.5 z m 0 0" fill="#2e3436"/>
+</svg>
diff --git a/panels/info-overview/meson.build b/panels/info-overview/meson.build
index 1a7b2cded..45251ab26 100644
--- a/panels/info-overview/meson.build
+++ b/panels/info-overview/meson.build
@@ -72,3 +72,5 @@ install_data(
   [ 'gnome-logo-text.svg', 'gnome-logo-text-dark.svg' ],
   install_dir: join_paths(control_center_datadir, 'icons')
 )
+
+subdir('icons')


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]