[gnome-control-center/wip/jimmac/panel-icons: 10/35] date & time: add symbolic app icon




commit c8657552ad73e06f70d86fda1a4e7d841a7fe5c2
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jan 28 12:58:33 2022 +0100

    date & time: add symbolic app icon
    
    See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/163

 panels/datetime/gnome-datetime-panel.desktop.in.in |   4 +-
 .../icons/16x16/preferences-system-time.png        | Bin 999 -> 0 bytes
 .../icons/22x22/preferences-system-time.png        | Bin 1633 -> 0 bytes
 .../icons/256x256/preferences-system-time.png      | Bin 41392 -> 0 bytes
 .../icons/32x32/preferences-system-time.png        | Bin 2481 -> 0 bytes
 .../icons/48x48/preferences-system-time.png        | Bin 4656 -> 0 bytes
 panels/datetime/icons/meson.build                  |  17 +-
 .../scalable/org.gnome.Settings-time-symbolic.svg  |   7 +
 .../icons/scalable/preferences-system-time.svg     | 861 ---------------------
 9 files changed, 10 insertions(+), 879 deletions(-)
---
diff --git a/panels/datetime/gnome-datetime-panel.desktop.in.in 
b/panels/datetime/gnome-datetime-panel.desktop.in.in
index 307a99f94..6a384454d 100644
--- a/panels/datetime/gnome-datetime-panel.desktop.in.in
+++ b/panels/datetime/gnome-datetime-panel.desktop.in.in
@@ -3,7 +3,7 @@ Name=Date & Time
 Comment=Change the date and time, including time zone
 Exec=gnome-control-center datetime
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=preferences-system-time
+Icon=org.gnome.Settings-time-symbolic
 Terminal=false
 Type=Application
 NoDisplay=true
@@ -13,4 +13,4 @@ OnlyShowIn=GNOME;
 # Translators: Search terms to find the Date and Time panel. Do NOT translate or localize the semicolons! 
The list MUST also end with a semicolon!
 Keywords=Clock;Timezone;Location;
 # Notifications are emitted by gnome-settings-daemon
-X-GNOME-UsesNotifications=true
\ No newline at end of file
+X-GNOME-UsesNotifications=true
diff --git a/panels/datetime/icons/meson.build b/panels/datetime/icons/meson.build
index cb93b9734..63f590057 100644
--- a/panels/datetime/icons/meson.build
+++ b/panels/datetime/icons/meson.build
@@ -1,19 +1,4 @@
-icon_sizes = [
-  '16x16',
-  '22x22',
-  '32x32',
-  '48x48',
-  '256x256'
-]
-
-foreach icon_size: icon_sizes
-  install_data(
-    join_paths(icon_size, 'preferences-system-time.png'),
-    install_dir: join_paths(control_center_icondir, 'hicolor', icon_size, 'apps')
-  )
-endforeach
-
 install_data(
-  'scalable/preferences-system-time.svg',
+  'scalable/org.gnome.Settings-time-symbolic.svg',
   install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
 )
diff --git a/panels/datetime/icons/scalable/org.gnome.Settings-time-symbolic.svg 
b/panels/datetime/icons/scalable/org.gnome.Settings-time-symbolic.svg
new file mode 100644
index 000000000..907f7d5d4
--- /dev/null
+++ b/panels/datetime/icons/scalable/org.gnome.Settings-time-symbolic.svg
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<svg height="16px" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg";>
+    <g fill="#2e3436">
+        <path d="m 8 0 c -4.40625 0 -8 3.59375 -8 8 s 3.59375 8 8 8 s 8 -3.59375 8 -8 s -3.59375 -8 -8 -8 z 
m 0 2 c 3.324219 0 6 2.671875 6 6 c 0 3.324219 -2.675781 6 -6 6 s -6 -2.675781 -6 -6 c 0 -3.328125 2.675781 
-6 6 -6 z m 0 0"/>
+        <path d="m 4.929688 4.953125 c -0.132813 0.003906 -0.257813 0.058594 -0.351563 0.152344 c -0.191406 
0.195312 -0.1875 0.511719 0.007813 0.707031 l 3.113281 3.042969 c 0.105469 0.097656 0.246093 0.144531 
0.386719 0.128906 h 2.914062 c 0.277344 0 0.5 -0.222656 0.5 -0.5 c 0 -0.273437 -0.222656 -0.5 -0.5 -0.5 h 
-2.761719 l -2.953125 -2.886719 c -0.09375 -0.09375 -0.222656 -0.144531 -0.355468 -0.144531 z m 0 0"/>
+    </g>
+</svg>


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