master #44

Merged
asmeron merged 8 commits from YanTheKaller/libublsettingsui-gtk3:master into master 6 months ago

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 576 512"
version="1.1"
id="svg1"
sodipodi:docname="com.ublinux.libublsettingsui-gtk3.down-symbolic.svg"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.6113281"
inkscape:cx="288.27152"
inkscape:cy="256"
inkscape:window-width="1920"
inkscape:window-height="1023"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. -->
<path
d="m 311.61762,469.6 c -6.1,6.6 -14.6,10.4 -23.6,10.4 -9,0 -17.5,-3.8 -23.6,-10.4 l -88,-96 c -11.9,-13 -11.1,-33.3 2,-45.2 13.1,-11.9 33.3,-11.1 45.2,2 l 32.4,35.3 V 64 c 0,-17.7 14.3,-32 32,-32 17.7,0 32,14.3 32,32 v 301.7 l 32.4,-35.4 c 11.9,-13 32.2,-13.9 45.2,-2 13,11.9 13.9,32.2 2,45.2 l -88,96 z"
id="path1"
sodipodi:nodetypes="csccsccsssccsccc" />
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -0,0 +1,55 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 512 512"
version="1.1"
id="svg1"
sodipodi:docname="com.ublinux.libublsettingsui-gtk3.pause-symbolic.svg"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="0.83789063"
inkscape:cx="384.8951"
inkscape:cy="244.662"
inkscape:window-width="1920"
inkscape:window-height="1056"
inkscape:window-x="1920"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. -->
<path
d="M 464,256 C 464,141.12469 370.87523,48.00009 256,48.00009 141.12477,48.00009 48,141.12469 48,256 c 0,114.87531 93.12477,207.99991 208,207.99991 114.87523,0 208,-93.1246 208,-207.99991 z M 0,256 C 0,114.61501 114.61511,1.1113408e-4 256,1.1113408e-4 397.38489,1.1113408e-4 512,114.61501 512,256 512,397.38499 397.38489,511.99989 256,511.99989 114.61511,511.99989 0,397.38499 0,256 Z"
id="path1"
sodipodi:nodetypes="ssssssssss" />
<g
id="g1"
transform="translate(0.78059769)">
<rect
style="fill:#000000"
id="rect1"
width="75.465614"
height="264.98434"
x="152.96095"
y="123.50783" />
<rect
style="fill:#000000"
id="rect1-5"
width="75.465614"
height="264.98434"
x="282.01224"
y="123.50783" />
</g>
</svg>

After

Width:  |  Height:  |  Size: 2.0 KiB

@ -0,0 +1,37 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg
viewBox="0 0 576 512"
version="1.1"
id="svg1"
sodipodi:docname="com.ublinux.libublsettingsui-gtk3.up-symbolic.svg"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg">
<defs
id="defs1" />
<sodipodi:namedview
id="namedview1"
pagecolor="#ffffff"
bordercolor="#666666"
borderopacity="1.0"
inkscape:showpageshadow="2"
inkscape:pageopacity="0.0"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1"
inkscape:zoom="1.6113281"
inkscape:cx="288.27152"
inkscape:cy="256"
inkscape:window-width="1920"
inkscape:window-height="1023"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:window-maximized="1"
inkscape:current-layer="svg1" />
<!--! Font Awesome Free 6.4.2 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license/free (Icons: CC BY 4.0, Fonts: SIL OFL 1.1, Code: MIT License) Copyright 2023 Fonticons, Inc. -->
<path
d="m 311.61762,42.4 c -6.1,-6.6 -14.6,-10.4 -23.6,-10.4 -9,0 -17.5,3.8 -23.6,10.4 l -88,96 c -11.9,13 -11.1,33.3 2,45.2 13.1,11.9 33.3,11.1 45.2,-2 l 32.4,-35.3 V 448 c 0,17.7 14.3,32 32,32 17.7,0 32,-14.3 32,-32 V 146.3 l 32.4,35.4 c 11.9,13 32.2,13.9 45.2,2 13,-11.9 13.9,-32.2 2,-45.2 l -88,-96 z"
id="path1"
sodipodi:nodetypes="csccsccsssccsccc" />
</svg>

After

Width:  |  Height:  |  Size: 1.6 KiB

