[gnome-control-center/wip/jimmac/panel-icons: 34/41] search: add app icon




commit f7d1711b47de80f0083dd57a9351bcca5c3c4eb5
Author: Jakub Steiner <jimmac gmail com>
Date:   Fri Jan 28 14:41:20 2022 +0100

    search: add app icon
    
    See https://gitlab.gnome.org/GNOME/adwaita-icon-theme/-/issues/163

 panels/search/gnome-search-panel.desktop.in.in                      | 2 +-
 panels/search/icons/meson.build                                     | 4 ++++
 panels/search/icons/scalable/org.gnome.Settings-search-symbolic.svg | 4 ++++
 panels/search/meson.build                                           | 2 ++
 4 files changed, 11 insertions(+), 1 deletion(-)
---
diff --git a/panels/search/gnome-search-panel.desktop.in.in b/panels/search/gnome-search-panel.desktop.in.in
index c4ea2d067..5df64e474 100644
--- a/panels/search/gnome-search-panel.desktop.in.in
+++ b/panels/search/gnome-search-panel.desktop.in.in
@@ -3,7 +3,7 @@ Name=Search
 Comment=Control which applications show search results in the Activities Overview
 Exec=gnome-control-center search
 # Translators: Do NOT translate or transliterate this text (this is an icon file name)!
-Icon=preferences-system-search
+Icon=org.gnome.Settings-search-symbolic
 Terminal=false
 Type=Application
 NoDisplay=true
diff --git a/panels/search/icons/meson.build b/panels/search/icons/meson.build
new file mode 100644
index 000000000..d2d33e23b
--- /dev/null
+++ b/panels/search/icons/meson.build
@@ -0,0 +1,4 @@
+install_data(
+  'scalable/org.gnome.Settings-search-symbolic.svg',
+  install_dir: join_paths(control_center_icondir, 'hicolor', 'scalable', 'apps')
+)
diff --git a/panels/search/icons/scalable/org.gnome.Settings-search-symbolic.svg 
b/panels/search/icons/scalable/org.gnome.Settings-search-symbolic.svg
new file mode 100644
index 000000000..3bc527be7
--- /dev/null
+++ b/panels/search/icons/scalable/org.gnome.Settings-search-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.5 0 c -3.578125 0 -6.5 2.921875 -6.5 6.5 s 2.921875 6.496094 6.5 6.496094 c 1.429688 0 
2.753906 -0.464844 3.828125 -1.253906 l 3.945313 3.945312 c 0.957031 0.9375 2.363281 -0.5 1.40625 -1.4375 l 
-3.929688 -3.929688 c 0.785156 -1.074218 1.25 -2.394531 1.25 -3.820312 c 0 -3.578125 -2.921875 -6.5 -6.5 -6.5 
z m 0 2 c 2.496094 0 4.5 2.003906 4.5 4.5 s -2.003906 4.496094 -4.5 4.496094 s -4.5 -2 -4.5 -4.496094 s 
2.003906 -4.5 4.5 -4.5 z m 0 0" fill="#2e3436"/>
+</svg>
diff --git a/panels/search/meson.build b/panels/search/meson.build
index a4dd79d96..3b66562cd 100644
--- a/panels/search/meson.build
+++ b/panels/search/meson.build
@@ -46,3 +46,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]