Compare commits

...

5 Commits
0.9.1 ... main

Author SHA1 Message Date
Mossfet 06794fe0af Bump version 2023-06-05 18:11:12 +01:00
Mossfet cc960c630f Updated icons 2023-06-05 18:10:00 +01:00
Mossfet 7e7c502e0f Updated icons 2023-03-31 19:49:21 +01:00
Mossfet 306e1fc590 Added kudo (and fixed kudos) 2023-03-31 19:15:49 +01:00
Mossfet f9d13f08af Changed app ID to match my domain 2023-03-31 19:05:23 +01:00
19 changed files with 1849 additions and 281 deletions

2
.gitignore vendored Normal file
View File

@ -0,0 +1,2 @@
.fenv
.flatpak-builder

1738
Cargo.lock generated Normal file

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
[package]
name = "mossfets-life"
version = "0.9.1"
version = "0.9.4"
authors = ["Mossfet"]
edition = "2021"
license = "GPL-3.0-or-later"

View File

@ -1,5 +1,5 @@
{
"id": "com.example.Life.Devel",
"id": "xyz.mossfet.Life.Devel",
"runtime": "org.gnome.Platform",
"runtime-version": "43",
"sdk": "org.gnome.Sdk",

View File

@ -1,5 +1,5 @@
{
"id": "com.example.Life",
"id": "xyz.mossfet.Life",
"runtime": "org.gnome.Platform",
"runtime-version": "43",
"sdk": "org.gnome.Sdk",

View File

@ -1,59 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16px" height="16px" viewBox="0 0 16 16" version="1.1">
<defs>
<filter id="alpha" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
<feColorMatrix type="matrix" in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
</filter>
<mask id="mask0">
<g filter="url(#alpha)">
<rect x="0" y="0" width="16" height="16" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip1">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10818" clip-path="url(#clip1)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 123.503906 236 C 123.503906 268.863281 96.863281 295.503906 64 295.503906 C 31.136719 295.503906 4.496094 268.863281 4.496094 236 C 4.496094 203.136719 31.136719 176.496094 64 176.496094 C 96.863281 176.496094 123.503906 203.136719 123.503906 236 Z M 123.503906 236 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask1">
<g filter="url(#alpha)">
<rect x="0" y="0" width="16" height="16" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip2">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10821" clip-path="url(#clip2)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 29.195312 180.496094 L 98.804688 180.496094 C 103.609375 180.496094 107.503906 184.046875 107.503906 188.425781 L 107.503906 283.574219 C 107.503906 287.953125 103.609375 291.503906 98.804688 291.503906 L 29.195312 291.503906 C 24.390625 291.503906 20.496094 287.953125 20.496094 283.574219 L 20.496094 188.425781 C 20.496094 184.046875 24.390625 180.496094 29.195312 180.496094 Z M 29.195312 180.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask2">
<g filter="url(#alpha)">
<rect x="0" y="0" width="16" height="16" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip3">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10824" clip-path="url(#clip3)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 20.417969 184.496094 L 107.582031 184.496094 C 111.957031 184.496094 115.503906 188.042969 115.503906 192.417969 L 115.503906 279.582031 C 115.503906 283.957031 111.957031 287.503906 107.582031 287.503906 L 20.417969 287.503906 C 16.042969 287.503906 12.496094 283.957031 12.496094 279.582031 L 12.496094 192.417969 C 12.496094 188.042969 16.042969 184.496094 20.417969 184.496094 Z M 20.417969 184.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask3">
<g filter="url(#alpha)">
<rect x="0" y="0" width="16" height="16" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip4">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10827" clip-path="url(#clip4)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 16.425781 200.496094 L 111.574219 200.496094 C 115.953125 200.496094 119.503906 204.390625 119.503906 209.195312 L 119.503906 278.804688 C 119.503906 283.609375 115.953125 287.503906 111.574219 287.503906 L 16.425781 287.503906 C 12.046875 287.503906 8.496094 283.609375 8.496094 278.804688 L 8.496094 209.195312 C 8.496094 204.390625 12.046875 200.496094 16.425781 200.496094 Z M 16.425781 200.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
</defs>
<g id="surface10764">
<rect x="0" y="0" width="16" height="16" style="fill:rgb(94.117647%,94.117647%,94.117647%);fill-opacity:1;stroke:none;"/>
<use xlink:href="#surface10818" transform="matrix(1,0,0,1,-168,-16)" mask="url(#mask0)"/>
<use xlink:href="#surface10821" transform="matrix(1,0,0,1,-168,-16)" mask="url(#mask1)"/>
<use xlink:href="#surface10824" transform="matrix(1,0,0,1,-168,-16)" mask="url(#mask2)"/>
<use xlink:href="#surface10827" transform="matrix(1,0,0,1,-168,-16)" mask="url(#mask3)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.3 KiB

View File

@ -1,147 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<defs>
<filter id="alpha" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
<feColorMatrix type="matrix" in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
</filter>
<mask id="mask0">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip1">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10726" clip-path="url(#clip1)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 123.503906 236 C 123.503906 268.863281 96.863281 295.503906 64 295.503906 C 31.136719 295.503906 4.496094 268.863281 4.496094 236 C 4.496094 203.136719 31.136719 176.496094 64 176.496094 C 96.863281 176.496094 123.503906 203.136719 123.503906 236 Z M 123.503906 236 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask1">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip2">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10729" clip-path="url(#clip2)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 29.195312 180.496094 L 98.804688 180.496094 C 103.609375 180.496094 107.503906 184.046875 107.503906 188.425781 L 107.503906 283.574219 C 107.503906 287.953125 103.609375 291.503906 98.804688 291.503906 L 29.195312 291.503906 C 24.390625 291.503906 20.496094 287.953125 20.496094 283.574219 L 20.496094 188.425781 C 20.496094 184.046875 24.390625 180.496094 29.195312 180.496094 Z M 29.195312 180.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask2">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip3">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10732" clip-path="url(#clip3)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 20.417969 184.496094 L 107.582031 184.496094 C 111.957031 184.496094 115.503906 188.042969 115.503906 192.417969 L 115.503906 279.582031 C 115.503906 283.957031 111.957031 287.503906 107.582031 287.503906 L 20.417969 287.503906 C 16.042969 287.503906 12.496094 283.957031 12.496094 279.582031 L 12.496094 192.417969 C 12.496094 188.042969 16.042969 184.496094 20.417969 184.496094 Z M 20.417969 184.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask3">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip4">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10735" clip-path="url(#clip4)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 16.425781 200.496094 L 111.574219 200.496094 C 115.953125 200.496094 119.503906 204.390625 119.503906 209.195312 L 119.503906 278.804688 C 119.503906 283.609375 115.953125 287.503906 111.574219 287.503906 L 16.425781 287.503906 C 12.046875 287.503906 8.496094 283.609375 8.496094 278.804688 L 8.496094 209.195312 C 8.496094 204.390625 12.046875 200.496094 16.425781 200.496094 Z M 16.425781 200.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask5">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip7">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10726" clip-path="url(#clip7)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 123.503906 236 C 123.503906 268.863281 96.863281 295.503906 64 295.503906 C 31.136719 295.503906 4.496094 268.863281 4.496094 236 C 4.496094 203.136719 31.136719 176.496094 64 176.496094 C 96.863281 176.496094 123.503906 203.136719 123.503906 236 Z M 123.503906 236 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask6">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip8">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10729" clip-path="url(#clip8)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 29.195312 180.496094 L 98.804688 180.496094 C 103.609375 180.496094 107.503906 184.046875 107.503906 188.425781 L 107.503906 283.574219 C 107.503906 287.953125 103.609375 291.503906 98.804688 291.503906 L 29.195312 291.503906 C 24.390625 291.503906 20.496094 287.953125 20.496094 283.574219 L 20.496094 188.425781 C 20.496094 184.046875 24.390625 180.496094 29.195312 180.496094 Z M 29.195312 180.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask7">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip9">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10732" clip-path="url(#clip9)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 20.417969 184.496094 L 107.582031 184.496094 C 111.957031 184.496094 115.503906 188.042969 115.503906 192.417969 L 115.503906 279.582031 C 115.503906 283.957031 111.957031 287.503906 107.582031 287.503906 L 20.417969 287.503906 C 16.042969 287.503906 12.496094 283.957031 12.496094 279.582031 L 12.496094 192.417969 C 12.496094 188.042969 16.042969 184.496094 20.417969 184.496094 Z M 20.417969 184.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask8">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip10">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10735" clip-path="url(#clip10)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 16.425781 200.496094 L 111.574219 200.496094 C 115.953125 200.496094 119.503906 204.390625 119.503906 209.195312 L 119.503906 278.804688 C 119.503906 283.609375 115.953125 287.503906 111.574219 287.503906 L 16.425781 287.503906 C 12.046875 287.503906 8.496094 283.609375 8.496094 278.804688 L 8.496094 209.195312 C 8.496094 204.390625 12.046875 200.496094 16.425781 200.496094 Z M 16.425781 200.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<clipPath id="clip6">
<rect x="0" y="0" width="128" height="128"/>
</clipPath>
<g id="surface10750" clip-path="url(#clip6)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(94.117647%,94.117647%,94.117647%);fill-opacity:1;stroke:none;"/>
<use xlink:href="#surface10726" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask5)"/>
<use xlink:href="#surface10729" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask6)"/>
<use xlink:href="#surface10732" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask7)"/>
<use xlink:href="#surface10735" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask8)"/>
<path style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(38.431373%,62.7451%,91.764706%);stroke-opacity:1;stroke-miterlimit:4;" d="M 0 289 L 128 289 " transform="matrix(1,0,0,1,0,-172)"/>
</g>
<clipPath id="clip5">
<rect x="0" y="0" width="128" height="128"/>
</clipPath>
<g id="surface10753" clip-path="url(#clip5)" filter="url(#alpha)">
<use xlink:href="#surface10750"/>
</g>
<mask id="mask4">
<use xlink:href="#surface10753"/>
</mask>
<mask id="mask9">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.8;stroke:none;"/>
</g>
</mask>
<linearGradient id="linear0" gradientUnits="userSpaceOnUse" x1="300" y1="235" x2="428" y2="235" gradientTransform="matrix(0.000000000000000023,0.37,-0.98462,0.00000000000000006,295.38501,-30.360001)">
<stop offset="0" style="stop-color:rgb(97.647059%,94.117647%,41.960785%);stop-opacity:1;"/>
<stop offset="1" style="stop-color:rgb(96.078432%,76.078433%,6.666667%);stop-opacity:1;"/>
</linearGradient>
<clipPath id="clip12">
<rect x="0" y="0" width="128" height="128"/>
</clipPath>
<g id="surface10747" clip-path="url(#clip12)">
<path style=" stroke:none;fill-rule:nonzero;fill:url(#linear0);" d="M 128 80.640625 L 128 128 L 0 128 L 0 80.640625 Z M 128 80.640625 "/>
<path style=" stroke:none;fill-rule:nonzero;fill:rgb(0%,0%,0%);fill-opacity:1;" d="M 13.308594 80.640625 L 60.664062 128 L 81.878906 128 L 34.519531 80.640625 Z M 55.730469 80.640625 L 103.09375 128 L 124.308594 128 L 76.945312 80.640625 Z M 98.160156 80.640625 L 128 110.480469 L 128 89.269531 L 119.371094 80.640625 Z M 0 88.546875 L 0 109.761719 L 18.238281 128 L 39.453125 128 Z M 0 88.546875 "/>
</g>
<clipPath id="clip11">
<rect x="0" y="0" width="128" height="128"/>
</clipPath>
<g id="surface10752" clip-path="url(#clip11)">
<use xlink:href="#surface10747" mask="url(#mask9)"/>
</g>
</defs>
<g id="surface10672">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(94.117647%,94.117647%,94.117647%);fill-opacity:1;stroke:none;"/>
<use xlink:href="#surface10726" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask0)"/>
<use xlink:href="#surface10729" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask1)"/>
<use xlink:href="#surface10732" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask2)"/>
<use xlink:href="#surface10735" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask3)"/>
<path style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(38.431373%,62.7451%,91.764706%);stroke-opacity:1;stroke-miterlimit:4;" d="M 0 289 L 128 289 " transform="matrix(1,0,0,1,0,-172)"/>
<use xlink:href="#surface10752" mask="url(#mask4)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 10 KiB

