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



commit f8531c84a0b3d5fa95aa4e5ba8232d53e7d4775f
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jan 28 11:59:52 2022 +0100

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

 .../icons/scalable/org.gnome.Settings-applications-symbolic.svg       | 4 ----
 panels/bluetooth/gnome-bluetooth-panel.desktop.in.in                  | 2 +-
 panels/{applications => bluetooth}/icons/meson.build                  | 2 +-
 .../icons/scalable/org.gnome.Settings-bluetooth-symbolic.svg          | 4 ++++
 panels/bluetooth/meson.build                                          | 2 ++
 5 files changed, 8 insertions(+), 6 deletions(-)
---
diff --git a/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in 
b/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in
index d460700d0..ac4bbc53e 100644
--- a/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in
+++ b/panels/bluetooth/gnome-bluetooth-panel.desktop.in.in
@@ -2,7 +2,7 @@
 Name=Bluetooth
 Comment=Turn Bluetooth on and off and connect your devices
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=bluetooth
+Icon=org.gnome.Settings-bluetooth
 Exec=gnome-control-center bluetooth
 Terminal=false
 Type=Application
diff --git a/panels/applications/icons/meson.build b/panels/bluetooth/icons/meson.build
similarity index 62%
rename from panels/applications/icons/meson.build
rename to panels/bluetooth/icons/meson.build
index 60ee78c79..ffaee3fa2 100644
--- a/panels/applications/icons/meson.build
+++ b/panels/bluetooth/icons/meson.build
@@ -1,4 +1,4 @@
 install_data(
-  'scalable/org.gnome.Settings-applications-symbolic.svg',
+  'scalable/org.gnome.Settings-bluetooth-symbolic.svg',
   install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
 )
diff --git a/panels/bluetooth/icons/scalable/org.gnome.Settings-bluetooth-symbolic.svg 
b/panels/bluetooth/icons/scalable/org.gnome.Settings-bluetooth-symbolic.svg
new file mode 100644
index 000000000..f086eb3e5
--- /dev/null
+++ b/panels/bluetooth/icons/scalable/org.gnome.Settings-bluetooth-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 7.585938 0.0898438 c -0.355469 0.1640622 -0.585938 0.5195312 -0.585938 0.9101562 v 5.296875 l 
-2.34375 -2.046875 c -0.414062 -0.363281 -1.042969 -0.324219 -1.40625 0.089844 c -0.363281 0.417968 -0.324219 
1.046875 0.09375 1.410156 l 2.566406 2.25 l -2.566406 2.25 c -0.417969 0.363281 -0.457031 0.992188 -0.09375 
1.40625 c 0.363281 0.417969 0.992188 0.457031 1.40625 0.09375 l 2.34375 -2.046875 v 5.296875 c 0 0.390625 
0.230469 0.746094 0.585938 0.910156 c 0.359374 0.160156 0.777343 0.101563 1.070312 -0.160156 l 4 -3.5 c 
0.21875 -0.1875 0.34375 -0.460938 0.34375 -0.75 s -0.125 -0.5625 -0.34375 -0.75 l -3.140625 -2.75 l 3.140625 
-2.75 c 0.21875 -0.1875 0.34375 -0.460938 0.34375 -0.75 s -0.125 -0.5625 -0.34375 -0.75 l -4 -3.5 c -0.292969 
-0.2617188 -0.710938 -0.3242188 -1.070312 -0.1601562 z m 1.414062 3.1132812 l 1.484375 1.296875 l -1.484375 
1.296875 z m 0 7 l 1.484375 1.296875 l -1.484375 1.296875 z m 0 0" fill="#2e3436"/>
+</svg>
diff --git a/panels/bluetooth/meson.build b/panels/bluetooth/meson.build
index 4bed812a9..e5be2b448 100644
--- a/panels/bluetooth/meson.build
+++ b/panels/bluetooth/meson.build
@@ -37,3 +37,5 @@ panels_libs += static_library(
   dependencies: deps,
   c_args: cflags
 )
+
+subdir('icons')


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