sysprof: add more section icons

This commit is contained in:
Christian Hergert
2023-07-10 15:30:08 -07:00
parent fb85c2078e
commit 0be15aa897
4 changed files with 7 additions and 0 deletions

View File

@ -0,0 +1,2 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" height="16px" viewBox="0 0 16 16" width="16px"><path d="m 3.011719 1 c -1.644531 0 -3.0000002 1.355469 -3.0000002 3 v 6 c 0 1.644531 1.3554692 3 3.0000002 3 h 0.996093 c 0.546876 0 0.992188 -0.445312 0.992188 -0.992188 v -0.015624 c 0 -0.546876 -0.445312 -0.992188 -0.992188 -0.992188 h -0.996093 c -0.570313 0 -1 -0.429688 -1 -1 v -6 c 0 -0.570312 0.429687 -1 1 -1 h 8.976562 c 0.570313 0 1 0.429688 1 1 v 0.011719 c 0 0.546875 0.441407 0.988281 0.988281 0.988281 h 0.023438 c 0.546875 0 0.988281 -0.441406 0.988281 -0.988281 v -0.011719 c 0 -1.644531 -1.355469 -3 -3 -3 z m 6.488281 3 c -2.484375 0 -4.5 2.015625 -4.5 4.5 s 2.015625 4.5 4.5 4.5 c 0.847656 0 1.675781 -0.242188 2.390625 -0.695312 l 2.402344 2.402343 c 0.390625 0.390625 1.023437 0.390625 1.414062 0 s 0.390625 -1.023437 0 -1.414062 l -2.402343 -2.398438 c 0.453124 -0.71875 0.695312 -1.546875 0.695312 -2.394531 c 0 -2.484375 -2.015625 -4.5 -4.5 -4.5 z m 0 2 c 1.378906 0 2.5 1.121094 2.5 2.5 s -1.121094 2.5 -2.5 2.5 s -2.5 -1.121094 -2.5 -2.5 s 1.121094 -2.5 2.5 -2.5 z m -4.488281 8 c -1.105469 0 -2 0.894531 -2 2 h 10 c 0 -1.105469 -0.894531 -2 -2 -2 z m 0 0"/></svg>

After

Width:  |  Height:  |  Size: 1.2 KiB

View File

@ -0,0 +1 @@
<svg height="16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="M7.906 1A7.002 7.002 0 0 0 1 8c0 3.867 3.133 7 7 7s7-3.133 7-7-3.133-7-7-7h-.094zM7.5 4h1c.277 0 .5.223.5.5v1c0 .277-.223.5-.5.5h-1a.498.498 0 0 1-.5-.5v-1c0-.277.223-.5.5-.5zM7 7h2v5H7zm0 0" fill="#2e3436"/></svg>

After

Width:  |  Height:  |  Size: 286 B

View File

@ -109,6 +109,7 @@
<child>
<object class="SysprofMemorySection">
<property name="category">callgraph</property>
<property name="icon-name">memory-allocations-symbolic</property>
<binding name="session">
<lookup name="session">SysprofWindow</lookup>
</binding>
@ -153,6 +154,7 @@
<child>
<object class="SysprofMetadataSection">
<property name="category">auxiliary</property>
<property name="icon-name">metadata-symbolic</property>
<binding name="session">
<lookup name="session">SysprofWindow</lookup>
</binding>

View File

@ -16,6 +16,8 @@
<file preprocess="xml-stripblanks">sysprof-window.ui</file>
<file preprocess="xml-stripblanks">icons/scalable/actions/mark-chart-symbolic.svg</file>
<file preprocess="xml-stripblanks">icons/scalable/actions/mark-table-symbolic.svg</file>
<file preprocess="xml-stripblanks">icons/scalable/actions/memory-allocations-symbolic.svg</file>
<file preprocess="xml-stripblanks">icons/scalable/actions/metadata-symbolic.svg</file>
<file preprocess="xml-stripblanks">icons/scalable/actions/system-log-symbolic.svg</file>
</gresource>
</gresources>