[gnome-control-center/wip/jimmac/panel-icons: 30/41] power: upate app icon




commit e9f1523f4abc0030596d717089f8ae2d53b99c14
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jan 28 14:25:09 2022 +0100

    power: upate app icon
    
    See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/163

 panels/power/gnome-power-panel.desktop.in.in        |   4 ++--
 panels/power/icons/16x16/gnome-power-manager.png    | Bin 721 -> 0 bytes
 panels/power/icons/22x22/gnome-power-manager.png    | Bin 985 -> 0 bytes
 panels/power/icons/24x24/gnome-power-manager.png    | Bin 941 -> 0 bytes
 panels/power/icons/256x256/gnome-power-manager.png  | Bin 32499 -> 0 bytes
 panels/power/icons/32x32/gnome-power-manager.png    | Bin 1989 -> 0 bytes
 panels/power/icons/48x48/gnome-power-manager.png    | Bin 3383 -> 0 bytes
 panels/power/icons/meson.build                      |  20 +++++---------------
 .../scalable/org.gnome.Settings-power-symbolic.svg  |   4 ++++
 9 files changed, 11 insertions(+), 17 deletions(-)
---
diff --git a/panels/power/gnome-power-panel.desktop.in.in b/panels/power/gnome-power-panel.desktop.in.in
index 554213ebe..18a1cda0c 100644
--- a/panels/power/gnome-power-panel.desktop.in.in
+++ b/panels/power/gnome-power-panel.desktop.in.in
@@ -3,7 +3,7 @@ Name=Power
 Comment=View your battery status and change power saving settings
 Exec=gnome-control-center power
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=gnome-power-manager
+Icon=org.gnome.Settings-power-symbolic
 Terminal=false
 Type=Application
 NoDisplay=true
@@ -17,4 +17,4 @@ X-GNOME-Bugzilla-Version=@VERSION@
 # Translators: Search terms to find the Power panel. Do NOT translate or localize the semicolons! The list 
MUST also end with a semicolon!
 Keywords=Power;Sleep;Suspend;Hibernate;Battery;Brightness;Dim;Blank;Monitor;DPMS;Idle;Energy;
 # 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/power/icons/meson.build b/panels/power/icons/meson.build
index c56bc65b7..4cc814b3d 100644
--- a/panels/power/icons/meson.build
+++ b/panels/power/icons/meson.build
@@ -1,19 +1,9 @@
-icon_sizes = [
-  '16x16',
-  '22x22',
-  '24x24',
-  '32x32',
-  '48x48',
-  '256x256'
-]
-
-foreach icon_size: icon_sizes
-  install_data(
-    join_paths(icon_size, 'gnome-power-manager.png'),
-    install_dir: join_paths(control_center_icondir, 'hicolor', icon_size, 'apps')
-  )
-endforeach
+install_data(
+  'scalable/org.gnome.Settings-power-symbolic.svg',
+  install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
 
+# what an oddity. icons should install to the same location.
 install_data(
   'info-symbolic.svg',
   install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'status')
diff --git a/panels/power/icons/scalable/org.gnome.Settings-power-symbolic.svg 
b/panels/power/icons/scalable/org.gnome.Settings-power-symbolic.svg
new file mode 100644
index 000000000..72e54cb87
--- /dev/null
+++ b/panels/power/icons/scalable/org.gnome.Settings-power-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 5 0 c -1 0 -1 1 -1 1 v 1 h -1 s -0.707031 -0.015625 -1.449219 0.355469 c -0.738281 0.371093 
-1.550781 1.3125 -1.550781 2.644531 v 8 s -0.015625 0.707031 0.355469 1.449219 c 0.367187 0.738281 1.3125 
1.550781 2.644531 1.550781 h 3 c 0.550781 0 1 -0.449219 1 -1 s -0.449219 -1 -1 -1 h -3 c -0.554688 0 -1 
-0.445312 -1 -1 v -8 c 0 -0.554688 0.445312 -1 1 -1 h 6 c 0.554688 0 1 0.445312 1 1 h 2 c 0 -1.332031 -0.8125 
-2.273438 -1.554688 -2.644531 c -0.738281 -0.371094 -1.445312 -0.355469 -1.445312 -0.355469 h -1 v -1 c 0 -1 
-1 -1 -1 -1 z m 5 6 c -1.933594 0.277344 -2.722656 2.898438 -3 4 h -2 c -0.550781 0 -1 0.449219 -1 1 s 
0.449219 1 1 1 h 2 c 0.277344 1.101562 1.066406 3.722656 3 4 h 2 s 1 0 1 -1 v -1 h 3 v -2 h -3 v -2 h 3 v -2 
h -3 v -1 s 0 -1 -1 -1 z m 0 0" fill="#2e3434"/>
+</svg>


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