@ -0,0 +1,152 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<svg
sodipodi:docname="com.ublinux.libublsettingsui-gtk3.check-attention-symbolic.svg"
inkscape:export-filename="/home/sam/dev/RESOURCES/gnome-icon-theme-symbolic/src/gnome-stencils.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
height="16"
id="svg7384"
version="1.1"
inkscape:version="1.3.2 (091e20ef0f, 2023-11-25, custom)"
width="16"
xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
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/">
<metadata
id="metadata90">
<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>Gnome Symbolic Icon Theme</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
inkscape:bbox-nodes="false"
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer9"
inkscape:cx="18.0625"
inkscape:cy="10.9375"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="false"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#3a3b39"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="false"
showgrid="false"
showguides="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="true"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="1023"
inkscape:window-maximized="1"
inkscape:window-width="1920"
inkscape:window-x="0"
inkscape:window-y="0"
inkscape:zoom="8"
inkscape:showpageshadow="2"
inkscape:pagecheckerboard="0"
inkscape:deskcolor="#d1d1d1">
<inkscape:grid
dotted="false"
empspacing="2"
enabled="true"
id="grid4866"
originx="-159.99995px"
originy="100px"
snapvisiblegridlinesonly="true"
spacingx="1px"
spacingy="1px"
type="xygrid"
visible="false"
units="px" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386" />
<g
inkscape:groupmode="layer"
id="layer9"
inkscape:label="status"
style="display:inline"
transform="translate(-401.00015,-317)">
<path
inkscape:connector-curvature="0"
d="m 404.4375,318 c -1.37299,0 -2.5,1.1012 -2.5,2.46875 l 0,9.0625 c 0,1.36755 1.12701,2.46875 2.5,2.46875 l 9.125,0 c 1.37299,0 2.5,-1.1012 2.5,-2.46875 l 0,-9.0625 c 0,-1.36755 -1.12701,-2.46875 -2.5,-2.46875 l -9.125,0 z m 0,1 9.125,0 c 0.84376,0 1.5,0.64066 1.5,1.46875 l 0,9.0625 c 0,0.82809 -0.65624,1.46875 -1.5,1.46875 l -9.125,0 c -0.84376,0 -1.5,-0.64066 -1.5,-1.46875 l 0,-9.0625 c 0,-0.82809 0.65624,-1.46875 1.5,-1.46875 z"
id="rect9618"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.99556434;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" />
<path
id="path3620"
style="display:inline;fill:#b3b3b3;fill-opacity:1;stroke:none;stroke-width:1.31962"
class="warning"
d="m 409.00015,319.0617 c -0.73107,0 -1.31962,0.58855 -1.31962,1.31962 v 5.27849 c 0,0.73107 0.58855,1.31962 1.31962,1.31962 0.73107,0 1.31963,-0.58855 1.31963,-1.31962 v -5.27849 c 0,-0.73107 -0.58855,-1.31962 -1.31963,-1.31962 z m 0,9.23735 c -0.7288,0 -1.31962,0.59083 -1.31962,1.31963 0,0.72881 0.59082,1.31962 1.31962,1.31962 0.72882,0 1.31963,-0.59081 1.31963,-1.31962 0,-0.7288 -0.5908,-1.31963 -1.31963,-1.31963 z"
sodipodi:nodetypes="ssssssssssss" />
</g>
<g
inkscape:groupmode="layer"
id="layer10"
inkscape:label="devices"
style="display:inline"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="layer11"
inkscape:label="apps"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="layer13"
inkscape:label="places"
style="display:inline"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="layer14"
inkscape:label="mimetypes"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="layer15"
inkscape:label="emblems"
style="display:inline"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="g71291"
inkscape:label="emotes"
style="display:inline"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="g4953"
inkscape:label="categories"
style="display:inline"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="layer12"
inkscape:label="actions"
style="display:inline"
transform="translate(-401.00015,-317)" />
</svg>

After

Width:  |  Height:  |  Size: 5.7 KiB

