[gnome-control-center/wip/jimmac/panel-icons: 21/35] network: add app panel icon




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

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

 panels/network/gnome-network-panel.desktop.in.in                   | 2 +-
 panels/network/icons/meson.build                                   | 4 ++++
 .../network/icons/scalable/org.gnome.Settings-network-symbolic.svg | 7 +++++++
 panels/network/meson.build                                         | 1 +
 4 files changed, 13 insertions(+), 1 deletion(-)
---
diff --git a/panels/network/gnome-network-panel.desktop.in.in 
b/panels/network/gnome-network-panel.desktop.in.in
index aa6b75c5c..d9ab05ca7 100644
--- a/panels/network/gnome-network-panel.desktop.in.in
+++ b/panels/network/gnome-network-panel.desktop.in.in
@@ -3,7 +3,7 @@ Name=Network
 Comment=Control how you connect to the Internet
 Exec=gnome-control-center network
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=network-workgroup
+Icon=org.gnome.Settings-network-symbolic
 Terminal=false
 Type=Application
 NoDisplay=true
diff --git a/panels/network/icons/meson.build b/panels/network/icons/meson.build
new file mode 100644
index 000000000..0501dfe1d
--- /dev/null
+++ b/panels/network/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+  'scalable/org.gnome.Settings-network-symbolic.svg',
+  install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/network/icons/scalable/org.gnome.Settings-network-symbolic.svg 
b/panels/network/icons/scalable/org.gnome.Settings-network-symbolic.svg
new file mode 100644
index 000000000..a6ef9ce80
--- /dev/null
+++ b/panels/network/icons/scalable/org.gnome.Settings-network-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 3.75 0.00390625 c -0.953125 0.00390625 -1.75 0.80078175 -1.75 1.74999975 v 5.496094 c 0 
0.953125 0.796875 1.75 1.75 1.75 h 0.75 s 0.5 0.007812 0.5 0.507812 c 0 0.492188 -0.5 0.492188 -0.5 0.492188 
h -0.5 v 1.992188 h 8 v -2 h -0.5 s -0.5 0.007812 -0.5 -0.492188 s 0.5 -0.507812 0.5 -0.507812 h 0.75 c 
0.953125 0 1.75 -0.796876 1.75 -1.75 v -5.492188 c 0 -0.953125 -0.796875 -1.75 -1.75 -1.75 z m 0.25 
1.99999975 l 8 -0.003906 v 4.992188 l -8 0.007812 z m 0 0"/>
+        <path d="m 6.96875 10.003906 l 0.03125 3.996094 h -5.5 c -0.277344 0 -0.5 0.222656 -0.5 0.5 v 1 c 0 
0.277344 0.222656 0.5 0.5 0.5 h 13 c 0.277344 0 0.5 -0.222656 0.5 -0.5 v -1 c 0 -0.277344 -0.222656 -0.5 -0.5 
-0.5 h -5.5 v -4 z m 0 0" fill-rule="evenodd"/>
+    </g>
+</svg>
diff --git a/panels/network/meson.build b/panels/network/meson.build
index 43a569092..e6340cedb 100644
--- a/panels/network/meson.build
+++ b/panels/network/meson.build
@@ -7,6 +7,7 @@ network_inc = include_directories('.')
 
 subdir('wireless-security')
 subdir('connection-editor')
+subdir('icons')
 
 panel_names = [
   cappletname,


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