[gnome-control-center/wip/jimmac/panel-icons: 40/41] wwan: add app icon




commit 91ac1cf4f7fab01829d4dbe1f985193c267bcec9
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jan 28 15:14:17 2022 +0100

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

 panels/wwan/gnome-wwan-panel.desktop.in.in                            | 2 +-
 panels/wwan/icons/meson.build                                         | 4 ++++
 .../icons/scalable/org.gnome.Settings-mobile-network-symbolic.svg     | 4 ++++
 panels/wwan/meson.build                                               | 2 ++
 4 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/panels/wwan/gnome-wwan-panel.desktop.in.in b/panels/wwan/gnome-wwan-panel.desktop.in.in
index d46359755..dfe9409d7 100644
--- a/panels/wwan/gnome-wwan-panel.desktop.in.in
+++ b/panels/wwan/gnome-wwan-panel.desktop.in.in
@@ -4,7 +4,7 @@ Comment=Configure Telephony and mobile data connections
 Exec=gnome-control-center wwan
 # FIXME
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=network-cellular-signal-excellent
+Icon=org.gnome.Settings-mobile-network-symbolic
 Terminal=false
 Type=Application
 NoDisplay=true
diff --git a/panels/wwan/icons/meson.build b/panels/wwan/icons/meson.build
new file mode 100644
index 000000000..88d015a47
--- /dev/null
+++ b/panels/wwan/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+  'scalable/org.gnome.Settings-mobile-network-symbolic.svg',
+  install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/wwan/icons/scalable/org.gnome.Settings-mobile-network-symbolic.svg 
b/panels/wwan/icons/scalable/org.gnome.Settings-mobile-network-symbolic.svg
new file mode 100644
index 000000000..fe949f0b1
--- /dev/null
+++ b/panels/wwan/icons/scalable/org.gnome.Settings-mobile-network-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 14 1 c -0.554688 0 -1 0.445312 -1 1 v 12 c 0 0.554688 0.445312 1 1 1 h 1 c 0.554688 0 1 
-0.445312 1 -1 v -12 c 0 -0.554688 -0.445312 -1 -1 -1 z m -4 3 c -0.554688 0 -1 0.445312 -1 1 v 9 c 0 
0.554688 0.445312 1 1 1 h 1 c 0.554688 0 1 -0.445312 1 -1 v -9 c 0 -0.554688 -0.445312 -1 -1 -1 z m -4 3 c 
-0.554688 0 -1 0.445312 -1 1 v 6 c 0 0.554688 0.445312 1 1 1 h 1 c 0.554688 0 1 -0.445312 1 -1 v -6 c 0 
-0.554688 -0.445312 -1 -1 -1 z m -4 3 c -0.554688 0 -1 0.445312 -1 1 v 3 c 0 0.554688 0.445312 1 1 1 h 1 c 
0.554688 0 1 -0.445312 1 -1 v -3 c 0 -0.554688 -0.445312 -1 -1 -1 z m 0 0" fill="#2e3436"/>
+</svg>
diff --git a/panels/wwan/meson.build b/panels/wwan/meson.build
index c8ecef6d5..04a092050 100644
--- a/panels/wwan/meson.build
+++ b/panels/wwan/meson.build
@@ -59,3 +59,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]