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




commit 3c8d7c98994c55ada71e50752ecc6526b40ecca9
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jan 28 14:17:39 2022 +0100

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

 panels/notifications/gnome-notifications-panel.desktop.in.in          | 2 +-
 panels/notifications/icons/meson.build                                | 4 ++++
 .../icons/scalable/org.gnome.Settings-notifications-symbolic.svg      | 4 ++++
 panels/notifications/meson.build                                      | 2 ++
 4 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/panels/notifications/gnome-notifications-panel.desktop.in.in 
b/panels/notifications/gnome-notifications-panel.desktop.in.in
index 4b27b3fc3..325a26406 100644
--- a/panels/notifications/gnome-notifications-panel.desktop.in.in
+++ b/panels/notifications/gnome-notifications-panel.desktop.in.in
@@ -3,7 +3,7 @@ Name=Notifications
 Comment=Control which notifications are displayed and what they show
 Exec=gnome-control-center notifications
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=preferences-system-notifications
+Icon=org.gnome.Settings-notifications-symbolic
 Terminal=false
 Type=Application
 NoDisplay=true
diff --git a/panels/notifications/icons/meson.build b/panels/notifications/icons/meson.build
new file mode 100644
index 000000000..bb2bde2db
--- /dev/null
+++ b/panels/notifications/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+  'scalable/org.gnome.Settings-notifications-symbolic.svg',
+  install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/notifications/icons/scalable/org.gnome.Settings-notifications-symbolic.svg 
b/panels/notifications/icons/scalable/org.gnome.Settings-notifications-symbolic.svg
new file mode 100644
index 000000000..13bea30bd
--- /dev/null
+++ b/panels/notifications/icons/scalable/org.gnome.Settings-notifications-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 -0.828125 0 -1.5 0.671875 -1.5 1.5 c 0 0.078125 0.007812 0.152344 0.019531 0.230469 c 
-2.089843 0.648437 -3.515625 2.582031 -3.519531 4.769531 v 4.5 h -0.5 c -0.554688 0 -1 0.445312 -1 1 s 
0.445312 1 1 1 h 11 c 0.554688 0 1 -0.445312 1 -1 s -0.445312 -1 -1 -1 h -0.5 v -4.5 c 0 -2.191406 -1.425781 
-4.125 -3.515625 -4.777344 c 0.007813 -0.074218 0.015625 -0.148437 0.015625 -0.222656 c 0 -0.828125 -0.671875 
-1.5 -1.5 -1.5 z m -2 14 c 0 0.714844 0.382812 1.375 1 1.730469 c 0.617188 0.359375 1.382812 0.359375 2 0 c 
0.617188 -0.355469 1 -1.015625 1 -1.730469 z m 0 0" fill="#2e3436"/>
+</svg>
diff --git a/panels/notifications/meson.build b/panels/notifications/meson.build
index 1b04b243d..89233b22f 100644
--- a/panels/notifications/meson.build
+++ b/panels/notifications/meson.build
@@ -41,3 +41,5 @@ panels_libs += static_library(
   dependencies: common_deps,
   c_args: cflags
 )
+
+subdir('icons')


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