@ -0,0 +1,148 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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"
sodipodi:docname="checkbox-checked-symbolic.svg"
inkscape:export-filename="/home/sam/dev/RESOURCES/gnome-icon-theme-symbolic/src/gnome-stencils.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
height="16"
id="svg7384"
version="1.1"
inkscape:version="0.91 r13725"
width="16">
<metadata
id="metadata90">
<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>Gnome Symbolic Icon Theme</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
inkscape:bbox-nodes="false"
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer9"
inkscape:cx="6.52031"
inkscape:cy="7.7686"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="false"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#3a3b39"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="false"
showgrid="false"
showguides="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="true"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="1375"
inkscape:window-maximized="1"
inkscape:window-width="2560"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:zoom="1">
<inkscape:grid
dotted="false"
empspacing="2"
enabled="true"
id="grid4866"
originx="-159.99995px"
originy="120px"
snapvisiblegridlinesonly="true"
spacingx="1px"
spacingy="1px"
type="xygrid"
visible="true" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386" />
<g
inkscape:groupmode="layer"
id="layer9"
inkscape:label="status"
style="display:inline"
transform="translate(-401.00015,-337)">
<path
inkscape:connector-curvature="0"
d="M 404.46875,338 C 403.10458,338 402,339.10458 402,340.46875 l 0,9.0625 c 0,1.36417 1.10458,2.46875 2.46875,2.46875 l 9.0625,0 C 414.89542,352 416,350.89542 416,349.53125 l 0,-9.0625 C 416,339.10458 414.89542,338 413.53125,338 l -9.0625,0 z m 0,1 9.0625,0 c 0.83222,0 1.46875,0.63653 1.46875,1.46875 l 0,9.0625 C 415,350.36347 414.36347,351 413.53125,351 l -9.0625,0 C 403.63653,351 403,350.36347 403,349.53125 l 0,-9.0625 C 403,339.63653 403.63653,339 404.46875,339 z"
id="rect9618-8"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.99115032;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" />
<path
inkscape:connector-curvature="0"
d="m 415.17698,339.82322 -5.67683,5.55178 -1.9375,-1.9375 -2.125,2.125 3,3 1.0625,1.0625 1.0625,-1.0625 4.61433,-4.73928 z"
id="path8913-6-7-1-5-1"
sodipodi:nodetypes="ccccccccc"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:3;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" />
</g>
<g
inkscape:groupmode="layer"
id="layer10"
inkscape:label="devices"
style="display:inline"
transform="translate(-401.00015,-337)" />
<g
inkscape:groupmode="layer"
id="layer11"
inkscape:label="apps"
transform="translate(-401.00015,-337)" />
<g
inkscape:groupmode="layer"
id="layer13"
inkscape:label="places"
style="display:inline"
transform="translate(-401.00015,-337)" />
<g
inkscape:groupmode="layer"
id="layer14"
inkscape:label="mimetypes"
transform="translate(-401.00015,-337)" />
<g
inkscape:groupmode="layer"
id="layer15"
inkscape:label="emblems"
style="display:inline"
transform="translate(-401.00015,-337)" />
<g
inkscape:groupmode="layer"
id="g71291"
inkscape:label="emotes"
style="display:inline"
transform="translate(-401.00015,-337)" />
<g
inkscape:groupmode="layer"
id="g4953"
inkscape:label="categories"
style="display:inline"
transform="translate(-401.00015,-337)" />
<g
inkscape:groupmode="layer"
id="layer12"
inkscape:label="actions"
style="display:inline"
transform="translate(-401.00015,-337)" />
</svg>

After

Width:  |  Height:  |  Size: 5.7 KiB

