[gnome-control-center/wip/jimmac/panel-icons: 39/41] wacom: add app icon
- From: Georges Basile Stavracas Neto <gbsneto src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/jimmac/panel-icons: 39/41] wacom: add app icon
- Date: Mon, 31 Jan 2022 14:02:52 +0000 (UTC)
commit 2f7bdb7d6a794330ef4df6ff4b031afaef8af4f6
Author: Jakub Steiner <jimmac gmail com>
Date: Fri Jan 28 15:06:47 2022 +0100
wacom: add app icon
See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/163
panels/wacom/gnome-wacom-panel.desktop.in.in | 2 +-
panels/wacom/icons/meson.build | 4 ++++
panels/wacom/icons/scalable/org.gnome.Settings-wacom-symbolic.svg | 4 ++++
panels/wacom/meson.build | 2 ++
4 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/panels/wacom/gnome-wacom-panel.desktop.in.in b/panels/wacom/gnome-wacom-panel.desktop.in.in
index c8358ee9e..87cebd78f 100644
--- a/panels/wacom/gnome-wacom-panel.desktop.in.in
+++ b/panels/wacom/gnome-wacom-panel.desktop.in.in
@@ -3,7 +3,7 @@ Name=Wacom Tablet
Comment=Set button mappings and adjust stylus sensitivity for graphics tablets
Exec=gnome-control-center wacom
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=input-tablet
+Icon=org.gnome.Settings-wacom-symbolic
Terminal=false
Type=Application
NoDisplay=true
diff --git a/panels/wacom/icons/meson.build b/panels/wacom/icons/meson.build
new file mode 100644
index 000000000..7437a1d39
--- /dev/null
+++ b/panels/wacom/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+ 'scalable/org.gnome.Settings-wacom-symbolic.svg',
+ install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/wacom/icons/scalable/org.gnome.Settings-wacom-symbolic.svg
b/panels/wacom/icons/scalable/org.gnome.Settings-wacom-symbolic.svg
new file mode 100644
index 000000000..bc66c020c
--- /dev/null
+++ b/panels/wacom/icons/scalable/org.gnome.Settings-wacom-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 0 v 1.5 c 0 0.132812 -0.054688 0.261719 -0.144531 0.355469 c -0.09375 0.09375 -0.21875
0.144531 -0.347657 0.144531 h -3.011718 c -0.535156 0 -1.03125 0.289062 -1.296875 0.75 c -0.265625 0.464844
-0.265625 1.035156 0 1.5 c 0.265625 0.460938 0.761719 0.75 1.296875 0.75 h 3.007812 c 0.179688 0 0.339844
0.09375 0.429688 0.25 c 0.042968 0.074219 0.066406 0.164062 0.066406 0.25 v 0.5 h -5 c -1.644531 0 -3
1.355469 -3 3 v 4 c 0 1.644531 1.355469 3 3 3 h 10 c 1.644531 0 3 -1.355469 3 -3 v -4 c 0 -0.867188 -0.378906
-1.648438 -0.972656 -2.199219 l -1.410156 1.402344 c 0.234374 0.179687 0.382812 0.460937 0.382812 0.796875 v
3 c 0 0.554688 -0.445312 1 -1 1 h -10 c -0.554688 0 -1 -0.445312 -1 -1 v -3 c 0 -0.570312 0.5 -1 1 -1 h
5.191406 l 1.992188 -2 h -1.183594 v -0.5 c 0 -0.257812 -0.066406 -0.515625 -0.199219 -0.75 c -0.265625
-0.460938 -0.761719 -0.75 -1.296875 -0.75 h -3.007812 c -0.179688 0 -0.339844 -0.09375 -0.429688 -0.25 c
-0.089844 -0.152344 -0.089844 -0.347656 0 -0.
5 c 0.089844 -0.15625 0.25 -0.25 0.429688 -0.25 h 3.011718 c 0.398438 0 0.777344 -0.160156 1.054688
-0.441406 c 0.28125 -0.28125 0.4375 -0.660156 0.4375 -1.058594 v -1.5 z m 7 3 c -0.265625 0 -0.519531
0.105469 -0.703125 0.292969 h -0.003906 l -6.292969 6.316406 v 1.390625 h 1.390625 l 6.316406 -6.292969 l
-0.003906 -0.003906 c 0.191406 -0.183594 0.296875 -0.4375 0.296875 -0.703125 c 0 -0.550781 -0.449219 -1 -1 -1
z m 0 0" fill="#2e3436"/>
+</svg>
diff --git a/panels/wacom/meson.build b/panels/wacom/meson.build
index 7b03ce9e8..747f1ec33 100644
--- a/panels/wacom/meson.build
+++ b/panels/wacom/meson.build
@@ -105,3 +105,5 @@ executable(
c_args : test_cflags,
link_with : [ libwacom_calibrator_test ]
)
+
+subdir('icons')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]