View File

@ -1,60 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128px" height="128px" viewBox="0 0 128 128" version="1.1">
<defs>
<filter id="alpha" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
<feColorMatrix type="matrix" in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
</filter>
<mask id="mask0">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip1">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10632" clip-path="url(#clip1)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 123.503906 236 C 123.503906 268.863281 96.863281 295.503906 64 295.503906 C 31.136719 295.503906 4.496094 268.863281 4.496094 236 C 4.496094 203.136719 31.136719 176.496094 64 176.496094 C 96.863281 176.496094 123.503906 203.136719 123.503906 236 Z M 123.503906 236 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask1">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip2">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10635" clip-path="url(#clip2)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 29.195312 180.496094 L 98.804688 180.496094 C 103.609375 180.496094 107.503906 184.046875 107.503906 188.425781 L 107.503906 283.574219 C 107.503906 287.953125 103.609375 291.503906 98.804688 291.503906 L 29.195312 291.503906 C 24.390625 291.503906 20.496094 287.953125 20.496094 283.574219 L 20.496094 188.425781 C 20.496094 184.046875 24.390625 180.496094 29.195312 180.496094 Z M 29.195312 180.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask2">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip3">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10638" clip-path="url(#clip3)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 20.417969 184.496094 L 107.582031 184.496094 C 111.957031 184.496094 115.503906 188.042969 115.503906 192.417969 L 115.503906 279.582031 C 115.503906 283.957031 111.957031 287.503906 107.582031 287.503906 L 20.417969 287.503906 C 16.042969 287.503906 12.496094 283.957031 12.496094 279.582031 L 12.496094 192.417969 C 12.496094 188.042969 16.042969 184.496094 20.417969 184.496094 Z M 20.417969 184.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
<mask id="mask3">
<g filter="url(#alpha)">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(0%,0%,0%);fill-opacity:0.1;stroke:none;"/>
</g>
</mask>
<clipPath id="clip4">
<rect x="0" y="0" width="192" height="152"/>
</clipPath>
<g id="surface10641" clip-path="url(#clip4)">
<path style="fill:none;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-dasharray:0.99,0.99;stroke-miterlimit:4;" d="M 16.425781 200.496094 L 111.574219 200.496094 C 115.953125 200.496094 119.503906 204.390625 119.503906 209.195312 L 119.503906 278.804688 C 119.503906 283.609375 115.953125 287.503906 111.574219 287.503906 L 16.425781 287.503906 C 12.046875 287.503906 8.496094 283.609375 8.496094 278.804688 L 8.496094 209.195312 C 8.496094 204.390625 12.046875 200.496094 16.425781 200.496094 Z M 16.425781 200.496094 " transform="matrix(1,0,0,1,8,-156)"/>
</g>
</defs>
<g id="surface10578">
<rect x="0" y="0" width="128" height="128" style="fill:rgb(94.117647%,94.117647%,94.117647%);fill-opacity:1;stroke:none;"/>
<use xlink:href="#surface10632" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask0)"/>
<use xlink:href="#surface10635" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask1)"/>
<use xlink:href="#surface10638" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask2)"/>
<use xlink:href="#surface10641" transform="matrix(1,0,0,1,-8,-16)" mask="url(#mask3)"/>
<path style="fill:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(38.431373%,62.7451%,91.764706%);stroke-opacity:1;stroke-miterlimit:4;" d="M 0 289 L 128 289 " transform="matrix(1,0,0,1,0,-172)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 4.5 KiB

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg height="16px" viewBox="0 0 16 16" width="16px" xmlns="http://www.w3.org/2000/svg">
<g fill="#3584e4">
<path d="m 7.402344 6.042969 h 1.195312 c 0.695313 0 1.261719 0.566406 1.261719 1.261719 v 1.390624 c 0 0.695313 -0.566406 1.261719 -1.261719 1.261719 h -1.195312 c -0.695313 0 -1.261719 -0.566406 -1.261719 -1.261719 v -1.390624 c 0 -0.695313 0.566406 -1.261719 1.261719 -1.261719 z m 0 0"/>
<path d="m 7.402344 1.066406 h 1.195312 c 0.695313 0 1.261719 0.5625 1.261719 1.261719 v 1.386719 c 0 0.699218 -0.566406 1.261718 -1.261719 1.261718 h -1.195312 c -0.695313 0 -1.261719 -0.5625 -1.261719 -1.261718 v -1.386719 c 0 -0.699219 0.566406 -1.261719 1.261719 -1.261719 z m 0 0"/>
<path d="m 2.476562 6.042969 h 1.191407 c 0.695312 0 1.261719 0.566406 1.261719 1.261719 v 1.390624 c 0 0.695313 -0.566407 1.261719 -1.261719 1.261719 h -1.191407 c -0.699218 0 -1.261718 -0.566406 -1.261718 -1.261719 v -1.390624 c 0 -0.695313 0.5625 -1.261719 1.261718 -1.261719 z m 0 0"/>
<path d="m 7.402344 11.023438 h 1.195312 c 0.695313 0 1.261719 0.5625 1.261719 1.261718 v 1.386719 c 0 0.699219 -0.566406 1.261719 -1.261719 1.261719 h -1.195312 c -0.695313 0 -1.261719 -0.5625 -1.261719 -1.261719 v -1.386719 c 0 -0.699218 0.566406 -1.261718 1.261719 -1.261718 z m 0 0"/>
<path d="m 12.332031 6.042969 h 1.191407 c 0.699218 0 1.261718 0.566406 1.261718 1.261719 v 1.390624 c 0 0.695313 -0.5625 1.261719 -1.261718 1.261719 h -1.191407 c -0.695312 0 -1.261719 -0.566406 -1.261719 -1.261719 v -1.390624 c 0 -0.695313 0.566407 -1.261719 1.261719 -1.261719 z m 0 0"/>
<path d="m 12.332031 1.066406 h 1.191407 c 0.699218 0 1.261718 0.5625 1.261718 1.261719 v 1.386719 c 0 0.699218 -0.5625 1.261718 -1.261718 1.261718 h -1.191407 c -0.695312 0 -1.261719 -0.5625 -1.261719 -1.261718 v -1.386719 c 0 -0.699219 0.566407 -1.261719 1.261719 -1.261719 z m 0 0"/>
<path d="m 2.476562 1.066406 h 1.191407 c 0.695312 0 1.261719 0.5625 1.261719 1.261719 v 1.386719 c 0 0.699218 -0.566407 1.261718 -1.261719 1.261718 h -1.191407 c -0.699218 0 -1.261718 -0.5625 -1.261718 -1.261718 v -1.386719 c 0 -0.699219 0.5625 -1.261719 1.261718 -1.261719 z m 0 0"/>
<path d="m 2.476562 11.023438 h 1.191407 c 0.695312 0 1.261719 0.5625 1.261719 1.261718 v 1.386719 c 0 0.699219 -0.566407 1.261719 -1.261719 1.261719 h -1.191407 c -0.699218 0 -1.261718 -0.5625 -1.261718 -1.261719 v -1.386719 c 0 -0.699218 0.5625 -1.261718 1.261718 -1.261718 z m 0 0"/>
<path d="m 12.332031 11.023438 h 1.191407 c 0.699218 0 1.261718 0.5625 1.261718 1.261718 v 1.386719 c 0 0.699219 -0.5625 1.261719 -1.261718 1.261719 h -1.191407 c -0.695312 0 -1.261719 -0.5625 -1.261719 -1.261719 v -1.386719 c 0 -0.699218 0.566407 -1.261718 1.261719 -1.261718 z m 0 0"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.8 KiB