@ -0,0 +1,142 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->
<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"
sodipodi:docname="checkbox-symbolic.svg"
inkscape:export-filename="/home/sam/dev/RESOURCES/gnome-icon-theme-symbolic/src/gnome-stencils.png"
inkscape:export-xdpi="90"
inkscape:export-ydpi="90"
height="16"
id="svg7384"
version="1.1"
inkscape:version="0.91 r13725"
width="16">
<metadata
id="metadata90">
<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>Gnome Symbolic Icon Theme</dc:title>
</cc:Work>
</rdf:RDF>
</metadata>
<sodipodi:namedview
inkscape:bbox-nodes="false"
inkscape:bbox-paths="true"
bordercolor="#666666"
borderopacity="1"
inkscape:current-layer="layer9"
inkscape:cx="6.52031"
inkscape:cy="-12.2314"
gridtolerance="10"
inkscape:guide-bbox="true"
guidetolerance="10"
id="namedview88"
inkscape:object-nodes="false"
inkscape:object-paths="false"
objecttolerance="10"
pagecolor="#3a3b39"
inkscape:pageopacity="1"
inkscape:pageshadow="2"
showborder="false"
showgrid="false"
showguides="true"
inkscape:snap-bbox="true"
inkscape:snap-bbox-midpoints="false"
inkscape:snap-global="true"
inkscape:snap-grids="true"
inkscape:snap-nodes="true"
inkscape:snap-others="false"
inkscape:snap-to-guides="true"
inkscape:window-height="1375"
inkscape:window-maximized="1"
inkscape:window-width="2560"
inkscape:window-x="0"
inkscape:window-y="27"
inkscape:zoom="1">
<inkscape:grid
dotted="false"
empspacing="2"
enabled="true"
id="grid4866"
originx="-159.99995px"
originy="100px"
snapvisiblegridlinesonly="true"
spacingx="1px"
spacingy="1px"
type="xygrid"
visible="true" />
</sodipodi:namedview>
<title
id="title9167">Gnome Symbolic Icon Theme</title>
<defs
id="defs7386" />
<g
inkscape:groupmode="layer"
id="layer9"
inkscape:label="status"
style="display:inline"
transform="translate(-401.00015,-317)">
<path
inkscape:connector-curvature="0"
d="m 404.4375,318 c -1.37299,0 -2.5,1.1012 -2.5,2.46875 l 0,9.0625 c 0,1.36755 1.12701,2.46875 2.5,2.46875 l 9.125,0 c 1.37299,0 2.5,-1.1012 2.5,-2.46875 l 0,-9.0625 c 0,-1.36755 -1.12701,-2.46875 -2.5,-2.46875 l -9.125,0 z m 0,1 9.125,0 c 0.84376,0 1.5,0.64066 1.5,1.46875 l 0,9.0625 c 0,0.82809 -0.65624,1.46875 -1.5,1.46875 l -9.125,0 c -0.84376,0 -1.5,-0.64066 -1.5,-1.46875 l 0,-9.0625 c 0,-0.82809 0.65624,-1.46875 1.5,-1.46875 z"
id="rect9618"
style="font-size:medium;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-indent:0;text-align:start;text-decoration:none;line-height:normal;letter-spacing:normal;word-spacing:normal;text-transform:none;direction:ltr;block-progression:tb;writing-mode:lr-tb;text-anchor:start;baseline-shift:baseline;color:#000000;fill:#bebebe;fill-opacity:1;stroke:none;stroke-width:0.99556434;marker:none;visibility:visible;display:inline;overflow:visible;enable-background:accumulate;font-family:Sans;-inkscape-font-specification:Sans" />
</g>
<g
inkscape:groupmode="layer"
id="layer10"
inkscape:label="devices"
style="display:inline"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="layer11"
inkscape:label="apps"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="layer13"
inkscape:label="places"
style="display:inline"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="layer14"
inkscape:label="mimetypes"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="layer15"
inkscape:label="emblems"
style="display:inline"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="g71291"
inkscape:label="emotes"
style="display:inline"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="g4953"
inkscape:label="categories"
style="display:inline"
transform="translate(-401.00015,-317)" />
<g
inkscape:groupmode="layer"
id="layer12"
inkscape:label="actions"
style="display:inline"
transform="translate(-401.00015,-317)" />
</svg>

After

Width:  |  Height:  |  Size: 4.9 KiB

@ -174,7 +174,6 @@
<object class="GtkHeaderBar" id="SettingsBar"> <object class="GtkHeaderBar" id="SettingsBar">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">False</property> <property name="can-focus">False</property>
<property name="show-close-button">True</property>
<child type="title"> <child type="title">
<object class="GtkLabel" id="HeadLabel"> <object class="GtkLabel" id="HeadLabel">
<property name="visible">True</property> <property name="visible">True</property>

@ -282,7 +282,7 @@
<property name="spacing">5</property> <property name="spacing">5</property>
<child> <child>
<object class="GtkButton" id="DisableButton"> <object class="GtkButton" id="DisableButton">
<property name="label" translatable="yes">Disable</property> <property name="label" translatable="yes">Disable autolaunch</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>
@ -297,7 +297,7 @@
</child> </child>
<child> <child>
<object class="GtkButton" id="EnableButton"> <object class="GtkButton" id="EnableButton">
<property name="label" translatable="yes">Enable</property> <property name="label" translatable="yes">Enable autolaunch</property>
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<property name="receives-default">True</property> <property name="receives-default">True</property>

