[gnome-control-center/wip/jimmac/panel-icons] region & language: add app icon
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/jimmac/panel-icons] region & language: add app icon
- Date: Fri, 28 Jan 2022 13:31:41 +0000 (UTC)
commit e02be5308ced204174224edc5fc8a4e219b5ad50
Author: Jakub Steiner <jimmac gmail com>
Date: Fri Jan 28 14:31:18 2022 +0100
region & language: add app icon
See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/163
panels/region/gnome-region-panel.desktop.in.in | 2 +-
panels/region/icons/meson.build | 4 ++++
panels/region/icons/scalable/org.gnome.Settings-region-symbolic.svg | 4 ++++
panels/region/meson.build | 2 ++
4 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/panels/region/gnome-region-panel.desktop.in.in b/panels/region/gnome-region-panel.desktop.in.in
index 39252239e..0bdc8ffe2 100644
--- a/panels/region/gnome-region-panel.desktop.in.in
+++ b/panels/region/gnome-region-panel.desktop.in.in
@@ -3,7 +3,7 @@ Name=Region & Language
Comment=Select your display language and formats
Exec=gnome-control-center region
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=preferences-desktop-locale
+Icon=org.gnome.Settings-region-symbolic
Terminal=false
Type=Application
NoDisplay=true
diff --git a/panels/region/icons/meson.build b/panels/region/icons/meson.build
new file mode 100644
index 000000000..a2c3888fd
--- /dev/null
+++ b/panels/region/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+ 'scalable/org.gnome.Settings-region-symbolic.svg',
+ install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/region/icons/scalable/org.gnome.Settings-region-symbolic.svg
b/panels/region/icons/scalable/org.gnome.Settings-region-symbolic.svg
new file mode 100644
index 000000000..11ac471a5
--- /dev/null
+++ b/panels/region/icons/scalable/org.gnome.Settings-region-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 3 0 c -0.550781 0 -1 0.449219 -1 1 v 15 h 2 v -8 h 2.382812 l 0.722657 1.449219 c 0.167969
0.335937 0.515625 0.550781 0.894531 0.550781 h 5 c 0.550781 0 1 -0.449219 1 -1 v -6 c 0 -0.550781 -0.449219
-1 -1 -1 h -3.382812 l -0.722657 -1.449219 c -0.167969 -0.335937 -0.515625 -0.550781 -0.894531 -0.550781 z m
0 0" fill="#2e3436"/>
+</svg>
diff --git a/panels/region/meson.build b/panels/region/meson.build
index 27bc5ff33..71f9a6290 100644
--- a/panels/region/meson.build
+++ b/panels/region/meson.build
@@ -55,3 +55,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]