[gnome-control-center/wip/jimmac/panel-icons: 8/35] Camera: 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: 8/35] Camera: add panel app icon
- Date: Fri, 28 Jan 2022 14:41:10 +0000 (UTC)
commit bbf3ed6b7b7510cc91be8205f606f94d88fe1d67
Author: Jakub Steiner <jimmac gmail com>
Date: Fri Jan 28 12:39:26 2022 +0100
Camera: add panel app icon
See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/163
panels/applications/icons/meson.build | 2 +-
panels/background/gnome-background-panel.desktop.in.in | 2 +-
panels/camera/gnome-camera-panel.desktop.in.in | 2 +-
panels/camera/icons/meson.build | 4 ++++
panels/camera/icons/scalable/org.gnome.Settings-camera-symbolic.svg | 4 ++++
panels/camera/meson.build | 2 ++
6 files changed, 13 insertions(+), 3 deletions(-)
---
diff --git a/panels/applications/icons/meson.build b/panels/applications/icons/meson.build
index b274dd102..60ee78c79 100644
--- a/panels/applications/icons/meson.build
+++ b/panels/applications/icons/meson.build
@@ -1,4 +1,4 @@
install_data(
- 'scalable/org.gnome.Settings-multitasking-symbolic.svg',
+ 'scalable/org.gnome.Settings-applications-symbolic.svg',
install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
)
diff --git a/panels/background/gnome-background-panel.desktop.in.in
b/panels/background/gnome-background-panel.desktop.in.in
index 194d633f7..0846f3408 100644
--- a/panels/background/gnome-background-panel.desktop.in.in
+++ b/panels/background/gnome-background-panel.desktop.in.in
@@ -3,7 +3,7 @@ Name=Appearance
Comment=Change your background image or the UI colors
Exec=gnome-control-center background
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=org.gnome.Settings-appearance
+Icon=org.gnome.Settings-appearance-symbolic
Terminal=false
Type=Application
NoDisplay=true
diff --git a/panels/camera/gnome-camera-panel.desktop.in.in b/panels/camera/gnome-camera-panel.desktop.in.in
index b2343ef23..152f78c30 100644
--- a/panels/camera/gnome-camera-panel.desktop.in.in
+++ b/panels/camera/gnome-camera-panel.desktop.in.in
@@ -4,7 +4,7 @@ Comment=Protect your pictures
Exec=gnome-control-center camera
# FIXME
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=camera-photo
+Icon=org.gnome.Settings-camera-symbolic
Terminal=false
Type=Application
NoDisplay=true
diff --git a/panels/camera/icons/meson.build b/panels/camera/icons/meson.build
new file mode 100644
index 000000000..c0372b226
--- /dev/null
+++ b/panels/camera/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+ 'scalable/org.gnome.Settings-camera-symbolic.svg',
+ install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/camera/icons/scalable/org.gnome.Settings-camera-symbolic.svg
b/panels/camera/icons/scalable/org.gnome.Settings-camera-symbolic.svg
new file mode 100644
index 000000000..1219b9caf
--- /dev/null
+++ b/panels/camera/icons/scalable/org.gnome.Settings-camera-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 6.414062 0 c -0.265624 0 -0.519531 0.105469 -0.707031 0.292969 l -1.707031 1.707031 h
-1.085938 c -1.644531 0 -2.9999995 1.355469 -2.9999995 3 v 7 c 0 1.644531 1.3554685 3 2.9999995 3 h 10 c
1.644532 0 3 -1.355469 3 -3 v -7 c 0 -1.644531 -1.355468 -3 -3 -3 h -1.085937 l -1.707031 -1.707031 c -0.1875
-0.1875 -0.441406 -0.292969 -0.707032 -0.292969 z m 0.414063 2 h 2.171875 l 1.707031 1.707031 c 0.1875 0.1875
0.441407 0.292969 0.707031 0.292969 h 1.5 c 0.570313 0 1 0.429688 1 1 v 7 c 0 0.570312 -0.429687 1 -1 1 h -10
c -0.570312 0 -1 -0.429688 -1 -1 v -7 c 0 -0.570312 0.429688 -1 1 -1 h 1.5 c 0.265626 0 0.519532 -0.105469
0.707032 -0.292969 z m 1.085937 3 c -1.644531 0 -3 1.355469 -3 3 s 1.585938 3 3 3 c 1.414063 0 3 -1.355469 3
-3 s -1.355468 -3 -3 -3 z m 0 2 c 0.5625 0 1 0.4375 1 1 s -0.4375 1 -1 1 s -1 -0.4375 -1 -1 s 0.4375 -1 1 -1
z m 0 0" fill="#2e3434"/>
+</svg>
diff --git a/panels/camera/meson.build b/panels/camera/meson.build
index bf2e727cf..a69227b40 100644
--- a/panels/camera/meson.build
+++ b/panels/camera/meson.build
@@ -37,3 +37,5 @@ panels_libs += static_library(
dependencies: common_deps,
c_args: cflags
)
+
+subdir('icons')
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]