@ -352,11 +352,11 @@ msgid "Restart"
msgstr "" msgstr ""
#: source/libublsettingsui-gtk3.h:486 #: source/libublsettingsui-gtk3.h:486
msgid "Enable" msgid "Enable autolaunch"
msgstr "" msgstr ""
#: source/libublsettingsui-gtk3.h:487 #: source/libublsettingsui-gtk3.h:487
msgid "Disable" msgid "Disable autolaunch"
msgstr "" msgstr ""
#: source/libublsettingsui-gtk3.h:489 #: source/libublsettingsui-gtk3.h:489

@ -359,17 +359,17 @@ msgid "Restart"
msgstr "Перезапустить" msgstr "Перезапустить"
#: source/libublsettingsui-gtk3.h:486 #: source/libublsettingsui-gtk3.h:486
msgid "Enable" msgid "Enable autolaunch"
msgstr "Включить автозапуск" msgstr "Включить автозапуск"
#: source/libublsettingsui-gtk3.h:487 #: source/libublsettingsui-gtk3.h:487
msgid "Disable" msgid "Disable autolaunch"
msgstr "Отключить" msgstr "Отключить автозапуск"
#: source/libublsettingsui-gtk3.h:489 #: source/libublsettingsui-gtk3.h:489
#, c-format #, c-format
msgid "\"%s\" service configuration" msgid "\"%s\" service configuration"
msgstr "Управление сервисом \"%s\"" msgstr "Управление службой \"%s\""
#: source/libublsettingsui-gtk3.h:490 #: source/libublsettingsui-gtk3.h:490
#, c-format #, c-format

