[gnome-control-center/wip/jimmac/panel-icons: 23/41] usage: add panel 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: 23/41] usage: add panel app icon
- Date: Mon, 31 Jan 2022 14:02:50 +0000 (UTC)
commit 8ce2643d5ba7d7e2633988f6cc52f8a7af9dbe6c
Author: Jakub Steiner <jimmac gmail com>
Date: Fri Jan 28 14:03:45 2022 +0100
usage: add panel app icon
See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/163
panels/usage/gnome-usage-panel.desktop.in.in | 2 +-
panels/usage/icons/meson.build | 4 ++++
.../usage/icons/scalable/org.gnome.Settings-file-history-symbolic.svg | 4 ++++
panels/usage/meson.build | 1 +
4 files changed, 10 insertions(+), 1 deletion(-)
---
diff --git a/panels/usage/gnome-usage-panel.desktop.in.in b/panels/usage/gnome-usage-panel.desktop.in.in
index 5d0be3767..3b4ad3a82 100644
--- a/panels/usage/gnome-usage-panel.desktop.in.in
+++ b/panels/usage/gnome-usage-panel.desktop.in.in
@@ -4,7 +4,7 @@ Comment=Don't leave traces
Exec=gnome-control-center usage
# FIXME
# Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=system-file-manager
+Icon=org.gnome.Settings-file-history-symbolic
Terminal=false
Type=Application
NoDisplay=true
diff --git a/panels/usage/icons/meson.build b/panels/usage/icons/meson.build
new file mode 100644
index 000000000..79f20c5c1
--- /dev/null
+++ b/panels/usage/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+ 'scalable/org.gnome.Settings-file-history-symbolic.svg',
+ install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/usage/icons/scalable/org.gnome.Settings-file-history-symbolic.svg
b/panels/usage/icons/scalable/org.gnome.Settings-file-history-symbolic.svg
new file mode 100644
index 000000000..ddecf2dc0
--- /dev/null
+++ b/panels/usage/icons/scalable/org.gnome.Settings-file-history-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 4 0 c -1.644531 0 -3 1.355469 -3 3 v 10 c 0 1.644531 1.355469 3 3 3 h 8 c 1.644531 0 3
-1.355469 3 -3 v -10 c 0 -1.644531 -1.355469 -3 -3 -3 z m 0 2 h 8 c 0.570312 0 1 0.429688 1 1 v 4 h -10 v -4
c 0 -0.570312 0.429688 -1 1 -1 z m 2.464844 1.429688 c -0.019532 0 -0.039063 0.003906 -0.058594 0.007812 c
-0.019531 0 -0.042969 0 -0.0625 0 c -0.214844 0.070312 -0.355469 0.273438 -0.34375 0.5 v 0.0625 c 0 0.546875
0.453125 1 1 1 h 2 c 0.546875 0 1 -0.453125 1 -1 v -0.0625 c 0.011719 -0.675781 -1.011719 -0.675781 -1 0 v
0.0625 h -2 v -0.0625 c 0.003906 -0.296875 -0.246094 -0.527344 -0.535156 -0.507812 z m -3.464844 4.570312 h
10 v 4 c 0 0.570312 -0.429688 1 -1 1 h -8 c -0.570312 0 -1 -0.429688 -1 -1 z m 3.464844 1.429688 c -0.019532
0 -0.039063 0.003906 -0.058594 0.007812 c -0.019531 0 -0.042969 0 -0.0625 0 c -0.214844 0.070312 -0.355469
0.273438 -0.34375 0.5 v 0.0625 c 0 0.546875 0.453125 1 1 1 h 2 c 0.546875 0 1 -0.453125 1 -1 v -0.0625 c
0.011719 -0.675781 -1.011719 -0.67
5781 -1 0 v 0.0625 h -2 v -0.0625 c 0.003906 -0.296875 -0.246094 -0.527344 -0.535156 -0.507812 z m 0 0"
fill="#2e3436" fill-rule="evenodd"/>
+</svg>
diff --git a/panels/usage/meson.build b/panels/usage/meson.build
index 6047ce0ec..522568ccc 100644
--- a/panels/usage/meson.build
+++ b/panels/usage/meson.build
@@ -37,3 +37,4 @@ 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]