Update window-pin, Add more sizes, Remove redundant edit-delete

Summary:
16 and 22px sizes added for window-pin and unpin. Style was also updated for window-unpin.

edit-delete is redundant because it's already defined in edit.svg. I don't think it's used anywhere at all. It was actually window-close, but renamed to edit-delete for whatever reason.

Test Plan:
{F8195527, size=full}

1. Install patch to kdesrc-build environment
2. Run `plasmashell --replace &` in kdesrc-build environment
3. Check pin button in systray

Reviewers: #vdg, #plasma, cblack, ngraham

Reviewed By: #vdg, cblack, ngraham

Subscribers: cblack, kde-frameworks-devel

Tags: #frameworks

Differential Revision: https://phabricator.kde.org/D28228
This commit is contained in:
Noah Davis 2020-03-23 17:30:25 -04:00
parent 049978008b
commit f363a06ae6

View File

@ -1,190 +1,35 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:cc="http://creativecommons.org/ns#"
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
xmlns:svg="http://www.w3.org/2000/svg"
xmlns="http://www.w3.org/2000/svg"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
width="24"
height="16"
id="svg3869"
version="1.1"
viewBox="0 0 24 16"
inkscape:version="0.91 r13725"
sodipodi:docname="window.svgz">
<sodipodi:namedview
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1"
objecttolerance="10"
gridtolerance="10"
guidetolerance="10"
inkscape:pageopacity="0"
inkscape:pageshadow="2"
inkscape:window-width="1680"
inkscape:window-height="991"
id="namedview17"
showgrid="false"
inkscape:zoom="6.0625"
inkscape:cx="21.250496"
inkscape:cy="22.115119"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg3869" />
<metadata
id="metadata26">
<rdf:RDF>
<cc:Work
rdf:about="">
<dc:format>image/svg+xml</dc:format>
<dc:type
rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
<dc:title />
</cc:Work>
</rdf:RDF>
</metadata>
<defs
id="defs3871">
<style
type="text/css"
id="current-color-scheme">
.ColorScheme-Text {
color:#31363b;
}
.ColorScheme-Background {
color:#eff0f1;
}
.ColorScheme-Highlight {
color:#3daee9;
}
.ColorScheme-ViewText {
color:#31363b;
}
.ColorScheme-ViewBackground {
color:#fcfcfc;
}
.ColorScheme-ViewHover {
color:#93cee9;
}
.ColorScheme-ViewFocus{
color:#3daee9;
}
.ColorScheme-ButtonText {
color:#31363b;
}
.ColorScheme-ButtonBackground {
color:#eff0f1;
}
.ColorScheme-ButtonHover {
color:#93cee9;
}
.ColorScheme-ButtonFocus{
color:#3daee9;
}
.ColorScheme-NegativeText {
color:#da4453;
}
</style>
</defs>
<g
id="edit-delete"
transform="matrix(0.72727273,0,0,0.72727273,-237.09091,-388.62706)">
<rect
id="rect8"
style="opacity:1;fill:none"
width="22"
height="22"
x="326"
y="534.36218" />
<circle
r="0"
cy="-509.56235"
cx="277.5625"
id="circle16" />
<path
id="path12"
d="m 337,535.73721 a 9.6249993,9.6250096 0 0 0 -9.625,9.625 9.6249993,9.6250096 0 0 0 9.625,9.625 9.6249993,9.6250096 0 0 0 9.625,-9.625 9.6249993,9.6250096 0 0 0 -9.625,-9.625 z m -3.96186,4.8125 3.96186,3.96186 3.96186,-3.96186 0.85065,0.85064 -3.96187,3.96186 3.96187,3.96186 -0.85065,0.85064 -3.96186,-3.96186 -3.96186,3.96186 -0.85063,-0.85064 3.96185,-3.96186 -3.96185,-3.96186 0.85063,-0.85064 z"
style="fill:currentColor;fill-opacity:1;stroke:none"
class="ColorScheme-NegativeText" />
<path
style="fill:#ffffff;fill-opacity:0.71176469;stroke:none"
d="M 5.1191406 4.5 L 4.5 5.1191406 L 7.3808594 8 L 4.5 10.880859 L 5.1191406 11.5 L 8 8.6191406 L 10.880859 11.5 L 11.5 10.880859 L 8.6191406 8 L 11.5 5.1191406 L 10.880859 4.5 L 8 7.3808594 L 5.1191406 4.5 z "
transform="matrix(1.375,0,0,1.375,326,534.36221)"
id="rect4145" />
</g>
<g
transform="translate(62,-36)"
id="window-pin">
<rect
id="rect15"
width="8"
height="8"
x="-46"
y="44"
style="opacity:1;fill:none" />
<path
id="path17"
d="m -41,44 c -0.389252,0.389252 -0.468353,1.084344 -0.01563,1.84375 l -2.125,1.421875 c -0.264203,-0.106604 -0.547797,-0.186091 -0.828125,-0.1875 C -44.33313,47.076275 -44.6875,47.1875 -45,47.5 l 1.5,1.5 -2,2 -0.5,1 1,-0.5 2,-2 1.5,1.5 c 0.553482,-0.553482 0.482374,-1.253884 0.234375,-1.859375 l 1.421875,-2.125 C -39.084344,47.468353 -38.389252,47.389252 -38,47 Z"
style="fill:currentColor;fill-opacity:1;stroke:none"
class="ColorScheme-Text" />
</g>
<g
transform="translate(82,-44)"
id="window-unpin">
<path
id="path20"
d="m -61,44 c -0.389252,0.389252 -0.468353,1.084344 -0.01563,1.84375 l -2.125,1.421875 c -0.264203,-0.106604 -0.547797,-0.186091 -0.828125,-0.1875 C -64.33313,47.076275 -64.6875,47.1875 -65,47.5 l 1.5,1.5 -2,2 -0.5,1 1,-0.5 2,-2 1.5,1.5 c 0.553482,-0.553482 0.482374,-1.253884 0.234375,-1.859375 l 1.421875,-2.125 C -59.084344,47.468353 -58.389252,47.389252 -58,47 Z"
style="fill:currentColor;fill-opacity:1;stroke:none"
class="ColorScheme-ButtonFocus" />
<rect
id="rect22"
width="8"
height="8"
x="-66"
y="44"
style="opacity:1;fill:none" />
</g>
<g
transform="translate(-292,-542.36218)"
id="window-list">
<rect
ry="0"
y="561.36218"
x="286"
height="32"
width="32"
id="rect3004"
style="opacity:0;fill:#333333;fill-opacity:1;stroke:none" />
<path
id="rect3008"
transform="translate(326,534.3622)"
d="m -36,31 0,10 10,0 0,-10 -10,0 z m 1,1 8,0 0,8 -8,0 0,-8 z"
style="fill:currentColor"
class="ColorScheme-Text"
inkscape:connector-curvature="0" />
<path
id="rect3010"
transform="translate(326,534.3622)"
d="m -22,31 0,10 10,0 0,-10 -10,0 z m 1,1 8,0 0,8 -8,0 0,-8 z"
style="fill:currentColor"
class="ColorScheme-Text"
inkscape:connector-curvature="0" />
<path
id="rect3012"
transform="translate(326,534.3622)"
d="m -36,45 0,10 10,0 0,-10 -10,0 z m 1,1 8,0 0,8 -8,0 0,-8 z"
style="fill:currentColor"
class="ColorScheme-Text"
inkscape:connector-curvature="0" />
<path
id="rect3014"
transform="translate(326,534.3622)"
d="m -22,45 0,10 10,0 0,-10 -10,0 z m 1,1 8,0 0,8 -8,0 0,-8 z"
style="fill:currentColor"
class="ColorScheme-Text"
inkscape:connector-curvature="0" />
</g>
<svg id="window" viewBox="0 0 32 16" xmlns="http://www.w3.org/2000/svg">
<style id="current-color-scheme" type="text/css">
.ColorScheme-Text {
color:#232629;
}
.ColorScheme-ButtonFocus{
color:#3daee9;
}
</style>
<g id="window-list" transform="translate(-286 -545.36218)">
<path id="rect3004" d="m286 561.36218h32v32h-32z" fill="#333" opacity="0"/>
<path id="rect3008" d="m290 565.3622v10h10v-10zm1 1h8v8h-8z" class="ColorScheme-Text" fill="currentColor"/>
<path id="rect3010" d="m304 565.3622v10h10v-10zm1 1h8v8h-8z" class="ColorScheme-Text" fill="currentColor"/>
<path id="rect3012" d="m290 579.3622v10h10v-10zm1 1h8v8h-8z" class="ColorScheme-Text" fill="currentColor"/>
<path id="rect3014" d="m304 579.3622v10h10v-10zm1 1h8v8h-8z" class="ColorScheme-Text" fill="currentColor"/>
</g>
<g id="16-16-window-pin">
<path id="rect847" d="m0 0h16v16h-16z" fill="none"/>
<path id="path3" d="m10.5 1.7929688-.7070312.7070312.2070312.792969-3.3378906 3.3378904c-.8269469-.4124884-1.7379981-.6283868-2.6621094-.6308594l-.3535156.3535156 2.6464844 2.6464844-3.2929688 3.292969v.707031h.7070312l3.2929688-3.2929688 2.6464844 2.6464848.3535156-.353516c-.0024726-.924111-.218371-1.835162-.6308594-2.6621094l3.3378904-3.3378906.792969.2070312.707031-.7070312z" class="ColorScheme-Text" fill="currentColor"/>
</g>
<g id="window-pin" transform="translate(-22 -6)">
<path id="path1140" d="m14.5 2.7929688-.707031.7070312.5 1.5-4.705078 4.7050781c-.8903965-.4611937-1.8781133-.7029331-2.88086-.7050781h-.707031l-.353516.3535156 3.146485 3.1464844-5.792969 5.792969v.707031h.707031l5.792969-5.792969 3.146484 3.146485.353516-.353516v-.707031c-.0021-1.002747-.243884-1.990463-.705078-2.88086l4.705078-4.7050778 1.5.5.707031-.7070312z" class="ColorScheme-Text" fill="currentColor" stroke-linecap="square" stroke-miterlimit="0"/>
<path id="rect838" d="m0 0h22v22h-22z" fill="none"/>
</g>
<g id="16-16-window-unpin" transform="translate(16)">
<path id="rect847-9" d="m0 0h16v16h-16z" fill="none"/>
<path id="path3-3" d="m10.5 1.7929688-.7070312.7070312.2070312.792969-3.3378906 3.3378904c-.8269469-.4124884-1.7379981-.6283868-2.6621094-.6308594l-.3535156.3535156 2.6464844 2.6464844-3.2929688 3.292969v.707031h.7070312l3.2929688-3.2929688 2.6464844 2.6464848.3535156-.353516c-.0024726-.924111-.218371-1.835162-.6308594-2.6621094l3.3378904-3.3378906.792969.2070312.707031-.7070312z" class="ColorScheme-ButtonFocus" fill="currentColor"/>
</g>
<g id="window-unpin" transform="translate(32 -6)">
<path id="path1140-0" d="m14.5 2.7929688-.707031.7070312.5 1.5-4.705078 4.7050781c-.8903965-.4611937-1.8781133-.7029331-2.88086-.7050781h-.707031l-.353516.3535156 3.146485 3.1464844-5.792969 5.792969v.707031h.707031l5.792969-5.792969 3.146484 3.146485.353516-.353516v-.707031c-.0021-1.002747-.243884-1.990463-.705078-2.88086l4.705078-4.7050778 1.5.5.707031-.7070312z" class="ColorScheme-ButtonFocus" fill="currentColor" stroke-linecap="square" stroke-miterlimit="0"/>
<path id="rect838-6" d="m0 0h22v22h-22z" fill="none"/>
</g>
<path id="8-8-window-pin" d="m5.292969-8-.292969.2929688.292969.7070312-2 2-1.5859378-1-.7070312.7070312 1.292969 1.2929688.5.5-2.792969 2.7929688v.7070312h.7070312l2.7929688-2.7929688.5.5 1.292969 1.2929688.707031-.7070312-1-1.5859376 2-2 .707031.2929688.292969-.2929688v-.4140624l-2.292969-2.2929688z" class="ColorScheme-Text" fill="currentColor" stroke-miterlimit="0"/>
<path id="8-8-window-unpin" d="m24.292969-8-.292969.2929688.292969.7070312-2 2-1.585938-1-.707031.7070312 1.292969 1.2929688.5.5-2.792969 2.7929688v.7070312h.707031l2.792969-2.7929688.5.5 1.292969 1.2929688.707031-.7070312-1-1.5859376 2-2 .707031.2929688.292969-.2929688v-.4140624l-2.292969-2.2929688z" class="ColorScheme-ButtonFocus" fill="currentColor" stroke-miterlimit="0"/>
</svg>

Before

Width:  |  Height:  |  Size: 6.1 KiB

After

Width:  |  Height:  |  Size: 3.9 KiB