@ -77,7 +77,6 @@ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -pedantic -Wall -Wextra -Werror -Wmissin
-Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \ -Wp,-D_FORTIFY_SOURCE=2 -Wformat -Werror=format-security \
-fstack-clash-protection -fcf-protection") -fstack-clash-protection -fcf-protection")
add_library(${PROJECT_NAME} SHARED add_library(${PROJECT_NAME} SHARED
libublsettingsui-gtk3.c libublsettingsui-gtk3.c
libublsettingsui-gtk3-save.c libublsettingsui-gtk3-save.c

@ -61,15 +61,18 @@ int yon_app_chooser_convert_apps(yon_app_chooser_window *window){
window->apps_convert = NULL; window->apps_convert = NULL;
for (int i=0;i<window->apps_size;i++){ for (int i=0;i<window->apps_size;i++){
if (g_key_file_load_from_file(file,window->apps[i],G_KEY_FILE_KEEP_TRANSLATIONS,NULL)){ if (g_key_file_load_from_file(file,window->apps[i],G_KEY_FILE_KEEP_TRANSLATIONS,NULL)){
char *exec_temp = yon_char_new(window->apps[i]);
free(yon_char_divide(exec_temp,yon_char_find_last(exec_temp,'/')));
struct application *app = new(struct application); struct application *app = new(struct application);
memset(app,0,sizeof(struct application)); memset(app,0,sizeof(struct application));
app->name = g_key_file_get_locale_string(file,"Desktop Entry","Name",setlocale(LC_ALL,NULL),NULL); app->name = g_key_file_get_locale_string(file,"Desktop Entry","Name",setlocale(LC_ALL,NULL),NULL);
app->description = g_key_file_get_locale_string(file,"[Desktop Entry","Comment",setlocale(LC_ALL,NULL),NULL); app->description = g_key_file_get_locale_string(file,"[Desktop Entry","Comment",setlocale(LC_ALL,NULL),NULL);
app->tags = g_key_file_get_string(file,"Desktop Entry","Categories",NULL); app->tags = g_key_file_get_string(file,"Desktop Entry","Categories",NULL);
app->execute = g_key_file_get_string(file,"Desktop Entry","Exec",NULL); app->execute = yon_char_divide(exec_temp,yon_char_find_last(exec_temp,'.'));
app->icon = g_key_file_get_string(file,"Desktop Entry","Icon",NULL); app->icon = g_key_file_get_string(file,"Desktop Entry","Icon",NULL);
app->path = yon_char_new(window->apps[i]); app->path = yon_char_new(window->apps[i]);
yon_dictionary_add_or_create_if_exists_with_data(window->apps_convert,app->name,app); yon_dictionary_add_or_create_if_exists_with_data(window->apps_convert,app->name,app);
free(exec_temp);
} }
} }
if (window->apps_convert) return 1; else return 0; if (window->apps_convert) return 1; else return 0;
@ -137,7 +140,7 @@ void on_app_chooser_accept(GtkWidget *, yon_app_chooser_window *window){
for_iter(model,&iter){ for_iter(model,&iter){
int status; int status;
char *name; char *name;
gtk_tree_model_get(GTK_TREE_MODEL(window->treestore),&iter,0,&status,1,&name,-1); gtk_tree_model_get(GTK_TREE_MODEL(window->treestore),&iter,0,&status,6,&name,-1);
if (status){ if (status){
yon_char_parsed_add_or_create_if_exists(window->final->chosen_apps,&window->final->size,name); yon_char_parsed_add_or_create_if_exists(window->final->chosen_apps,&window->final->size,name);
} }
@ -152,6 +155,19 @@ void on_app_chooser_accept(GtkWidget *, yon_app_chooser_window *window){
gtk_widget_destroy(window->MainWindow); gtk_widget_destroy(window->MainWindow);
} }
int yon_app_chooser_window_select(yon_app_chooser_window *window,config_str selection,int size){
GtkTreeIter iter;
for(int i=0;i<size;i++){
for_iter(GTK_TREE_MODEL(window->treestore),&iter){
char *target;
gtk_tree_model_get(GTK_TREE_MODEL(window->treestore),&iter,6,&target,-1);
if (!yon_char_is_empty(target)&&!yon_char_is_empty(selection[i])&&!strcmp(target,selection[i])){
gtk_tree_store_set(window->treestore,&iter,0,1,-1);
}
}
}
}
yon_app_chooser_window *yon_app_chooser_window_new(int multiple_choise){ yon_app_chooser_window *yon_app_chooser_window_new(int multiple_choise){
yon_app_chooser_window *window = new(yon_app_chooser_window); yon_app_chooser_window *window = new(yon_app_chooser_window);
GtkBuilder *builder = gtk_builder_new_from_resource(ui_glade_path_app_chooser); GtkBuilder *builder = gtk_builder_new_from_resource(ui_glade_path_app_chooser);

@ -106,9 +106,21 @@ config_str yon_loaded_config_convert_to_save_command(struct loaded_config *targe
} else { } else {
parameters_for_current_command = yon_char_unite(current->key,"=\'",(char*)current->data,"\'",NULL); parameters_for_current_command = yon_char_unite(current->key,"=\'",(char*)current->data,"\'",NULL);
} }
dictionary *sections_dict = (dictionary*)sections; dictionary *sections_dict = NULL;
yon_dictionary_add_or_create_if_exists_with_data(sections_dict,current->section,parameters_for_current_command); if (sections) sections_dict = yon_dictionary_get_last((dictionary*)sections);
sections = realloc(sections_dict,sizeof(struct yon_temp_command_sections)); sections = malloc(sizeof(struct yon_temp_command_sections));
sections->data=parameters_for_current_command;
sections->first=sections;
sections->key=yon_char_new(current->section);
sections->next=NULL;
sections->prev=NULL;
sections->status=0;
if (sections_dict){
sections_dict->next = (dictionary*)sections;
sections->prev=(struct yon_temp_command_sections*)sections_dict;
sections->first=(struct yon_temp_command_sections*)sections_dict->first;
}
// yon_dictionary_add_or_create_if_exists_with_data(sections_dict,current->section,parameters_for_current_command);
sections->status=yon_config_get_status(current->key); sections->status=yon_config_get_status(current->key);
} }

@ -105,7 +105,7 @@ void yon_ubl_settings_window_set_standard_callbacks(template_main_window *widget
} }
if (!yon_char_is_empty(get_global_command)){ if (!yon_char_is_empty(get_global_command)){
g_signal_connect(G_OBJECT(widgets->LoadCustomMenuItem),"activate",G_CALLBACK(__on_config_custom_load),NULL); g_signal_connect(G_OBJECT(widgets->LoadCustomMenuItem),"activate",G_CALLBACK(__on_config_custom_load),NULL);
g_signal_connect(G_OBJECT(widgets->SaveCustomMenuItem),"activate",G_CALLBACK(__on_config_custom_load),NULL); g_signal_connect(G_OBJECT(widgets->SaveCustomMenuItem),"activate",G_CALLBACK(__on_config_custom_save),NULL);
config_get_custom_command = yon_char_new(get_custom_command); config_get_custom_command = yon_char_new(get_custom_command);
config_set_custom_command = yon_char_replace_single(get_custom_command,"get","set"); config_set_custom_command = yon_char_replace_single(get_custom_command,"get","set");
} }

@ -527,7 +527,7 @@ void __yon_config_init(){
template_config->lock_load_global=0; template_config->lock_load_global=0;
template_config->lock_save_global=0; template_config->lock_save_global=0;
template_config->lock_save_local=0; template_config->lock_save_local=0;
template_config->load_mode=1; template_config->load_mode=YON_CONFIG_LOCAL;
} }
template_main_window *yon_ubl_window_setup(){ template_main_window *yon_ubl_window_setup(){
@ -543,7 +543,7 @@ template_main_window *yon_ubl_window_setup(){
yon_ubl_status_box_render(LOCAL_LOAD_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE); yon_ubl_status_box_render(LOCAL_LOAD_SUCCESS_LABEL,BACKGROUND_IMAGE_SUCCESS_TYPE);
} }
textdomain(template_app_information.app_locale); textdomain(template_app_information.app_locale);
template_config->load_mode=1; template_config->load_mode=YON_CONFIG_LOCAL;
if(template_config) if(template_config)
yon_ubl_setup_sockets(widgets->PlugBox,widgets->LeftBox,widgets->RightBox,template_config->socket_id,template_config->load_socket_id,template_config->save_socket_id); yon_ubl_setup_sockets(widgets->PlugBox,widgets->LeftBox,widgets->RightBox,template_config->socket_id,template_config->load_socket_id,template_config->save_socket_id);
yon_window_config_setup(GTK_WINDOW(widgets->Window)); yon_window_config_setup(GTK_WINDOW(widgets->Window));

@ -384,6 +384,7 @@ service_window *yon_service_window_new(char *name, char *start_command,
char *check_active_command, char *check_enable_command); char *check_active_command, char *check_enable_command);
void yon_service_window_run(service_window *window); void yon_service_window_run(service_window *window);
int yon_app_chooser_window_select(yon_app_chooser_window *window,config_str selection,int size);
config_str yon_app_chooser_window_run(yon_app_chooser_window *window, int *size); config_str yon_app_chooser_window_run(yon_app_chooser_window *window, int *size);
yon_app_chooser_window *yon_app_chooser_window_new(int multiple_choise); yon_app_chooser_window *yon_app_chooser_window_new(int multiple_choise);
@ -497,8 +498,9 @@ yon_app_chooser_window *yon_app_chooser_window_new(int multiple_choise);
#define _SERVICE_START_BUTTON_LABEL _("Start") #define _SERVICE_START_BUTTON_LABEL _("Start")
#define _SERVICE_STOP_BUTTON_LABEL _("Stop") #define _SERVICE_STOP_BUTTON_LABEL _("Stop")
#define _SERVICE_RESTART_BUTTON_LABEL _("Restart") #define _SERVICE_RESTART_BUTTON_LABEL _("Restart")
#define _SERVICE_ENABLE_BUTTON_LABEL _("Enable")
#define _SERVICE_DISABLE_BUTTON_LABEL _("Disable") #define _SERVICE_ENABLE_BUTTON_LABEL _("Enable autolaunch")
#define _SERVICE_DISABLE_BUTTON_LABEL _("Disable autolaunch")
#define _SERVICE_HEAD_LABEL(target) g_strdup_printf(yon_char_get_localised_from_lib(_("\"%s\" service configuration")), target) #define _SERVICE_HEAD_LABEL(target) g_strdup_printf(yon_char_get_localised_from_lib(_("\"%s\" service configuration")), target)
#define _SERVICE_TITLE_LABEL(target) g_strdup_printf(yon_char_get_localised_from_lib(_("\"%s\" service:")), target) #define _SERVICE_TITLE_LABEL(target) g_strdup_printf(yon_char_get_localised_from_lib(_("\"%s\" service:")), target)

Loading…
Cancel
Save