View File

@ -0,0 +1,61 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg height="128px" viewBox="0 0 128 128" width="128px" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
<clipPath id="a">
<rect height="128" width="128"/>
</clipPath>
<clipPath id="b">
<rect height="128" width="128"/>
</clipPath>
<filter id="c" height="100%" width="100%" x="0%" y="0%">
<feColorMatrix in="SourceGraphic" type="matrix" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/>
</filter>
<mask id="d">
<g clip-path="url(#b)" filter="url(#c)">
<g clip-path="url(#a)">
<path d="m 28.167969 184.496094 h 71.664062 c 8.65625 0 15.671875 7.015625 15.671875 15.671875 v 71.664062 c 0 8.65625 -7.015625 15.671875 -15.671875 15.671875 h -71.664062 c -8.65625 0 -15.671875 -7.015625 -15.671875 -15.671875 v -71.664062 c 0 -8.65625 7.015625 -15.671875 15.671875 -15.671875 z m 0 0" fill="#fafafa" stroke="#e6e6e6" stroke-width="2.12409" transform="matrix(1 0 0 1 0 -172)"/>
<path d="m 90.71875 24 h 6.453125 c 3.773437 0 6.828125 3.054688 6.828125 6.828125 v 7.511719 c 0 3.769531 -3.054688 6.828125 -6.828125 6.828125 h -6.453125 c -3.769531 0 -6.824219 -3.058594 -6.824219 -6.828125 v -7.511719 c 0 -3.773437 3.054688 -6.828125 6.824219 -6.828125 z m 0 0" fill="#3584e4"/>
<path d="m 30.828125 24 h 6.453125 c 3.769531 0 6.824219 3.054688 6.824219 6.828125 v 7.511719 c 0 3.769531 -3.054688 6.828125 -6.824219 6.828125 h -6.453125 c -3.773437 0 -6.828125 -3.058594 -6.828125 -6.828125 v -7.511719 c 0 -3.773437 3.054688 -6.828125 6.828125 -6.828125 z m 0 0" fill="#3584e4"/>
<path d="m 90.71875 82.832031 h 6.453125 c 3.773437 0 6.828125 3.058594 6.828125 6.828125 v 7.511719 c 0 3.773437 -3.054688 6.828125 -6.828125 6.828125 h -6.453125 c -3.769531 0 -6.824219 -3.054688 -6.824219 -6.828125 v -7.511719 c 0 -3.769531 3.054688 -6.828125 6.824219 -6.828125 z m 0 0" fill="#3584e4"/>
<path d="m 30.828125 82.832031 h 6.453125 c 3.769531 0 6.824219 3.058594 6.824219 6.828125 v 7.511719 c 0 3.773437 -3.054688 6.828125 -6.824219 6.828125 h -6.453125 c -3.773437 0 -6.828125 -3.054688 -6.828125 -6.828125 v -7.511719 c 0 -3.769531 3.054688 -6.828125 6.828125 -6.828125 z m 0 0" fill="#3584e4"/>
<path d="m 60.773438 53.417969 h 6.453124 c 3.769532 0 6.824219 3.054687 6.824219 6.824219 v 7.515624 c 0 3.769532 -3.054687 6.824219 -6.824219 6.824219 h -6.453124 c -3.769532 0 -6.828126 -3.054687 -6.828126 -6.824219 v -7.515624 c 0 -3.769532 3.058594 -6.824219 6.828126 -6.824219 z m 0 0" fill="#3584e4"/>
<path d="m 60.773438 24 h 6.453124 c 3.769532 0 6.828126 3.054688 6.828126 6.828125 v 7.511719 c 0 3.769531 -3.058594 6.828125 -6.828126 6.828125 h -6.453124 c -3.769532 0 -6.828126 -3.058594 -6.828126 -6.828125 v -7.511719 c 0 -3.773437 3.058594 -6.828125 6.828126 -6.828125 z m 0 0" fill="#3584e4"/>
<path d="m 90.71875 53.417969 h 6.453125 c 3.773437 0 6.828125 3.054687 6.828125 6.824219 v 7.515624 c 0 3.769532 -3.054688 6.824219 -6.828125 6.824219 h -6.453125 c -3.769531 0 -6.824219 -3.054687 -6.824219 -6.824219 v -7.515624 c 0 -3.769532 3.054688 -6.824219 6.824219 -6.824219 z m 0 0" fill="#3584e4"/>
<path d="m 30.828125 53.417969 h 6.453125 c 3.769531 0 6.824219 3.054687 6.824219 6.824219 v 7.515624 c 0 3.769532 -3.054688 6.824219 -6.824219 6.824219 h -6.453125 c -3.773437 0 -6.828125 -3.054687 -6.828125 -6.824219 v -7.515624 c 0 -3.769532 3.054688 -6.824219 6.828125 -6.824219 z m 0 0" fill="#3584e4"/>
<path d="m 60.773438 82.832031 h 6.453124 c 3.769532 0 6.828126 3.058594 6.828126 6.828125 v 7.511719 c 0 3.773437 -3.058594 6.828125 -6.828126 6.828125 h -6.453124 c -3.769532 0 -6.828126 -3.054688 -6.828126 -6.828125 v -7.511719 c 0 -3.769531 3.058594 -6.828125 6.828126 -6.828125 z m 0 0" fill="#3584e4"/>
</g>
</g>
</mask>
<mask id="e">
<g filter="url(#c)">
<rect fill-opacity="0.8" height="128" width="128"/>
</g>
</mask>
<linearGradient id="f" gradientTransform="matrix(0 0.37 -0.98462 0 295.38501 -30.360001)" gradientUnits="userSpaceOnUse" x1="300" x2="428" y1="235" y2="235">
<stop offset="0" stop-color="#f9f06b"/>
<stop offset="1" stop-color="#f5c211"/>
</linearGradient>
<clipPath id="g">
<rect height="128" width="128"/>
</clipPath>
<clipPath id="h">
<rect height="128" width="128"/>
</clipPath>
<path d="m 28.167969 12.496094 h 71.664062 c 8.65625 0 15.671875 7.015625 15.671875 15.671875 v 71.664062 c 0 8.65625 -7.015625 15.671875 -15.671875 15.671875 h -71.664062 c -8.65625 0 -15.671875 -7.015625 -15.671875 -15.671875 v -71.664062 c 0 -8.65625 7.015625 -15.671875 15.671875 -15.671875 z m 0 0" fill="#fafafa" stroke="#e6e6e6" stroke-width="2.12409"/>
<g fill="#3584e4">
<path d="m 90.71875 24 h 6.453125 c 3.773437 0 6.828125 3.054688 6.828125 6.828125 v 7.511719 c 0 3.769531 -3.054688 6.828125 -6.828125 6.828125 h -6.453125 c -3.769531 0 -6.824219 -3.058594 -6.824219 -6.828125 v -7.511719 c 0 -3.773437 3.054688 -6.828125 6.824219 -6.828125 z m 0 0"/>
<path d="m 30.828125 24 h 6.453125 c 3.769531 0 6.824219 3.054688 6.824219 6.828125 v 7.511719 c 0 3.769531 -3.054688 6.828125 -6.824219 6.828125 h -6.453125 c -3.773437 0 -6.828125 -3.058594 -6.828125 -6.828125 v -7.511719 c 0 -3.773437 3.054688 -6.828125 6.828125 -6.828125 z m 0 0"/>
<path d="m 90.71875 82.832031 h 6.453125 c 3.773437 0 6.828125 3.058594 6.828125 6.828125 v 7.511719 c 0 3.773437 -3.054688 6.828125 -6.828125 6.828125 h -6.453125 c -3.769531 0 -6.824219 -3.054688 -6.824219 -6.828125 v -7.511719 c 0 -3.769531 3.054688 -6.828125 6.824219 -6.828125 z m 0 0"/>
<path d="m 30.828125 82.832031 h 6.453125 c 3.769531 0 6.824219 3.058594 6.824219 6.828125 v 7.511719 c 0 3.773437 -3.054688 6.828125 -6.824219 6.828125 h -6.453125 c -3.773437 0 -6.828125 -3.054688 -6.828125 -6.828125 v -7.511719 c 0 -3.769531 3.054688 -6.828125 6.828125 -6.828125 z m 0 0"/>
<path d="m 60.773438 53.417969 h 6.453124 c 3.769532 0 6.824219 3.054687 6.824219 6.824219 v 7.515624 c 0 3.769532 -3.054687 6.824219 -6.824219 6.824219 h -6.453124 c -3.769532 0 -6.828126 -3.054687 -6.828126 -6.824219 v -7.515624 c 0 -3.769532 3.058594 -6.824219 6.828126 -6.824219 z m 0 0"/>
<path d="m 60.773438 24 h 6.453124 c 3.769532 0 6.828126 3.054688 6.828126 6.828125 v 7.511719 c 0 3.769531 -3.058594 6.828125 -6.828126 6.828125 h -6.453124 c -3.769532 0 -6.828126 -3.058594 -6.828126 -6.828125 v -7.511719 c 0 -3.773437 3.058594 -6.828125 6.828126 -6.828125 z m 0 0"/>
<path d="m 90.71875 53.417969 h 6.453125 c 3.773437 0 6.828125 3.054687 6.828125 6.824219 v 7.515624 c 0 3.769532 -3.054688 6.824219 -6.828125 6.824219 h -6.453125 c -3.769531 0 -6.824219 -3.054687 -6.824219 -6.824219 v -7.515624 c 0 -3.769532 3.054688 -6.824219 6.824219 -6.824219 z m 0 0"/>
<path d="m 30.828125 53.417969 h 6.453125 c 3.769531 0 6.824219 3.054687 6.824219 6.824219 v 7.515624 c 0 3.769532 -3.054688 6.824219 -6.824219 6.824219 h -6.453125 c -3.773437 0 -6.828125 -3.054687 -6.828125 -6.824219 v -7.515624 c 0 -3.769532 3.054688 -6.824219 6.828125 -6.824219 z m 0 0"/>
<path d="m 60.773438 82.832031 h 6.453124 c 3.769532 0 6.828126 3.058594 6.828126 6.828125 v 7.511719 c 0 3.773437 -3.058594 6.828125 -6.828126 6.828125 h -6.453124 c -3.769532 0 -6.828126 -3.054688 -6.828126 -6.828125 v -7.511719 c 0 -3.769531 3.058594 -6.828125 6.828126 -6.828125 z m 0 0"/>
</g>
<g clip-path="url(#h)" mask="url(#d)">
<g clip-path="url(#g)" mask="url(#e)">
<path d="m 128 80.640625 v 47.359375 h -128 v -47.359375 z m 0 0" fill="url(#f)"/>
<path d="m 13.308594 80.640625 l 47.355468 47.359375 h 21.214844 l -47.359375 -47.359375 z m 42.421875 0 l 47.363281 47.359375 h 21.214844 l -47.363282 -47.359375 z m 42.429687 0 l 29.839844 29.839844 v -21.210938 l -8.628906 -8.628906 z m -98.160156 7.90625 v 21.214844 l 18.238281 18.238281 h 21.214844 z m 0 0"/>
</g>
</g>
</svg>

