summaryrefslogtreecommitdiff
path: root/panels/location
diff options
context:
space:
mode:
authorJakub Steiner <jimmac@gmail.com>2022-01-31 14:08:22 +0000
committerGeorges Basile Stavracas Neto <georges.stavracas@gmail.com>2022-01-31 14:08:22 +0000
commit13376ecb8b98762599bf54688cdf3afb3c25fbaf (patch)
tree54b9523f7f5f0dc2899759cda24e2f9a2152fd2d /panels/location
parent57ce84ada72d45848bd14818d6e613666e574b2d (diff)
downloadgnome-control-center-13376ecb8b98762599bf54688cdf3afb3c25fbaf.tar.gz
Add individual app icons
Diffstat (limited to 'panels/location')
-rw-r--r--panels/location/gnome-location-panel.desktop.in.in2
-rw-r--r--panels/location/icons/meson.build4
-rw-r--r--panels/location/icons/scalable/org.gnome.Settings-location-symbolic.svg4
-rw-r--r--panels/location/meson.build2
4 files changed, 11 insertions, 1 deletions
diff --git a/panels/location/gnome-location-panel.desktop.in.in b/panels/location/gnome-location-panel.desktop.in.in
index 6ecd16234..f1a99293d 100644
--- a/panels/location/gnome-location-panel.desktop.in.in
+++ b/panels/location/gnome-location-panel.desktop.in.in
@@ -4,7 +4,7 @@ Comment=Protect your location information
Exec=gnome-control-center location
# FIXME
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=location-services-active
+Icon=org.gnome.Settings-location-symbolic
Terminal=false
Type=Application
NoDisplay=true
diff --git a/panels/location/icons/meson.build b/panels/location/icons/meson.build
new file mode 100644
index 000000000..035ebfc1a
--- /dev/null
+++ b/panels/location/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+ 'scalable/org.gnome.Settings-location-symbolic.svg',
+ install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/location/icons/scalable/org.gnome.Settings-location-symbolic.svg b/panels/location/icons/scalable/org.gnome.Settings-location-symbolic.svg
new file mode 100644
index 000000000..002dae908
--- /dev/null
+++ b/panels/location/icons/scalable/org.gnome.Settings-location-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 8 1 c -2.761719 0 -5 2.238281 -5 5 c 0 0.171875 0.015625 0.332031 0.03125 0.5 s 0.035156 0.335938 0.0625 0.5 c 0.570312 3.511719 2.90625 6.003906 4.90625 8.003906 c 2 -2 4.335938 -4.488281 4.90625 -8.003906 c 0.027344 -0.164062 0.050781 -0.332031 0.0625 -0.5 c 0.015625 -0.167969 0.03125 -0.328125 0.03125 -0.5 c 0 -2.761719 -2.238281 -5 -5 -5 z m 0 3 c 1.105469 0 2 0.894531 2 2 s -0.894531 2 -2 2 s -2 -0.894531 -2 -2 s 0.894531 -2 2 -2 z m 0 0" fill="#2e3436"/>
+</svg>
diff --git a/panels/location/meson.build b/panels/location/meson.build
index f4c835d92..084b338c4 100644
--- a/panels/location/meson.build
+++ b/panels/location/meson.build
@@ -37,3 +37,5 @@ panels_libs += static_library(
dependencies: common_deps,
c_args: cflags
)
+
+subdir('icons')