[gnome-control-center/wip/jimmac/panel-icons: 15/35] keyboard: add panel app icon
- From: Jakub Steiner <jimmac src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center/wip/jimmac/panel-icons: 15/35] keyboard: add panel app icon
- Date: Fri, 28 Jan 2022 14:41:11 +0000 (UTC)
commit 6fe8beb1e9ac361bc6f46d5a0242de4adba39689
Author: Jakub Steiner <jimmac gmail com>
Date: Fri Jan 28 13:53:32 2022 +0100
keyboard: add panel app icon
See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/163
panels/keyboard/gnome-keyboard-panel.desktop.in.in | 2 +-
panels/keyboard/icons/meson.build | 4 ++++
.../keyboard/icons/scalable/org.gnome.Settings-keyboard-symbolic.svg | 4 ++++
panels/keyboard/meson.build | 2 ++
4 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/panels/keyboard/gnome-keyboard-panel.desktop.in.in
b/panels/keyboard/gnome-keyboard-panel.desktop.in.in
index 55b3befca..872fcaf8c 100644
--- a/panels/keyboard/gnome-keyboard-panel.desktop.in.in
+++ b/panels/keyboard/gnome-keyboard-panel.desktop.in.in
@@ -3,7 +3,7 @@ Name=Keyboard
Comment=Change keyboard shortcuts and set your typing preferences, keyboard layouts and input sources
Exec=gnome-control-center keyboard
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=input-keyboard
+Icon=org.gnome.Settings-keyboard-symbolic
Terminal=false
Type=Application
NoDisplay=true
diff --git a/panels/keyboard/icons/meson.build b/panels/keyboard/icons/meson.build
new file mode 100644
index 000000000..384cb7199
--- /dev/null
+++ b/panels/keyboard/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+ 'scalable/org.gnome.Settings-keyboard-symbolic.svg',
+ install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/keyboard/icons/scalable/org.gnome.Settings-keyboard-symbolic.svg
b/panels/keyboard/icons/scalable/org.gnome.Settings-keyboard-symbolic.svg
new file mode 100644
index 000000000..0f35d483b
--- /dev/null
+++ b/panels/keyboard/icons/scalable/org.gnome.Settings-keyboard-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 2.5 2 c -1.367188 0 -2.5 1.132812 -2.5 2.5 v 7 c 0 1.367188 1.132812 2.5 2.5 2.5 h 11 c
1.367188 0 2.5 -1.132812 2.5 -2.5 v -7 c 0 -1.367188 -1.132812 -2.5 -2.5 -2.5 z m 0 2 h 1 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 -1 c -0.277344 0 -0.5 -0.222656 -0.5 -0.5 v -1 c 0
-0.242188 0.171875 -0.445312 0.398438 -0.488281 c 0.03125 -0.007813 0.066406 -0.011719 0.101562 -0.011719 z m
3 0 h 1 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 -1 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 z m 3 0 h 1 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 -1 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 z m 3 0 h 1 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 -1 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 z m -8 3 h 1 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 -1 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 z m 3 0 h 1 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 -1 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 z m 3 0 h 1 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 -1 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 z m 3 0 h 1 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 -1 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 z m -10 3 h 1
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 -1 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 z m 3 0 h 4 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 -4 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 z m 6 0 h 1 c 0.2
77344 0 0.5 0.222656 0.5 0.5 v 1 c 0 0.277344 -0.222656 0.5 -0.5 0.5 h -1 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 z m 0 0" fill="#2e3436"/>
+</svg>
diff --git a/panels/keyboard/meson.build b/panels/keyboard/meson.build
index 991fb8122..fcc774da8 100644
--- a/panels/keyboard/meson.build
+++ b/panels/keyboard/meson.build
@@ -102,3 +102,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]