After

Width:  |  Height:  |  Size: 8.0 KiB

View File

@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<svg height="128px" viewBox="0 0 128 128" width="128px" xmlns="http://www.w3.org/2000/svg">
<path d="m 28.167969 12.496094 h 71.664062 c 8.65625 0 15.671875 7.015625 15.671875 15.671875 v 71.664062 c 0 8.65625 -7.015625 15.671875 -15.671875 15.671875 h -71.664062 c -8.65625 0 -15.671875 -7.015625 -15.671875 -15.671875 v -71.664062 c 0 -8.65625 7.015625 -15.671875 15.671875 -15.671875 z m 0 0" fill="#fafafa" stroke="#e6e6e6" stroke-width="2.12409"/>
<g fill="#3584e4">
<path d="m 90.71875 24 h 6.453125 c 3.773437 0 6.828125 3.054688 6.828125 6.828125 v 7.511719 c 0 3.769531 -3.054688 6.828125 -6.828125 6.828125 h -6.453125 c -3.769531 0 -6.824219 -3.058594 -6.824219 -6.828125 v -7.511719 c 0 -3.773437 3.054688 -6.828125 6.824219 -6.828125 z m 0 0"/>
<path d="m 30.828125 24 h 6.453125 c 3.769531 0 6.824219 3.054688 6.824219 6.828125 v 7.511719 c 0 3.769531 -3.054688 6.828125 -6.824219 6.828125 h -6.453125 c -3.773437 0 -6.828125 -3.058594 -6.828125 -6.828125 v -7.511719 c 0 -3.773437 3.054688 -6.828125 6.828125 -6.828125 z m 0 0"/>
<path d="m 90.71875 82.832031 h 6.453125 c 3.773437 0 6.828125 3.058594 6.828125 6.828125 v 7.511719 c 0 3.773437 -3.054688 6.828125 -6.828125 6.828125 h -6.453125 c -3.769531 0 -6.824219 -3.054688 -6.824219 -6.828125 v -7.511719 c 0 -3.769531 3.054688 -6.828125 6.824219 -6.828125 z m 0 0"/>
<path d="m 30.828125 82.832031 h 6.453125 c 3.769531 0 6.824219 3.058594 6.824219 6.828125 v 7.511719 c 0 3.773437 -3.054688 6.828125 -6.824219 6.828125 h -6.453125 c -3.773437 0 -6.828125 -3.054688 -6.828125 -6.828125 v -7.511719 c 0 -3.769531 3.054688 -6.828125 6.828125 -6.828125 z m 0 0"/>
<path d="m 60.773438 53.417969 h 6.453124 c 3.769532 0 6.824219 3.054687 6.824219 6.824219 v 7.515624 c 0 3.769532 -3.054687 6.824219 -6.824219 6.824219 h -6.453124 c -3.769532 0 -6.828126 -3.054687 -6.828126 -6.824219 v -7.515624 c 0 -3.769532 3.058594 -6.824219 6.828126 -6.824219 z m 0 0"/>
<path d="m 60.773438 24 h 6.453124 c 3.769532 0 6.828126 3.054688 6.828126 6.828125 v 7.511719 c 0 3.769531 -3.058594 6.828125 -6.828126 6.828125 h -6.453124 c -3.769532 0 -6.828126 -3.058594 -6.828126 -6.828125 v -7.511719 c 0 -3.773437 3.058594 -6.828125 6.828126 -6.828125 z m 0 0"/>
<path d="m 90.71875 53.417969 h 6.453125 c 3.773437 0 6.828125 3.054687 6.828125 6.824219 v 7.515624 c 0 3.769532 -3.054688 6.824219 -6.828125 6.824219 h -6.453125 c -3.769531 0 -6.824219 -3.054687 -6.824219 -6.824219 v -7.515624 c 0 -3.769532 3.054688 -6.824219 6.824219 -6.824219 z m 0 0"/>
<path d="m 30.828125 53.417969 h 6.453125 c 3.769531 0 6.824219 3.054687 6.824219 6.824219 v 7.515624 c 0 3.769532 -3.054688 6.824219 -6.824219 6.824219 h -6.453125 c -3.773437 0 -6.828125 -3.054687 -6.828125 -6.824219 v -7.515624 c 0 -3.769532 3.054688 -6.824219 6.828125 -6.824219 z m 0 0"/>
<path d="m 60.773438 82.832031 h 6.453124 c 3.769532 0 6.828126 3.058594 6.828126 6.828125 v 7.511719 c 0 3.773437 -3.058594 6.828125 -6.828126 6.828125 h -6.453124 c -3.769532 0 -6.828126 -3.054688 -6.828126 -6.828125 v -7.511719 c 0 -3.769531 3.058594 -6.828125 6.828126 -6.828125 z m 0 0"/>
</g>
</svg>

