diff options
author | Ricky Kresslein <rk@lakoliu.com> | 2022-04-12 08:40:54 +0300 |
---|---|---|
committer | Ricky Kresslein <rk@lakoliu.com> | 2022-04-12 08:57:09 +0300 |
commit | 198aaeae1192c0536ecaa8468499488f4bffc309 (patch) | |
tree | 6c649cc915d8372077a61f202e041049f5830700 | |
parent | a83457814faddf91b50bf9216a74f87b5a0f9361 (diff) | |
download | Furtherance-198aaeae1192c0536ecaa8468499488f4bffc309.tar.zst |
Add Source icon
-rwxr-xr-x | Cargo.lock | 8 | ||||
-rw-r--r-- | data/icons/hicolor/com.lakoliu.Furtherance.Source.svg | 803 | ||||
-rwxr-xr-x | src/ui/tasks_group.rs | 1 | ||||
-rwxr-xr-x | src/ui/tasks_page.rs | 6 |
4 files changed, 810 insertions, 8 deletions
diff --git a/Cargo.lock b/Cargo.lock index 7da8f8d..15a8292 100755 --- a/Cargo.lock +++ b/Cargo.lock @@ -503,9 +503,9 @@ dependencies = [ [[package]] name = "gtk4" -version = "0.4.6" +version = "0.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9e841556e3fe55d8a43ada76b7b08a5f65570bbdfe3b8f72c333053b8832c626" +checksum = "eb5d40303dabe4608fc260de2bd7563da6f85bc90af956323f0cd8ae0abcfe03" dependencies = [ "bitflags", "cairo-rs", @@ -598,9 +598,9 @@ checksum = "e2abad23fbc42b3700f2f279844dc832adb2b2eb069b2df918f455c4e18cc646" [[package]] name = "libadwaita" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0d4b1d54d907dfa5d6663fdf4bdbe46c34747258b85c787adbf66187ccbaac81" +checksum = "f2ae453d28e3b91f03749f02b1531e8cfe315a1d0762b77a61797d2ab80bb87d" dependencies = [ "gdk-pixbuf", "gdk4", diff --git a/data/icons/hicolor/com.lakoliu.Furtherance.Source.svg b/data/icons/hicolor/com.lakoliu.Furtherance.Source.svg new file mode 100644 index 0000000..0d7df20 --- /dev/null +++ b/data/icons/hicolor/com.lakoliu.Furtherance.Source.svg @@ -0,0 +1,803 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> + +<svg + inkscape:export-ydpi="96" + inkscape:export-xdpi="96" + inkscape:export-filename="Template.png" + width="192" + height="152" + id="svg11300" + sodipodi:version="0.32" + inkscape:version="1.1.2 (0a00cf5339, 2022-02-04)" + sodipodi:docname="com.lakoliu.Furtherance.Source (copy).svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + version="1.0" + style="display:inline;enable-background:new" + viewBox="0 0 192 152" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:xlink="http://www.w3.org/1999/xlink" + xmlns="http://www.w3.org/2000/svg" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:dc="http://purl.org/dc/elements/1.1/"> + <title + id="title4162">Adwaita Icon Template</title> + <defs + id="defs3"> + <linearGradient + inkscape:collect="always" + id="linearGradient3372"> + <stop + style="stop-color:#62a0ea;stop-opacity:1" + offset="0" + id="stop3360" /> + <stop + style="stop-color:#99c1f1;stop-opacity:1" + offset="0.03571429" + id="stop3362" /> + <stop + style="stop-color:#62a0ea;stop-opacity:1" + offset="0.07142857" + id="stop3364" /> + <stop + style="stop-color:#62a0ea;stop-opacity:1" + offset="0.9285714" + id="stop3366" /> + <stop + style="stop-color:#99c1f1;stop-opacity:1" + offset="0.96428573" + id="stop3368" /> + <stop + style="stop-color:#62a0ea;stop-opacity:1" + offset="1" + id="stop3370" /> + </linearGradient> + <linearGradient + id="linearGradient54390" + inkscape:collect="always"> + <stop + id="stop54378" + offset="0" + style="stop-color:#c0bfbc;stop-opacity:1" /> + <stop + style="stop-color:#f6f5f4;stop-opacity:1" + offset="0.07692306" + id="stop54380" /> + <stop + style="stop-color:#c0bfbc;stop-opacity:1" + offset="0.15384614" + id="stop54382" /> + <stop + style="stop-color:#c0bfbc;stop-opacity:1" + offset="0.8461538" + id="stop54384" /> + <stop + id="stop54386" + offset="0.92307687" + style="stop-color:#f6f5f4;stop-opacity:1" /> + <stop + id="stop54388" + offset="1" + style="stop-color:#c0bfbc;stop-opacity:1" /> + </linearGradient> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient3372" + id="linearGradient18609" + gradientUnits="userSpaceOnUse" + x1="8" + y1="292" + x2="120" + y2="292" + gradientTransform="matrix(1,0,0,0.86363636,0,39.272727)" /> + <linearGradient + inkscape:collect="always" + xlink:href="#linearGradient54390" + id="linearGradient42491" + gradientUnits="userSpaceOnUse" + gradientTransform="translate(-215.99999,-134)" + x1="27.99999" + y1="-276" + x2="79.999992" + y2="-276" /> + </defs> + <sodipodi:namedview + stroke="#ef2929" + fill="#f57900" + id="base" + pagecolor="#ffffff" + bordercolor="#666666" + borderopacity="0.25490196" + inkscape:pageopacity="0.0" + inkscape:pageshadow="2" + inkscape:zoom="4.7061735" + inkscape:cx="83.188603" + inkscape:cy="105.60597" + inkscape:current-layer="g15378" + showgrid="false" + inkscape:grid-bbox="true" + inkscape:document-units="px" + inkscape:showpageshadow="false" + inkscape:window-width="3840" + inkscape:window-height="2091" + inkscape:window-x="0" + inkscape:window-y="0" + width="400px" + height="300px" + inkscape:snap-nodes="true" + inkscape:snap-bbox="true" + objecttolerance="7" + gridtolerance="12" + guidetolerance="13" + inkscape:window-maximized="1" + inkscape:pagecheckerboard="false" + showguides="false" + inkscape:guide-bbox="true" + inkscape:locked="false" + inkscape:measure-start="0,0" + inkscape:measure-end="0,0" + inkscape:object-nodes="true" + inkscape:bbox-nodes="true" + inkscape:snap-global="true" + inkscape:object-paths="true" + inkscape:snap-intersection-paths="true" + inkscape:snap-bbox-edge-midpoints="true" + inkscape:snap-bbox-midpoints="true" + showborder="true" + inkscape:snap-center="true" + inkscape:snap-object-midpoints="true" + inkscape:snap-midpoints="true" + inkscape:snap-smooth-nodes="true" + inkscape:snap-text-baseline="true" + borderlayer="true"> + <inkscape:grid + type="xygrid" + id="grid5883" + spacingx="2" + spacingy="2" + enabled="true" + visible="true" + empspacing="4" + originx="8" + originy="8" /> + <sodipodi:guide + position="72,16" + orientation="0,1" + id="guide1073" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="20,72" + orientation="1,0" + id="guide1075" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="72,112" + orientation="0,1" + id="guide1099" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="72,136" + orientation="0,1" + id="guide993" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="112,72" + orientation="1,0" + id="guide995" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="8.0000001,72" + orientation="1,0" + id="guide867" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="128,72" + orientation="1,0" + id="guide869" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="72,124" + orientation="0,1" + id="guide871" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <inkscape:grid + type="xygrid" + id="grid873" + spacingx="1" + spacingy="1" + empspacing="8" + color="#000000" + opacity="0.49019608" + empcolor="#000000" + empopacity="0.08627451" + dotted="true" + originx="8" + originy="8" /> + <sodipodi:guide + position="32,72" + orientation="1,0" + id="guide877" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="124,72" + orientation="1,0" + id="guide879" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="72,128" + orientation="0,1" + id="guide881" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="72,20" + orientation="0,1" + id="guide883" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="16,72" + orientation="1,0" + id="guide885" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="136,72" + orientation="1,0" + id="guide887" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="72,8" + orientation="0,1" + id="guide897" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="72,32" + orientation="0,1" + id="guide899" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="264,264" + orientation="-0.70710678,0.70710678" + id="guide950" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + <sodipodi:guide + position="72,72" + orientation="0.70710678,0.70710678" + id="guide952" + inkscape:locked="false" + inkscape:label="" + inkscape:color="rgb(0,0,255)" /> + </sodipodi:namedview> + <metadata + id="metadata4"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:creator> + <cc:Agent> + <dc:title>GNOME Design Team</dc:title> + </cc:Agent> + </dc:creator> + <dc:source /> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" /> + <dc:title>Adwaita Icon Template</dc:title> + <dc:subject> + <rdf:Bag /> + </dc:subject> + <dc:date /> + <dc:rights> + <cc:Agent> + <dc:title /> + </cc:Agent> + </dc:rights> + <dc:publisher> + <cc:Agent> + <dc:title /> + </cc:Agent> + </dc:publisher> + <dc:identifier /> + <dc:relation /> + <dc:language /> + <dc:coverage /> + <dc:description /> + <dc:contributor> + <cc:Agent> + <dc:title /> + </cc:Agent> + </dc:contributor> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by-sa/4.0/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#ShareAlike" /> + </cc:License> + </rdf:RDF> + </metadata> + <g + id="layer1" + inkscape:label="App Icon" + inkscape:groupmode="layer" + style="display:inline" + transform="translate(8,-156)"> + <g + inkscape:groupmode="layer" + id="layer4" + inkscape:label="template" + style="display:inline" + sodipodi:insensitive="true"> + <rect + inkscape:label="0" + y="172" + x="9.2651362e-08" + height="128" + width="128" + id="hicolor" + style="display:inline;overflow:visible;visibility:visible;fill:#f0f0f0;fill-opacity:0;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;enable-background:accumulate" /> + <rect + style="display:inline;overflow:visible;visibility:visible;fill:#f0f0f0;fill-opacity:0;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;enable-background:accumulate" + id="symbolic" + width="16" + height="16" + x="160" + y="172" + inkscape:label="0" /> + </g> + <g + inkscape:groupmode="layer" + id="layer2" + inkscape:label="baseplate" + style="display:inline" + sodipodi:insensitive="true"> + <g + style="display:inline;fill:#000000;enable-background:new" + transform="matrix(7.9911709,0,0,8.0036407,-167.7909,-4846.0776)" + id="g12027" + inkscape:export-xdpi="12" + inkscape:export-ydpi="12" /> + <rect + style="display:inline;overflow:visible;visibility:visible;fill:#f0f0f0;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;enable-background:accumulate" + id="128" + width="128" + height="128" + x="9.2651362e-08" + y="172" + inkscape:label="0" /> + <g + id="g883" + style="fill:none;fill-opacity:0.25098;stroke:#a579b3;stroke-opacity:1" + transform="translate(-24,24)" /> + <g + id="g900" + style="fill:none;fill-opacity:0.25098;stroke:#a579b3;stroke-opacity:1" + transform="translate(-24,24)" /> + <rect + inkscape:label="" + y="172" + x="160" + height="16" + width="16" + id="16" + style="display:inline;overflow:visible;visibility:visible;fill:#f0f0f0;fill-opacity:1;fill-rule:nonzero;stroke:none;stroke-width:0.5;marker:none;enable-background:accumulate" /> + <text + xml:space="preserve" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4px;line-height:125%;font-family:Cantarell;-inkscape-font-specification:'Cantarell, Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.332649;enable-background:new" + x="0" + y="167" + id="text863" + inkscape:label="icon-name"><tspan + style="font-size:4px;stroke-width:0.332649" + sodipodi:role="line" + id="tspan861" + x="0" + y="167">Hicolor</tspan></text> + <text + inkscape:label="icon-name" + id="text867" + y="167" + x="160" + style="font-style:normal;font-variant:normal;font-weight:bold;font-stretch:normal;font-size:4px;line-height:125%;font-family:Cantarell;-inkscape-font-specification:'Cantarell, Bold';text-align:start;writing-mode:lr-tb;text-anchor:start;display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:0.332649;enable-background:new" + xml:space="preserve"><tspan + y="167" + x="160" + id="tspan865" + sodipodi:role="line" + style="font-size:4px;stroke-width:0.332649">Symbolic</tspan></text> + </g> + <rect + style="opacity:1;fill:url(#linearGradient18609);fill-opacity:1;stroke:none;stroke-width:1.02966;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="rect17608" + width="112" + height="76" + x="8" + y="212" + rx="8" /> + <g + inkscape:groupmode="layer" + id="layer9" + inkscape:label="icons" + style="display:inline" /> + <g + inkscape:groupmode="layer" + id="layer5" + inkscape:label="foo" /> + <g + inkscape:groupmode="layer" + id="layer3" + inkscape:label="grid" + style="display:inline" + sodipodi:insensitive="true"> + <circle + cx="64.000031" + cy="236" + r="59.504131" + id="circle2892" + style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99, 0.99;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <rect + ry="7.9292889" + rx="8.701004" + y="180.49496" + x="20.495007" + height="111.01005" + width="87.009987" + id="rect2894" + style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99, 0.99;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <rect + ry="7.9238095" + rx="7.9238095" + y="184.49524" + x="12.495266" + height="103.00952" + width="103.00952" + id="rect2896" + style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99, 0.99;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <rect + ry="8.701005" + rx="7.9292889" + y="200.49496" + x="8.4950066" + height="87.010048" + width="111.01004" + id="rect2898" + style="display:inline;opacity:0.1;vector-effect:none;fill:none;fill-opacity:1;stroke:#000000;stroke-width:0.99;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:0.99, 0.99;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <path + inkscape:connector-curvature="0" + id="path2900" + d="M 2.6203015e-5,288.99999 H 128.00003" + style="display:inline;fill:none;stroke:#62a0ea;stroke-width:2;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1;enable-background:new" /> + </g> + <rect + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:1.02966;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="rect17726" + width="112" + height="72" + x="8" + y="200" + rx="8" + ry="8" /> + <rect + style="opacity:1;fill:#241f31;fill-opacity:1;stroke:none;stroke-width:0.984142;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="rect17924" + width="108" + height="50" + x="10" + y="202" + rx="6" + ry="6" /> + <g + id="g15378" + style="fill:#99c1f1" + transform="translate(-2,-12)"> + <path + style="display:inline;fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" + d="m 51,234 2,-2 h 2 l 2,2 -2,2 h -2 z" + id="path13071-0" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 29,222 2,-2 h 10 l 2,2 -2,2 H 31 Z" + id="path12735" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 29,238 2,-2 h 10 l 2,2 -2,2 H 31 Z" + id="path13071" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 29,254 2,-2 h 10 l 2,2 -2,2 H 31 Z" + id="path13073" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 44,223 2,2 v 10 l -2,2 -2,-2 v -10 z" + id="path13075" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 44,239 2,2 v 10 l -2,2 -2,-2 v -10 z" + id="path13216" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 65,222 2,-2 h 10 l 2,2 -2,2 H 67 Z" + id="path13493" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 65,254 2,-2 h 10 l 2,2 -2,2 H 67 Z" + id="path13497" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 80,223 2,2 v 10 l -2,2 -2,-2 v -10 z" + id="path13499" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 104,239 2,2 v 10 l -2,2 -2,-2 v -10 z" + id="path13503" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 64,239 2,2 v 10 l -2,2 -2,-2 v -10 z" + id="path13505" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 89,222 2,-2 h 10 l 2,2 -2,2 H 91 Z" + id="path13507" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 89,238 2,-2 h 10 l 2,2 -2,2 H 91 Z" + id="path13509" + sodipodi:nodetypes="ccccccc" /> + <path + style="display:inline;fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" + d="m 65.000001,238 2,-2 H 77 l 2,2 -2,2 h -9.999999 z" + id="path13509-6" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 89,254 2,-2 h 10 l 2,2 -2,2 H 91 Z" + id="path13511" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 88,223 2,2 v 10 l -2,2 -2,-2 v -10 z" + id="path13513" + sodipodi:nodetypes="ccccccc" /> + <path + style="fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1" + d="m 88,239 2,2 v 10 l -2,2 -2,-2 v -10 z" + id="path13519" + sodipodi:nodetypes="ccccccc" /> + <path + style="display:inline;fill:#99c1f1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;enable-background:new" + d="m 51,242 2,-2 h 2 l 2,2 -2,2 h -2 z" + id="path28282" + sodipodi:nodetypes="ccccccc" /> + </g> + <circle + style="opacity:1;fill:#62a0ea;fill-opacity:1;stroke:none;stroke-width:0.944883;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="path36296" + cx="23" + cy="263" + r="5" /> + <circle + style="opacity:1;fill:#e7f1fc;fill-opacity:1;stroke:none;stroke-width:0.944883;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="circle38348" + cx="23" + cy="261" + r="5" /> + <circle + style="opacity:1;fill:#62a0ea;fill-opacity:1;stroke:none;stroke-width:0.944883;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="circle38452" + cx="39" + cy="263" + r="5" /> + <circle + style="opacity:1;fill:#e7f1fc;fill-opacity:1;stroke:none;stroke-width:0.944883;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="circle38454" + cx="39" + cy="261" + r="5" /> + <g + id="g1449"> + <g + id="g42489" + transform="translate(-72,-128)"> + <rect + transform="scale(-1)" + style="display:inline;vector-effect:none;fill:#3584e4;fill-opacity:1;stroke:none;stroke-width:13.7188;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + id="rect42468" + width="52" + height="30" + x="-188" + y="-428" + clip-path="none" + rx="8" + ry="8" /> + <rect + clip-path="none" + y="-426" + x="-188" + height="40" + width="52" + id="rect42470" + style="display:inline;vector-effect:none;fill:url(#linearGradient42491);fill-opacity:1;stroke:none;stroke-width:13.7188;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + transform="scale(-1)" + rx="8" + ry="8" /> + <rect + transform="scale(-1)" + style="display:inline;vector-effect:none;fill:#f6f5f4;fill-opacity:1;stroke:none;stroke-width:13.7188;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + id="rect42472" + width="52" + height="58" + x="-188" + y="-422" + clip-path="none" + rx="8" + ry="8" /> + <g + id="g44085" + transform="translate(0,-6)" + style="stroke:#deddda" /> + </g> + <g + id="g45744" + style="fill:#99c1f1" + transform="translate(-4)"> + <circle + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="path45412" + cx="75" + cy="254" + r="3" /> + <rect + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="rect45562" + width="22" + height="4" + x="80" + y="252" /> + <circle + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="circle45724" + cx="75" + cy="262" + r="3" /> + <rect + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="rect45726" + width="30" + height="4" + x="80" + y="260" /> + <circle + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="circle45728" + cx="75" + cy="274" + r="3" /> + <rect + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="rect45730" + width="16" + height="4" + x="80" + y="272" /> + <circle + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="circle45732" + cx="75" + cy="282" + r="3" /> + <rect + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="rect45734" + width="26" + height="4" + x="80" + y="280" /> + <circle + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="circle62744" + cx="75" + cy="246" + r="3" /> + <rect + style="opacity:1;fill:#99c1f1;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4" + id="rect62746" + width="24" + height="4" + x="80" + y="244" /> + </g> + </g> + <path + style="color:#000000;display:inline;fill:#000000;stroke-linecap:round;stroke-linejoin:round;stroke-dashoffset:26.4;-inkscape-stroke:none;enable-background:new" + d="m 165.76563,173.11133 c -2.57972,0.46705 -4.78402,2.36979 -5.51562,5.03711 -0.97546,3.55642 0.99526,7.28056 4.48437,8.47461 A 1,1 0 0 0 166.00392,186 a 1,1 0 0 0 -0.62305,-1.26953 c -2.50799,-0.85829 -3.90429,-3.49637 -3.20313,-6.05274 0.70117,-2.55637 3.24884,-4.11361 5.84375,-3.57226 2.59492,0.54135 4.30719,2.98589 3.92774,5.60937 a 1,1 0 0 0 0.8457,1.13282 1,1 0 0 0 1.13281,-0.84571 c 0.5279,-3.64979 -1.88799,-7.10038 -5.49804,-7.85351 -0.90251,-0.18828 -1.80416,-0.1928 -2.66407,-0.0371 z" + id="path810" /> + <rect + style="display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.99999;stroke-linecap:butt;stroke-linejoin:round;stroke-dashoffset:26.4;enable-background:new" + id="rect2947" + width="6" + height="2" + x="170" + y="183" /> + <rect + style="display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1.99999;stroke-linecap:butt;stroke-linejoin:round;stroke-dashoffset:26.4;enable-background:new" + id="rect2949" + width="6" + height="2" + x="170" + y="186" /> + <circle + style="display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-dashoffset:26.4;enable-background:new" + id="circle2975" + cx="168" + cy="184" + r="1" /> + <circle + style="display:inline;fill:#000000;fill-opacity:1;stroke:none;stroke-width:2;stroke-linecap:butt;stroke-linejoin:round;stroke-dashoffset:26.4;enable-background:new" + id="circle3057" + cx="168" + cy="187" + r="1" /> + <path + style="color:#000000;display:inline;fill:#000000;stroke-linecap:round;stroke-linejoin:round;-inkscape-stroke:none;enable-background:new" + d="m 167.00001,176 a 1,1 0 0 0 -1,1 v 2.38281 l -1.44727,0.72266 a 1,1 0 0 0 -0.44726,1.3418 1,1 0 0 0 1.3418,0.44726 l 2,-1 A 1.0001,1.0001 0 0 0 168.00001,180 v -3 a 1,1 0 0 0 -1,-1 z" + id="path3957" /> + </g> +</svg> diff --git a/src/ui/tasks_group.rs b/src/ui/tasks_group.rs index 86c20dc..564ecb0 100755 --- a/src/ui/tasks_group.rs +++ b/src/ui/tasks_group.rs @@ -60,7 +60,6 @@ glib::wrapper! { pub struct FurTasksGroup( ObjectSubclass<imp::FurTasksGroup>) @extends gtk::Widget, adw::PreferencesGroup; - } impl FurTasksGroup { diff --git a/src/ui/tasks_page.rs b/src/ui/tasks_page.rs index 23439eb..82819c7 100755 --- a/src/ui/tasks_page.rs +++ b/src/ui/tasks_page.rs @@ -143,11 +143,11 @@ impl FurTasksPage { for i in 0..uniq_date_list.len() { let group = FurTasksGroup::new(); if uniq_date_list[i] == today { - group.set_title(&gettext("Today")) + group.set_title(&gettext("Today")); } else if uniq_date_list[i] == yesterday{ - group.set_title(&gettext("Yesterday")) + group.set_title(&gettext("Yesterday")); } else { - group.set_title(&uniq_date_list[i]) + group.set_title(&uniq_date_list[i]); } self.add(&group); group.add_task_model(tasks_sorted_by_day[i].clone()); |