After

Width:  |  Height:  |  Size: 3.2 KiB

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<gresources>
<gresource prefix="/com/example/Life/">
<gresource prefix="/xyz/mossfet/Life/">
<!-- see https://gtk-rs.org/gtk4-rs/git/docs/gtk4/struct.Application.html#automatic-resources -->
<file compressed="true" preprocess="xml-stripblanks" alias="gtk/help-overlay.ui">ui/shortcuts.ui</file>
<file compressed="true">style.css</file>

View File

@ -1,6 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<schemalist>
<schema path="/com/example/Life/" id="@app-id@" gettext-domain="@gettext-package@">
<schema path="/xyz/mossfet/Life/" id="@app-id@" gettext-domain="@gettext-package@">
<key name="window-width" type="i">
<default>600</default>
<summary>Window width</summary>

View File

@ -17,10 +17,7 @@
<release version="0.8.0" date="2023-01-26" />
</releases>
<kudos>
<!--
GNOME Software kudos:
https://gitlab.gnome.org/GNOME/gnome-software/-/blob/main/doc/kudos.md
-->
<kudo>ModernToolkit</kudo>
</kudos>
<developer_name>Mossfet</developer_name>
<translation type="gettext">@gettext-package@</translation>

View File

@ -1,7 +1,7 @@
project(
'mossfets-life',
'rust',
version: '0.1.0',
version: '0.9.4',
meson_version: '>= 0.59',
# license: 'MIT',
)
@ -9,7 +9,7 @@ project(
i18n = import('i18n')
gnome = import('gnome')
base_id = 'com.example.Life'
base_id = 'xyz.mossfet.Life'
dependency('glib-2.0', version: '>= 2.66')
dependency('gio-2.0', version: '>= 2.66')

View File

@ -1,6 +1,6 @@
data/com.example.Life.desktop.in.in
data/com.example.Life.gschema.xml.in
data/com.example.Life.metainfo.xml.in.in
data/xyz.mossfet.Life.desktop.in.in
data/xyz.mossfet.Life.gschema.xml.in
data/xyz.mossfet.Life.metainfo.xml.in.in
data/resources/ui/shortcuts.ui
data/resources/ui/window.ui
src/application.rs

View File

@ -410,7 +410,6 @@ impl SimpleComponent for AppModel {
let path = path.to_str().unwrap();
match mossfets_game_of_life::reader::read_game_at_path(path) {
Ok(game) => self.game = game,
// TODO: Make toast respond to error
Err(_) => self.set_toast(Some(adw::Toast::builder().title("Failed to read file!").priority(adw::ToastPriority::High).build())),
}
}

8
src/config.rs Normal file
View File

@ -0,0 +1,8 @@
pub const APP_ID: &str = "xyz.mossfet.Life";
pub const GETTEXT_PACKAGE: &str = "mossfets-life";
pub const LOCALEDIR: &str = "/usr/share/locale";
#[allow(unused)]
pub const PKGDATADIR: &str = "/usr/share/mossfets-life";
pub const PROFILE: &str = "";
pub const RESOURCES_FILE: &str = concat!("/usr/share/mossfets-life", "/resources.gresource");
pub const VERSION: &str = "0.1.0";