Fixed bug, caused crash when trying to launch program without updated package databases

pull/13/head
parent 7a8fb10280
commit 20210d866f

@ -19,7 +19,44 @@
xmlns:cc="http://creativecommons.org/ns#" xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"> xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs <defs
id="defs10" /> id="defs10">
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter1608"
x="-0.082073624"
y="-0.33699878"
width="1.1641472"
height="1.6739976">
<feFlood
flood-opacity="0.901961"
flood-color="rgb(255,255,255)"
result="flood"
id="feFlood1598" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite1600" />
<feGaussianBlur
in="composite1"
stdDeviation="56"
result="blur"
id="feGaussianBlur1602" />
<feOffset
dx="-1.94289e-16"
dy="3.05311e-16"
result="offset"
id="feOffset1604" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite1606" />
</filter>
</defs>
<sodipodi:namedview <sodipodi:namedview
id="namedview8" id="namedview8"
pagecolor="#ffffff" pagecolor="#ffffff"
@ -30,8 +67,8 @@
inkscape:pagecheckerboard="0" inkscape:pagecheckerboard="0"
showgrid="false" showgrid="false"
inkscape:zoom="8" inkscape:zoom="8"
inkscape:cx="66" inkscape:cx="32.0625"
inkscape:cy="24.5625" inkscape:cy="32.6875"
inkscape:window-width="1920" inkscape:window-width="1920"
inkscape:window-height="1027" inkscape:window-height="1027"
inkscape:window-x="0" inkscape:window-x="0"
@ -40,10 +77,6 @@
inkscape:current-layer="svg6" /> inkscape:current-layer="svg6" />
<title <title
id="title2">AMD icon</title> id="title2">AMD icon</title>
<path
d="M 1.4659411,0.73095052 1.5906662,0.85575569 H 1.7951548 V 1.0603242 L 1.9200399,1.1851294 V 0.73095052 Z M 0.15996675,0.76159182 -3.99e-5,1.1584083 h 0.10472436 l 0.0296013,-0.078563 h 0.17768738 l 0.0326414,0.078563 H 0.45165888 L 0.27453152,0.76159182 Z m 0.336734,0 V 1.1580082 h 0.0990441 V 0.91063797 L 0.70278929,1.0356032 h 0.0150402 L 0.82487441,0.911118 v 0.2472903 h 0.0990442 V 0.76159182 H 0.83759494 L 0.7102296,0.90919797 0.58294434,0.76159182 Z m 0.50266086,0 V 1.1584083 H 1.1639285 c 0.1583266,0 0.2304095,-0.083684 0.2304095,-0.19776823 0,-0.1088045 -0.074963,-0.19904825 -0.219769,-0.19904825 z m 0.0989642,0.072803 h 0.063363 c 0.093604,0 0.1304054,0.0568823 0.1304054,0.1256052 0,0.0582426 -0.029761,0.12576518 -0.1292854,0.12576518 H 1.0983258 Z M 0.21948924,0.85623592 0.28277194,1.0108023 H 0.16060678 Z M 1.5905062,0.88079674 1.4621808,1.0090421 V 1.1890495 H 1.6418683 L 1.7701936,1.0604842 H 1.5905062 Z"
id="path4"
style="stroke-width:0.080003" />
<metadata <metadata
id="metadata827"> id="metadata827">
<rdf:RDF> <rdf:RDF>
@ -53,4 +86,35 @@
</cc:Work> </cc:Work>
</rdf:RDF> </rdf:RDF>
</metadata> </metadata>
<g
id="g1120"
transform="matrix(0.0010099,0,0,0.0010099,-0.07435912,0.31038814)"
style="filter:url(#filter1608)">
<g
id="Layer1002">
<path
d="M 1443.2532,674.1362 V 832.1413 H 1596.7 l 107.1085,-113.1455 h -147.358 V 570.6571 Z"
style="fill:#00a66e;fill-rule:evenodd"
id="path37" />
<path
d="m 1439.0903,443.8365 h 403.9061 V 842.651 L 1719.1691,718.8068 V 558.376 h -162.9079 z"
style="fill:#00a66e;fill-rule:evenodd"
id="path39" />
</g>
<g
id="Layer1003">
<path
d="m 592.4394,809.9182 h -91.3776 l -27.9607,-67.426 H 320.7894 l -25.4744,67.426 H 205.4423 L 342.755,469.3452 h 98.3793 z M 393.1871,550.7732 v 0 l -49.9247,132.3247 h 104.8547 z"
style="fill:#000000;fill-rule:evenodd"
id="path42" />
<path
d="m 920.5338,469.3452 h 73.8683 v 340.573 H 909.5342 V 597.2155 L 817.6225,704.0828 H 804.6617 L 712.7846,597.2155 v 212.7027 h -84.877 v -340.573 h 73.8939 L 811.155,595.7015 Z"
style="fill:#000000;fill-rule:evenodd"
id="path44" />
<path
d="m 1198.6423,469.3452 c 124.3267,0 188.2275,77.4377 188.2275,170.8033 0,97.8542 -61.8885,169.7697 -197.7219,169.7697 h -140.8048 v -340.573 z m -65.4313,278.1522 v 0 h 55.4896 c 85.3495,0 110.8406,-57.915 110.8406,-107.8484 0,-58.43 -31.477,-107.8651 -111.873,-107.8651 h -54.4572 z"
style="fill:#000000;fill-rule:evenodd"
id="path46" />
</g>
</g>
</svg> </svg>

Before

Width:  |  Height:  |  Size: 2.4 KiB

After

Width:  |  Height:  |  Size: 3.8 KiB

@ -16,7 +16,44 @@
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"> xmlns:svg="http://www.w3.org/2000/svg">
<defs <defs
id="defs10" /> id="defs10">
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter3075"
x="-0.086766915"
y="-0.1312858"
width="1.1735338"
height="1.2625716">
<feFlood
flood-opacity="0.901961"
flood-color="rgb(255,255,255)"
result="flood"
id="feFlood3065" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite3067" />
<feGaussianBlur
in="composite1"
stdDeviation="2.3"
result="blur"
id="feGaussianBlur3069" />
<feOffset
dx="-1.94289e-16"
dy="3.05311e-16"
result="offset"
id="feOffset3071" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite3073" />
</filter>
</defs>
<sodipodi:namedview <sodipodi:namedview
id="namedview8" id="namedview8"
pagecolor="#ffffff" pagecolor="#ffffff"
@ -27,7 +64,7 @@
inkscape:pagecheckerboard="0" inkscape:pagecheckerboard="0"
showgrid="false" showgrid="false"
inkscape:zoom="7.8555144" inkscape:zoom="7.8555144"
inkscape:cx="0.12729911" inkscape:cx="37.744186"
inkscape:cy="21.195302" inkscape:cy="21.195302"
inkscape:window-width="1920" inkscape:window-width="1920"
inkscape:window-height="1027" inkscape:window-height="1027"
@ -39,5 +76,6 @@
fill="#0071c5" fill="#0071c5"
d="M 18.904146,28.836478 V 39.116883 H 15.587887 V 26.183472 h 6.798331 c 2.81882,0 3.813697,1.98976 3.813697,3.8137 v 9.119711 h -3.150446 v -9.119711 c 0,-0.663247 -0.497438,-1.160694 -1.492315,-1.160694 z M 40.95727,28.670669 c -1.823941,0 -2.487197,1.160694 -2.487197,2.818826 h 5.140202 C 43.444467,29.997172 42.94703,28.670669 40.95727,28.670669 Z m -2.487197,4.974384 c 0,1.658131 1.160694,2.818825 2.984634,2.818825 1.492323,0 2.155568,-0.331628 2.984634,-1.160694 l 1.98976,1.989759 c -1.326503,1.160695 -2.653016,1.98976 -4.974394,1.98976 -3.150443,0 -6.135078,-1.658131 -6.135078,-6.632525 0,-4.311138 1.326504,-6.632515 5.969269,-6.632515 4.642755,0 5.471821,3.316262 5.471821,7.62739 z m -5.969265,5.47183 c -2.653007,0 -3.813697,-1.82394 -3.813697,-3.813699 V 22.7014 h 3.316258 v 3.482072 h 2.487195 v 2.653006 h -2.487195 v 6.300897 c 0,0.829065 0.331627,1.160694 1.160691,1.160694 h 1.326504 v 2.818814 z M 12.769066,24.359531 H 9.4528071 v -3.150442 h 3.3162589 z m 0,14.923172 C 10.281872,38.951075 9.4528071,37.458753 9.4528071,35.800622 v -9.61715 h 3.3162589 z m 39.297675,-0.331628 c -2.487197,-0.16582 -3.316262,-1.658132 -3.316262,-3.482071 V 20.87746 h 3.316262 z M 63.507831,22.86722 C 60.523196,8.2756772 32.334996,7.4466119 14.095569,18.556083 v 1.160684 c 18.239427,-9.285521 43.940431,-9.285521 46.427627,4.145328 0.663257,4.476945 -1.82394,9.119711 -6.300887,11.772717 v 3.482071 C 59.69413,37.127135 65.165962,30.660428 63.507831,22.86722 Z M 30.34524,48.402415 C 17.909268,49.563099 4.6442313,47.739158 2.820288,37.95619 1.9912233,33.147616 4.1467919,28.007412 7.1314252,24.69116 V 23.033028 C 1.8254102,27.675794 -0.99340985,33.479244 0.66472042,40.443386 2.6544759,49.231481 13.929757,54.371673 31.174304,52.713552 37.972636,52.050295 46.926538,49.728918 53.061616,46.412655 v -4.808574 c -5.63764,3.316262 -14.923172,6.135077 -22.716376,6.798334 z" d="M 18.904146,28.836478 V 39.116883 H 15.587887 V 26.183472 h 6.798331 c 2.81882,0 3.813697,1.98976 3.813697,3.8137 v 9.119711 h -3.150446 v -9.119711 c 0,-0.663247 -0.497438,-1.160694 -1.492315,-1.160694 z M 40.95727,28.670669 c -1.823941,0 -2.487197,1.160694 -2.487197,2.818826 h 5.140202 C 43.444467,29.997172 42.94703,28.670669 40.95727,28.670669 Z m -2.487197,4.974384 c 0,1.658131 1.160694,2.818825 2.984634,2.818825 1.492323,0 2.155568,-0.331628 2.984634,-1.160694 l 1.98976,1.989759 c -1.326503,1.160695 -2.653016,1.98976 -4.974394,1.98976 -3.150443,0 -6.135078,-1.658131 -6.135078,-6.632525 0,-4.311138 1.326504,-6.632515 5.969269,-6.632515 4.642755,0 5.471821,3.316262 5.471821,7.62739 z m -5.969265,5.47183 c -2.653007,0 -3.813697,-1.82394 -3.813697,-3.813699 V 22.7014 h 3.316258 v 3.482072 h 2.487195 v 2.653006 h -2.487195 v 6.300897 c 0,0.829065 0.331627,1.160694 1.160691,1.160694 h 1.326504 v 2.818814 z M 12.769066,24.359531 H 9.4528071 v -3.150442 h 3.3162589 z m 0,14.923172 C 10.281872,38.951075 9.4528071,37.458753 9.4528071,35.800622 v -9.61715 h 3.3162589 z m 39.297675,-0.331628 c -2.487197,-0.16582 -3.316262,-1.658132 -3.316262,-3.482071 V 20.87746 h 3.316262 z M 63.507831,22.86722 C 60.523196,8.2756772 32.334996,7.4466119 14.095569,18.556083 v 1.160684 c 18.239427,-9.285521 43.940431,-9.285521 46.427627,4.145328 0.663257,4.476945 -1.82394,9.119711 -6.300887,11.772717 v 3.482071 C 59.69413,37.127135 65.165962,30.660428 63.507831,22.86722 Z M 30.34524,48.402415 C 17.909268,49.563099 4.6442313,47.739158 2.820288,37.95619 1.9912233,33.147616 4.1467919,28.007412 7.1314252,24.69116 V 23.033028 C 1.8254102,27.675794 -0.99340985,33.479244 0.66472042,40.443386 2.6544759,49.231481 13.929757,54.371673 31.174304,52.713552 37.972636,52.050295 46.926538,49.728918 53.061616,46.412655 v -4.808574 c -5.63764,3.316262 -14.923172,6.135077 -22.716376,6.798334 z"
id="path4" id="path4"
style="stroke-width:0.165814" /> style="stroke-width:0.165814;filter:url(#filter3075)"
transform="matrix(0.84740862,0,0,0.84740862,4.882924,4.8829241)" />
</svg> </svg>

Before

Width:  |  Height:  |  Size: 3.0 KiB

After

Width:  |  Height:  |  Size: 4.0 KiB

@ -17,7 +17,44 @@
xmlns:cc="http://creativecommons.org/ns#" xmlns:cc="http://creativecommons.org/ns#"
xmlns:dc="http://purl.org/dc/elements/1.1/"> xmlns:dc="http://purl.org/dc/elements/1.1/">
<defs <defs
id="defs12" /> id="defs12">
<filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter2175"
x="-0.081943891"
y="-0.11128929"
width="1.1638878"
height="1.2225786">
<feFlood
flood-opacity="0.901961"
flood-color="rgb(255,255,255)"
result="flood"
id="feFlood2165" />
<feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite2167" />
<feGaussianBlur
in="composite1"
stdDeviation="12"
result="blur"
id="feGaussianBlur2169" />
<feOffset
dx="-1.94289e-16"
dy="3.05311e-16"
result="offset"
id="feOffset2171" />
<feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite2173" />
</filter>
</defs>
<sodipodi:namedview <sodipodi:namedview
id="namedview10" id="namedview10"
pagecolor="#ffffff" pagecolor="#ffffff"
@ -32,7 +69,7 @@
fit-margin-right="0" fit-margin-right="0"
fit-margin-bottom="0" fit-margin-bottom="0"
inkscape:zoom="7.11" inkscape:zoom="7.11"
inkscape:cx="30.2391" inkscape:cx="22.925457"
inkscape:cy="23.136428" inkscape:cy="23.136428"
inkscape:window-width="1920" inkscape:window-width="1920"
inkscape:window-height="1027" inkscape:window-height="1027"
@ -44,7 +81,8 @@
id="title2">generated by pstoedit version:3.44 from NVBadge_2D.eps</title> id="title2">generated by pstoedit version:3.44 from NVBadge_2D.eps</title>
<g <g
id="g833" id="g833"
transform="matrix(0.08000809,0,0,0.08000809,32.371254,-9.9356868)"> transform="matrix(0.06760249,0,0,0.06760249,35.173187,-8.514446)"
style="filter:url(#filter2175)">
<path <path
d="m 384.195,235.769 c 0,3.771 -2.769,6.302 -6.047,6.302 v -0.023 c -3.371,0.023 -6.089,-2.508 -6.089,-6.278 0,-3.769 2.718,-6.293 6.089,-6.293 3.279,-0.001 6.047,2.523 6.047,6.292 z m 2.453,0 c 0,-5.176 -4.02,-8.18 -8.5,-8.18 -4.511,0 -8.531,3.004 -8.531,8.18 0,5.172 4.021,8.188 8.531,8.188 4.48,0 8.5,-3.016 8.5,-8.188 m -9.91,0.692 h 0.91 l 2.109,3.703 h 2.315 l -2.336,-3.859 c 1.207,-0.086 2.2,-0.66 2.2,-2.285 0,-2.02 -1.393,-2.668 -3.75,-2.668 h -3.411 v 8.812 h 1.961 l 0.002,-3.703 m 0,-1.492 v -2.121 h 1.364 c 0.742,0 1.753,0.06 1.753,0.965 0,0.984 -0.523,1.156 -1.398,1.156 h -1.719 m -47.332,-44.282 10.598,28.992 H 318.48 Z m -11.35,-11.289 -24.423,61.88 h 17.245 l 3.863,-10.935 h 28.903 l 3.656,10.935 h 18.722 L 341.417,179.39 Z m -49.033,61.903 h 17.497 v -61.922 l -17.5,-0.004 z m -121.467,-61.926 -14.598,49.078 -13.984,-49.074 -18.879,-0.004 19.972,61.926 h 25.207 l 20.133,-61.926 z m 70.725,13.484 h 7.521 c 10.909,0 17.966,4.898 17.966,17.609 0,12.713 -7.057,17.612 -17.966,17.612 h -7.521 z m -17.35,-13.484 v 61.926 h 28.365 c 15.113,0 20.049,-2.512 25.385,-8.147 3.769,-3.957 6.207,-12.642 6.207,-22.134 0,-8.707 -2.063,-16.469 -5.66,-21.305 -6.48,-8.648 -15.816,-10.34 -29.75,-10.34 z M 35.188,179.289 v 62.012 h 17.645 v -47.086 l 13.672,0.004 c 4.527,0 7.754,1.129 9.934,3.457 2.765,2.945 3.894,7.699 3.894,16.396 v 27.229 h 17.098 v -34.262 c 0,-24.453 -15.586,-27.75 -30.836,-27.75 z m 137.583,0.086 0.007,61.926 h 17.489 v -61.926 z" d="m 384.195,235.769 c 0,3.771 -2.769,6.302 -6.047,6.302 v -0.023 c -3.371,0.023 -6.089,-2.508 -6.089,-6.278 0,-3.769 2.718,-6.293 6.089,-6.293 3.279,-0.001 6.047,2.523 6.047,6.292 z m 2.453,0 c 0,-5.176 -4.02,-8.18 -8.5,-8.18 -4.511,0 -8.531,3.004 -8.531,8.18 0,5.172 4.021,8.188 8.531,8.188 4.48,0 8.5,-3.016 8.5,-8.188 m -9.91,0.692 h 0.91 l 2.109,3.703 h 2.315 l -2.336,-3.859 c 1.207,-0.086 2.2,-0.66 2.2,-2.285 0,-2.02 -1.393,-2.668 -3.75,-2.668 h -3.411 v 8.812 h 1.961 l 0.002,-3.703 m 0,-1.492 v -2.121 h 1.364 c 0.742,0 1.753,0.06 1.753,0.965 0,0.984 -0.523,1.156 -1.398,1.156 h -1.719 m -47.332,-44.282 10.598,28.992 H 318.48 Z m -11.35,-11.289 -24.423,61.88 h 17.245 l 3.863,-10.935 h 28.903 l 3.656,10.935 h 18.722 L 341.417,179.39 Z m -49.033,61.903 h 17.497 v -61.922 l -17.5,-0.004 z m -121.467,-61.926 -14.598,49.078 -13.984,-49.074 -18.879,-0.004 19.972,61.926 h 25.207 l 20.133,-61.926 z m 70.725,13.484 h 7.521 c 10.909,0 17.966,4.898 17.966,17.609 0,12.713 -7.057,17.612 -17.966,17.612 h -7.521 z m -17.35,-13.484 v 61.926 h 28.365 c 15.113,0 20.049,-2.512 25.385,-8.147 3.769,-3.957 6.207,-12.642 6.207,-22.134 0,-8.707 -2.063,-16.469 -5.66,-21.305 -6.48,-8.648 -15.816,-10.34 -29.75,-10.34 z M 35.188,179.289 v 62.012 h 17.645 v -47.086 l 13.672,0.004 c 4.527,0 7.754,1.129 9.934,3.457 2.765,2.945 3.894,7.699 3.894,16.396 v 27.229 h 17.098 v -34.262 c 0,-24.453 -15.586,-27.75 -30.836,-27.75 z m 137.583,0.086 0.007,61.926 h 17.489 v -61.926 z"
id="path4" /> id="path4" />

Before

Width:  |  Height:  |  Size: 4.4 KiB

After

Width:  |  Height:  |  Size: 5.3 KiB

@ -14,7 +14,36 @@
xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg"
xmlns:svg="http://www.w3.org/2000/svg"><defs xmlns:svg="http://www.w3.org/2000/svg"><defs
id="defs63" /><sodipodi:namedview id="defs63"><filter
style="color-interpolation-filters:sRGB;"
inkscape:label="Drop Shadow"
id="filter2485"
x="-0.14222222"
y="-0.17454546"
width="1.2844444"
height="1.3490909"><feFlood
flood-opacity="0.901961"
flood-color="rgb(255,255,255)"
result="flood"
id="feFlood2475" /><feComposite
in="flood"
in2="SourceGraphic"
operator="in"
result="composite1"
id="feComposite2477" /><feGaussianBlur
in="composite1"
stdDeviation="3.2"
result="blur"
id="feGaussianBlur2479" /><feOffset
dx="-1.94289e-16"
dy="3.05311e-16"
result="offset"
id="feOffset2481" /><feComposite
in="SourceGraphic"
in2="offset"
operator="over"
result="composite2"
id="feComposite2483" /></filter></defs><sodipodi:namedview
id="namedview61" id="namedview61"
pagecolor="#ffffff" pagecolor="#ffffff"
bordercolor="#999999" bordercolor="#999999"
@ -24,14 +53,15 @@
inkscape:pagecheckerboard="0" inkscape:pagecheckerboard="0"
showgrid="false" showgrid="false"
inkscape:zoom="6.0254237" inkscape:zoom="6.0254237"
inkscape:cx="64.227848" inkscape:cx="54.850914"
inkscape:cy="53.523207" inkscape:cy="70.617441"
inkscape:window-width="1920" inkscape:window-width="1920"
inkscape:window-height="1027" inkscape:window-height="1027"
inkscape:window-x="0" inkscape:window-x="0"
inkscape:window-y="0" inkscape:window-y="0"
inkscape:window-maximized="1" inkscape:window-maximized="1"
inkscape:current-layer="Capa_1" /> inkscape:current-layer="layer2" />
@ -53,53 +83,68 @@
<g <g
id="g909" inkscape:groupmode="layer"
transform="matrix(2.1698808,0,0,2.1698808,-0.0114836,-0.0114836)"><rect id="layer1"
x="4" inkscape:label="Layer 1"
y="12.5" style="display:none"><rect
style="fill:#38454f" style="opacity:1;fill:#000000;fill-opacity:1;stroke:#000000;stroke-linecap:round"
width="55" id="rect991"
height="32" width="127.7119"
id="rect2" /><circle height="143.58076"
style="fill:#546a79" x="-0.055910349"
cx="7" y="0.12853201" /></g><g
cy="15.5" inkscape:groupmode="layer"
r="1" id="layer2"
id="circle4" /><circle inkscape:label="Layer 2"
style="fill:#546a79" style="display:inline"><g
cx="7" id="g909"
cy="41.5" transform="matrix(1.7196211,0,0,1.7196211,13.271178,13.271178)"
r="1" style="filter:url(#filter2485)"><rect
id="circle6" /><circle x="4"
style="fill:#546a79" y="12.5"
cx="56" style="fill:#38454f"
cy="15.5" width="55"
r="1" height="32"
id="circle8" /><circle id="rect2" /><circle
style="fill:#546a79" style="fill:#546a79"
cx="56" cx="7"
cy="41.5" cy="15.5"
r="1" r="1"
id="circle10" /><rect id="circle4" /><circle
y="27.5" style="fill:#546a79"
style="fill:#839594" cx="7"
width="3" cy="41.5"
height="13" r="1"
id="rect12" id="circle6" /><circle
x="0" /><path style="fill:#546a79"
style="fill:#f3cc6d" cx="56"
d="M 3,26.5 H 1 c -0.553,0 -1,-0.447 -1,-1 0,-0.553 0.447,-1 1,-1 h 2 c 0.553,0 1,0.447 1,1 0,0.553 -0.447,1 -1,1 z" cy="15.5"
id="path14" /><path r="1"
style="fill:#f3cc6d" id="circle8" /><circle
d="M 3,43.5 H 1 c -0.553,0 -1,-0.447 -1,-1 0,-0.553 0.447,-1 1,-1 h 2 c 0.553,0 1,0.447 1,1 0,0.553 -0.447,1 -1,1 z" style="fill:#546a79"
id="path16" /><rect cx="56"
y="15.5" cy="41.5"
style="fill:#839594" r="1"
width="3" id="circle10" /><rect
height="4" y="27.5"
id="rect18" style="fill:#839594"
x="0" /><g width="3"
id="g22"> height="13"
id="rect12"
x="0" /><path
style="fill:#f3cc6d"
d="M 3,26.5 H 1 c -0.553,0 -1,-0.447 -1,-1 0,-0.553 0.447,-1 1,-1 h 2 c 0.553,0 1,0.447 1,1 0,0.553 -0.447,1 -1,1 z"
id="path14" /><path
style="fill:#f3cc6d"
d="M 3,43.5 H 1 c -0.553,0 -1,-0.447 -1,-1 0,-0.553 0.447,-1 1,-1 h 2 c 0.553,0 1,0.447 1,1 0,0.553 -0.447,1 -1,1 z"
id="path16" /><rect
y="15.5"
style="fill:#839594"
width="3"
height="4"
id="rect18"
x="0" /><g
id="g22">
<rect <rect
x="12" x="12"
y="44.5" y="44.5"
@ -108,36 +153,36 @@
height="4" height="4"
id="rect20" /> id="rect20" />
</g><path </g><path
style="fill:#6c797a" style="fill:#6c797a"
d="M 24.389,38.655 C 22.629,36.623 21.415,33.659 21.094,30.279 21.091,30.254 21.089,30.229 21.086,30.204 21.035,29.645 21,29.079 21,28.5 c 0,-0.579 0.035,-1.145 0.086,-1.704 0.003,-0.025 0.005,-0.05 0.008,-0.075 0.321,-3.38 1.535,-6.344 3.295,-8.376 0.781,-1.046 1.67,-2.005 2.667,-2.845 H 17 c -4.971,0 -9,5.82 -9,13 0,7.18 4.029,13 9,13 h 10.057 c -0.998,-0.84 -1.886,-1.8 -2.668,-2.845 z" d="M 24.389,38.655 C 22.629,36.623 21.415,33.659 21.094,30.279 21.091,30.254 21.089,30.229 21.086,30.204 21.035,29.645 21,29.079 21,28.5 c 0,-0.579 0.035,-1.145 0.086,-1.704 0.003,-0.025 0.005,-0.05 0.008,-0.075 0.321,-3.38 1.535,-6.344 3.295,-8.376 0.781,-1.046 1.67,-2.005 2.667,-2.845 H 17 c -4.971,0 -9,5.82 -9,13 0,7.18 4.029,13 9,13 h 10.057 c -0.998,-0.84 -1.886,-1.8 -2.668,-2.845 z"
id="path24" /><path id="path24" /><path
style="fill:#283238" style="fill:#283238"
d="M 34.846,41.5 C 29.534,39.394 26,34.23 26,28.5 c 0,-5.73 3.534,-10.894 8.846,-13 h 10.309 c 5.311,2.106 8.845,7.27 8.845,13 0,5.73 -3.534,10.894 -8.846,13 z" d="M 34.846,41.5 C 29.534,39.394 26,34.23 26,28.5 c 0,-5.73 3.534,-10.894 8.846,-13 h 10.309 c 5.311,2.106 8.845,7.27 8.845,13 0,5.73 -3.534,10.894 -8.846,13 z"
id="path26" /><circle id="path26" /><circle
style="fill:#cbd4d8" style="fill:#cbd4d8"
cx="40" cx="40"
cy="28.5" cy="28.5"
r="3" r="3"
id="circle28" /><path id="circle28" /><path
style="fill:#546a79" style="fill:#546a79"
d="m 49.903,29.739 c 0.119,-0.499 -0.359,-0.91 -0.848,-0.753 -1.66,0.535 -4.09,0.448 -6.093,-0.863 0.016,0.125 0.038,0.248 0.038,0.377 0,1.304 -0.837,2.403 -2,2.816 0,0 3.823,2.809 7,3.184 0.896,-1.041 1.557,-3.317 1.903,-4.761 z" d="m 49.903,29.739 c 0.119,-0.499 -0.359,-0.91 -0.848,-0.753 -1.66,0.535 -4.09,0.448 -6.093,-0.863 0.016,0.125 0.038,0.248 0.038,0.377 0,1.304 -0.837,2.403 -2,2.816 0,0 3.823,2.809 7,3.184 0.896,-1.041 1.557,-3.317 1.903,-4.761 z"
id="path30" /><path id="path30" /><path
style="fill:#546a79" style="fill:#546a79"
d="m 30.019,27.261 c -0.119,0.499 0.359,0.91 0.848,0.753 1.66,-0.535 4.09,-0.448 6.093,0.863 -0.016,-0.125 -0.038,-0.248 -0.038,-0.376 0,-1.304 0.837,-2.403 2,-2.816 0,0 -3.823,-2.809 -7,-3.184 -0.897,1.04 -1.558,3.316 -1.903,4.76 z" d="m 30.019,27.261 c -0.119,0.499 0.359,0.91 0.848,0.753 1.66,-0.535 4.09,-0.448 6.093,0.863 -0.016,-0.125 -0.038,-0.248 -0.038,-0.376 0,-1.304 0.837,-2.403 2,-2.816 0,0 -3.823,-2.809 -7,-3.184 -0.897,1.04 -1.558,3.316 -1.903,4.76 z"
id="path32" /><path id="path32" /><path
style="fill:#546a79" style="fill:#546a79"
d="m 34.343,36.796 c 0.391,0.333 0.974,0.093 1.056,-0.414 0.277,-1.722 1.457,-3.848 3.535,-5.037 -0.118,-0.043 -0.238,-0.079 -0.353,-0.137 -1.162,-0.592 -1.761,-1.837 -1.601,-3.061 0,0 -4.238,2.131 -6.015,4.792 0.52,1.271 2.248,2.894 3.378,3.857 z" d="m 34.343,36.796 c 0.391,0.333 0.974,0.093 1.056,-0.414 0.277,-1.722 1.457,-3.848 3.535,-5.037 -0.118,-0.043 -0.238,-0.079 -0.353,-0.137 -1.162,-0.592 -1.761,-1.837 -1.601,-3.061 0,0 -4.238,2.131 -6.015,4.792 0.52,1.271 2.248,2.894 3.378,3.857 z"
id="path34" /><path id="path34" /><path
style="fill:#546a79" style="fill:#546a79"
d="m 45.578,20.204 c -0.391,-0.333 -0.974,-0.093 -1.056,0.414 -0.277,1.722 -1.457,3.848 -3.535,5.037 0.118,0.043 0.238,0.079 0.353,0.137 1.162,0.592 1.761,1.837 1.601,3.061 0,0 4.238,-2.131 6.015,-4.792 -0.52,-1.271 -2.248,-2.894 -3.378,-3.857 z" d="m 45.578,20.204 c -0.391,-0.333 -0.974,-0.093 -1.056,0.414 -0.277,1.722 -1.457,3.848 -3.535,5.037 0.118,0.043 0.238,0.079 0.353,0.137 1.162,0.592 1.761,1.837 1.601,3.061 0,0 4.238,-2.131 6.015,-4.792 -0.52,-1.271 -2.248,-2.894 -3.378,-3.857 z"
id="path36" /><path id="path36" /><path
style="fill:#546a79" style="fill:#546a79"
d="m 44.179,37.588 c 0.487,-0.163 0.582,-0.787 0.189,-1.118 -1.334,-1.124 -2.548,-3.231 -2.497,-5.624 -0.097,0.079 -0.19,0.163 -0.299,0.232 -1.106,0.691 -2.482,0.563 -3.448,-0.204 0,0 -0.356,4.73 1.009,7.623 1.357,0.209 3.638,-0.437 5.046,-0.909 z" d="m 44.179,37.588 c 0.487,-0.163 0.582,-0.787 0.189,-1.118 -1.334,-1.124 -2.548,-3.231 -2.497,-5.624 -0.097,0.079 -0.19,0.163 -0.299,0.232 -1.106,0.691 -2.482,0.563 -3.448,-0.204 0,0 -0.356,4.73 1.009,7.623 1.357,0.209 3.638,-0.437 5.046,-0.909 z"
id="path38" /><path id="path38" /><path
style="fill:#546a79" style="fill:#546a79"
d="m 35.743,19.412 c -0.487,0.163 -0.582,0.787 -0.189,1.118 1.334,1.124 2.548,3.231 2.497,5.624 0.097,-0.079 0.19,-0.163 0.299,-0.232 1.106,-0.691 2.482,-0.563 3.448,0.204 0,0 0.356,-4.73 -1.009,-7.623 -1.358,-0.209 -3.638,0.437 -5.046,0.909 z" d="m 35.743,19.412 c -0.487,0.163 -0.582,0.787 -0.189,1.118 1.334,1.124 2.548,3.231 2.497,5.624 0.097,-0.079 0.19,-0.163 0.299,-0.232 1.106,-0.691 2.482,-0.563 3.448,0.204 0,0 0.356,-4.73 -1.009,-7.623 -1.358,-0.209 -3.638,0.437 -5.046,0.909 z"
id="path40" /><g id="path40" /><g
id="g56"> id="g56">
<rect <rect
x="14" x="14"
y="46.5" y="46.5"
@ -188,7 +233,6 @@
height="2" height="2"
id="rect54" /> id="rect54" />
</g><path </g><path
style="fill:#cbd4d8" style="fill:#cbd4d8"
d="M 4,7.5 H 1 c -0.553,0 -1,0.447 -1,1 0,0.553 0.447,1 1,1 h 2 v 41 c 0,0.553 0.447,1 1,1 0.553,0 1,-0.447 1,-1 V 8.5 C 5,7.947 4.553,7.5 4,7.5 Z" d="M 4,7.5 H 1 c -0.553,0 -1,0.447 -1,1 0,0.553 0.447,1 1,1 h 2 v 41 c 0,0.553 0.447,1 1,1 0.553,0 1,-0.447 1,-1 V 8.5 C 5,7.947 4.553,7.5 4,7.5 Z"
id="path58" /></g> id="path58" /></g></g></svg>
</svg>

Before

Width:  |  Height:  |  Size: 5.7 KiB

After

Width:  |  Height:  |  Size: 7.1 KiB

@ -37,7 +37,7 @@
#define HYBRID_GRAPHICS_LABEL _("Hybrid graphics") #define HYBRID_GRAPHICS_LABEL _("Hybrid graphics")
#define FIX_GAP_LABEL _("Fix frame gap (nVidia)") #define FIX_GAP_LABEL _("Fix frame gap (nVidia)")
#define EXTRA_LABEL _("Extra") #define EXTRA_LABEL _("Extra")
#define TITLE_LABEL _("UBlinux Video Configuration") #define TITLE_LABEL _("UBLinux Video Configuration")
#define LOAD_LABEL _("Load") #define LOAD_LABEL _("Load")
#define SAVE_LABEL _("Save") #define SAVE_LABEL _("Save")
#define ON_LABEL _("On") #define ON_LABEL _("On")
@ -60,6 +60,7 @@
#define CANCEL_LABEL _("Cancel") #define CANCEL_LABEL _("Cancel")
#define ACCEPT_LABEL _("Accept") #define ACCEPT_LABEL _("Accept")
#define DONT_USE_LABEL _("Don't use") #define DONT_USE_LABEL _("Don't use")
#define PROPRIETARY_LOADING_LABEL _("Driver list is currently loading...")
#define INFORMATION_LABEL _("Information") #define INFORMATION_LABEL _("Information")
#define DRIVERS_LABEL _("Drivers") #define DRIVERS_LABEL _("Drivers")

@ -488,6 +488,17 @@ void on_monitor_add(GtkWidget *self,monitor_window *window){
} }
} }
void on_proprietary_get(GtkWidget *notebook, GtkWidget *page, int pagen, gpointer data){
if (pagen==1){
GtkTreeIter iter;
if(!gtk_tree_model_get_iter_first(GTK_TREE_MODEL(videoconfig.list),&iter)){
pthread_t tid;
pthread_create(&tid,NULL,(void*)yon_proprieary_get,NULL);
}
}
}
void on_monitor_configure(GtkWidget *self,monitor_window *window){ void on_monitor_configure(GtkWidget *self,monitor_window *window){
if(window&&window->config){ if(window&&window->config){
monitor_edit_window *monitors = new(monitor_edit_window); monitor_edit_window *monitors = new(monitor_edit_window);
@ -594,7 +605,7 @@ void on_about()
GtkWidget *hideButtonBox = yon_gtk_builder_get_widget(builder, "buttonBoxHide"); GtkWidget *hideButtonBox = yon_gtk_builder_get_widget(builder, "buttonBoxHide");
gtk_about_dialog_set_program_name(GTK_ABOUT_DIALOG(window), _("UBlinux Video Configuration")); gtk_about_dialog_set_program_name(GTK_ABOUT_DIALOG(window), _("UBlinux Video Configuration"));
gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(window), version_application); gtk_about_dialog_set_version(GTK_ABOUT_DIALOG(window), version_application);
gtk_about_dialog_set_website_label(GTK_ABOUT_DIALOG(window), _("Progect Home Page")); gtk_about_dialog_set_website_label(GTK_ABOUT_DIALOG(window), _("Project Home Page"));
gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(window), _("Videocard and monitor configuration manager")); gtk_about_dialog_set_comments(GTK_ABOUT_DIALOG(window), _("Videocard and monitor configuration manager"));
gtk_widget_set_visible(hideButtonBox, 0); gtk_widget_set_visible(hideButtonBox, 0);
gtk_widget_show(window); gtk_widget_show(window);
@ -611,6 +622,7 @@ void yon_monitor_window_update(monitor_edit_window *window){
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(window->templateMonitorConfigurationFrequencyCombo),PARAMETER_DEFAULT_LABEL); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(window->templateMonitorConfigurationFrequencyCombo),PARAMETER_DEFAULT_LABEL);
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(window->templateMonitorConfigurationFrequencyCombo),"60"); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(window->templateMonitorConfigurationFrequencyCombo),"60");
gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(window->templateMonitorConfigurationFrequencyCombo),"75"); gtk_combo_box_text_append_text(GTK_COMBO_BOX_TEXT(window->templateMonitorConfigurationFrequencyCombo),"75");
gtk_combo_box_set_active(GTK_COMBO_BOX(window->templateMonitorConfigurationFrequencyCombo),0);
found = yon_gtk_combo_box_text_find(window->templateMonitorConfigurationPositionPortCombo, yon_dictionary_get_data(window->config,monitorconfig*)->position_port); found = yon_gtk_combo_box_text_find(window->templateMonitorConfigurationPositionPortCombo, yon_dictionary_get_data(window->config,monitorconfig*)->position_port);
if (found==-1) if (found==-1)
found=0; found=0;
@ -917,6 +929,11 @@ void on_config_fill_interface(widgets_dict *widgets)
* [EN] * [EN]
*/ */
dictionary *yon_proprieary_get(){ dictionary *yon_proprieary_get(){
videoconfig.status_render.strings_size=0;
videoconfig.status_render.text_strings_to_render=NULL;
videoconfig.status_render.text_to_render=PROPRIETARY_LOADING_LABEL;
videoconfig.status_render.type=BACKGROUND_IMAGE_FAIL_TYPE;
yon_ubl_status_box_render(&videoconfig.status_render);
videoconfig.proprietary=NULL; videoconfig.proprietary=NULL;
int drivers_size=0; int drivers_size=0;
config_str drivers=yon_config_load(get_proprietary_drivers_command,&drivers_size); config_str drivers=yon_config_load(get_proprietary_drivers_command,&drivers_size);
@ -936,6 +953,12 @@ dictionary *yon_proprieary_get(){
else videoconfig.proprietary=yon_dictionary_create_with_data_connected(videoconfig.proprietary,drivers[drivers_found],rtn[i]); else videoconfig.proprietary=yon_dictionary_create_with_data_connected(videoconfig.proprietary,drivers[drivers_found],rtn[i]);
} }
} }
yon_gtk_list_store_fill_with_proprietaries(videoconfig.list);
videoconfig.status_render.strings_size=0;
videoconfig.status_render.text_strings_to_render=NULL;
videoconfig.status_render.text_to_render="";
videoconfig.status_render.type=BACKGROUND_IMAGE_SUCCESS_TYPE;
yon_ubl_status_box_render(&videoconfig.status_render);
} }
@ -950,7 +973,7 @@ void yon_gtk_list_store_fill_with_proprietaries(GtkListStore *list){
int size=0; int size=0;
config_str str = yon_char_parse((char*)dict->data,&size,";"); config_str str = yon_char_parse((char*)dict->data,&size,";");
gtk_list_store_append(list,&iter); gtk_list_store_append(list,&iter);
gtk_list_store_set(list,&iter,1,str[0],2,str[1],3,str[2],4,str[3],-1); gtk_list_store_set(list,&iter,1,str[0],2,str[1],3,str[2],4,str[3],5,str[4],-1);
if (strstr(dict->key," installed")) if (strstr(dict->key," installed"))
gtk_list_store_set(list,&iter,0,1,-1); gtk_list_store_set(list,&iter,0,1,-1);
} }
@ -1064,7 +1087,6 @@ void yon_setup_config(char *configcommand)
for (int i=0;i<videoconfig.resolutionssize;i++){ for (int i=0;i<videoconfig.resolutionssize;i++){
videoconfig.resolutions[i]=yon_char_divide_search(videoconfig.resolutions[i],"\n",-1); videoconfig.resolutions[i]=yon_char_divide_search(videoconfig.resolutions[i],"\n",-1);
} }
yon_proprieary_get();
} }
/** monitor_config yon_monitor_config_new(char *port) /** monitor_config yon_monitor_config_new(char *port)
@ -1261,15 +1283,15 @@ void yon_adapter_window_setup(widgets_dict *widgets){
"\n<span weight='bold' color='#1a5fb4'>",USED_KERNEL_DRIVER_LABEL,":</span> ",driver_use, "\n<span weight='bold' color='#1a5fb4'>",USED_KERNEL_DRIVER_LABEL,":</span> ",driver_use,
"\n<span weight='bold' color='#1a5fb4'>",AVALIABLE_KERNEL_DRIVERS_LABEL,":</span> ",driver_all,"</span>",NULL); "\n<span weight='bold' color='#1a5fb4'>",AVALIABLE_KERNEL_DRIVERS_LABEL,":</span> ",driver_all,"</span>",NULL);
gtk_label_set_markup(GTK_LABEL(gtk_builder_get_object(widgets->builder,"InformationLabel")),final_text); gtk_label_set_markup(GTK_LABEL(gtk_builder_get_object(widgets->builder,"InformationLabel")),final_text);
if (strcmp(vendor,"Intel Corporation")==0){ if (strstr(vendor,"Intel")){
GtkIconTheme *icthm=gtk_icon_theme_get_default(); GtkIconTheme *icthm=gtk_icon_theme_get_default();
gtk_image_set_from_pixbuf(GTK_IMAGE(widgets->InformationCompanyLogoImage),gtk_icon_info_load_icon(gtk_icon_theme_lookup_icon_for_scale(icthm, "com.ublinux.ubl-settings-video.intel-logo",64,1,GTK_ICON_LOOKUP_FORCE_SVG),NULL)); gtk_image_set_from_pixbuf(GTK_IMAGE(widgets->InformationCompanyLogoImage),gtk_icon_info_load_icon(gtk_icon_theme_lookup_icon_for_scale(icthm, "com.ublinux.ubl-settings-video.intel-logo",64,1,GTK_ICON_LOOKUP_FORCE_SVG),NULL));
} }
else if (strcmp(vendor,"NVidia Corporation")==0){ else if (strstr(vendor,"NVidia")){
GtkIconTheme *icthm=gtk_icon_theme_get_default(); GtkIconTheme *icthm=gtk_icon_theme_get_default();
gtk_image_set_from_pixbuf(GTK_IMAGE(widgets->InformationCompanyLogoImage),gtk_icon_info_load_icon(gtk_icon_theme_lookup_icon_for_scale(icthm, "com.ublinux.ubl-settings-video.nvidia-logo",64,1,GTK_ICON_LOOKUP_FORCE_SVG),NULL)); gtk_image_set_from_pixbuf(GTK_IMAGE(widgets->InformationCompanyLogoImage),gtk_icon_info_load_icon(gtk_icon_theme_lookup_icon_for_scale(icthm, "com.ublinux.ubl-settings-video.nvidia-logo",64,1,GTK_ICON_LOOKUP_FORCE_SVG),NULL));
} }
else if (strcmp(vendor,"AMD Corporation")==0){ else if (strstr(vendor,"AMD")){
GtkIconTheme *icthm=gtk_icon_theme_get_default(); GtkIconTheme *icthm=gtk_icon_theme_get_default();
gtk_image_set_from_pixbuf(GTK_IMAGE(widgets->InformationCompanyLogoImage),gtk_icon_info_load_icon(gtk_icon_theme_lookup_icon_for_scale(icthm, "com.ublinux.ubl-settings-video.amd-logo",64,1,GTK_ICON_LOOKUP_FORCE_SVG),NULL)); gtk_image_set_from_pixbuf(GTK_IMAGE(widgets->InformationCompanyLogoImage),gtk_icon_info_load_icon(gtk_icon_theme_lookup_icon_for_scale(icthm, "com.ublinux.ubl-settings-video.amd-logo",64,1,GTK_ICON_LOOKUP_FORCE_SVG),NULL));
} }
@ -1365,6 +1387,7 @@ void yon_setup_widgets(widgets_dict *widgets)
widgets->driversDeleteButton = yon_gtk_builder_get_widget(widgets->builder, "driversDeleteButton"); widgets->driversDeleteButton = yon_gtk_builder_get_widget(widgets->builder, "driversDeleteButton");
widgets->driversInstallButton = yon_gtk_builder_get_widget(widgets->builder, "driversInstallButton"); widgets->driversInstallButton = yon_gtk_builder_get_widget(widgets->builder, "driversInstallButton");
widgets->TerminalOverlay = yon_gtk_builder_get_widget(widgets->builder, "TerminalOverlay"); widgets->TerminalOverlay = yon_gtk_builder_get_widget(widgets->builder, "TerminalOverlay");
widgets->MenusTab = yon_gtk_builder_get_widget(widgets->builder, "MenusTab");
widgets->driversTreeSelection = GTK_TREE_SELECTION(gtk_builder_get_object(widgets->builder, "driversTreeSelection")); widgets->driversTreeSelection = GTK_TREE_SELECTION(gtk_builder_get_object(widgets->builder, "driversTreeSelection"));
widgets->proprietartInstalledColumn = GTK_TREE_VIEW_COLUMN(gtk_builder_get_object(widgets->builder, "proprietartInstalledColumn")); widgets->proprietartInstalledColumn = GTK_TREE_VIEW_COLUMN(gtk_builder_get_object(widgets->builder, "proprietartInstalledColumn"));
@ -1388,11 +1411,14 @@ void yon_setup_widgets(widgets_dict *widgets)
widgets->driverDescriptionColumn = GTK_TREE_VIEW_COLUMN(gtk_builder_get_object(widgets->builder, "driverDescriptionColumn")); widgets->driverDescriptionColumn = GTK_TREE_VIEW_COLUMN(gtk_builder_get_object(widgets->builder, "driverDescriptionColumn"));
widgets->driverSupportedColumn = GTK_TREE_VIEW_COLUMN(gtk_builder_get_object(widgets->builder, "driverSupportedColumn")); widgets->driverSupportedColumn = GTK_TREE_VIEW_COLUMN(gtk_builder_get_object(widgets->builder, "driverSupportedColumn"));
gtk_window_set_title(GTK_WINDOW(widgets->MainWindow),TITLE_LABEL);
videoconfig.list = GTK_LIST_STORE(gtk_builder_get_object(widgets-> builder, "liststore6")); videoconfig.list = GTK_LIST_STORE(gtk_builder_get_object(widgets-> builder, "liststore6"));
gtk_tree_view_set_model(GTK_TREE_VIEW(widgets->proprietaryTreeView),GTK_TREE_MODEL(videoconfig.list)); gtk_tree_view_set_model(GTK_TREE_VIEW(widgets->proprietaryTreeView),GTK_TREE_MODEL(videoconfig.list));
g_signal_connect(G_OBJECT(widgets->MenusTab), "switch-page", G_CALLBACK(on_proprietary_get), widgets);
g_signal_connect(G_OBJECT(widgets->proprietaryDeleteButton), "clicked", G_CALLBACK(on_driver_pack_delete), widgets); g_signal_connect(G_OBJECT(widgets->proprietaryDeleteButton), "clicked", G_CALLBACK(on_driver_pack_delete), widgets);
g_signal_connect(G_OBJECT(widgets->proprietaryInstallButton), "clicked", G_CALLBACK(on_driver_pack_install), widgets); g_signal_connect(G_OBJECT(widgets->proprietaryInstallButton), "clicked", G_CALLBACK(on_driver_pack_install), widgets);
g_signal_connect(G_OBJECT(widgets->proprietaryInfoButton), "clicked", G_CALLBACK(on_driver_pack_info), widgets); g_signal_connect(G_OBJECT(widgets->proprietaryInfoButton), "clicked", G_CALLBACK(on_driver_pack_info), widgets);
@ -1476,6 +1502,7 @@ void yon_setup_widgets(widgets_dict *widgets)
videoconfig.status_render.icon=widgets->mainStatusIcon; videoconfig.status_render.icon=widgets->mainStatusIcon;
videoconfig.status_render.label=widgets->mainStatusLabel; videoconfig.status_render.label=widgets->mainStatusLabel;
videoconfig.status_render.box=widgets->mainStatusBox; videoconfig.status_render.box=widgets->mainStatusBox;
if (videoconfig.lock)
if (videoconfig.lock_load_global==1) if (videoconfig.lock_load_global==1)
gtk_widget_set_sensitive(widgets->mainHeaderLoadGlobalMenuItem,0); gtk_widget_set_sensitive(widgets->mainHeaderLoadGlobalMenuItem,0);
if (videoconfig.lock_save_global==1) if (videoconfig.lock_save_global==1)
@ -1572,7 +1599,7 @@ int main(int argc, char *argv[])
yon_setup_config(load_drivers_local_command); yon_setup_config(load_drivers_local_command);
widgets_dict widgets; widgets_dict widgets;
yon_setup_widgets(&widgets); yon_setup_widgets(&widgets);
yon_gtk_list_store_fill_with_proprietaries(videoconfig.list); // yon_gtk_list_store_fill_with_proprietaries(videoconfig.list);
// yon_gtk_list_store_fill_with_proprietaries(videoconfig.modulelist); // yon_gtk_list_store_fill_with_proprietaries(videoconfig.modulelist);
gtk_widget_show(widgets.MainWindow); gtk_widget_show(widgets.MainWindow);
// yon_fill_ui(&widgets); // yon_fill_ui(&widgets);

@ -272,6 +272,8 @@ typedef struct
GtkWidget *PlugBox; GtkWidget *PlugBox;
GtkWidget *PlugSaveBox; GtkWidget *PlugSaveBox;
GtkWidget *PlugLoadBox; GtkWidget *PlugLoadBox;
GtkWidget *MenusTab;
} widgets_dict; } widgets_dict;
typedef struct typedef struct

@ -853,98 +853,6 @@ void yon_terminal_integrated_launch(GtkWidget *place_to_show, char* command, voi
#endif #endif
// dictionary *yon_gtk_app_chooser_create(GtkBuilder *builder){
// GtkWidget *chooserWindow=gtk_window_new(GTK_WINDOW_TOPLEVEL);
// GtkWidget *Box=gtk_box_new(GTK_ORIENTATION_VERTICAL,5);
// GtkWidget *Frame=gtk_frame_new("");
// GtkWidget *Scroll=gtk_scrolled_window_new(NULL, gtk_adjustment_new(0,0,10000,1,10,100));
// GtkWidget *PackBox=gtk_box_new(GTK_ORIENTATION_VERTICAL,5);
// GtkWidget *ButtonsBox=gtk_box_new(GTK_ORIENTATION_HORIZONTAL,5);
// GtkWidget *ButtonsPlaceBox=gtk_box_new(GTK_ORIENTATION_HORIZONTAL,5);
// GtkWidget *CancelButton=gtk_button_new_with_label("Cancel");
// GtkWidget *AcceptButton=gtk_button_new_with_label("Accept");
// gtk_container_add(GTK_CONTAINER(chooserWindow),Box);
// gtk_box_pack_start(GTK_BOX(Box),Frame,1,1,0);
// gtk_container_add(GTK_CONTAINER(Frame),PackBox);
// gtk_box_pack_start(GTK_BOX(Box),ButtonsBox,0,0,0);
// gtk_box_pack_end(GTK_BOX(ButtonsBox),ButtonsPlaceBox,0,0,0);
// gtk_box_pack_end(GTK_BOX(ButtonsPlaceBox),AcceptButton,0,0,0);
// gtk_box_pack_end(GTK_BOX(ButtonsPlaceBox),CancelButton,0,0,0);
// gtk_box_pack_start(GTK_BOX(PackBox),(GtkWidget*)yon_gtk_app_chooser_apps_create(builder),0,0,0);
// gtk_widget_show_all(chooserWindow);
// }
/**
* yon_iv_segment_create:
* connect_to - dictionary, in the end of which new one will be connected;
* name - name of this segment, renders on label;
* categories - desktop file categories that application NEEDS to have to render in that category;
* segment_icon_name - icon name for this section;
* builder - newly allocated builder with glade file connected where template widgets are stored:
* - templateAppsIconView - setted up icon view;
* - templateAppsPack - setted up container for every template widget;
* - templateAppsImage - image for rendering section image;
* - templateAppsLabel - label for rendering section name;
*/
// dictionary *yon_iv_segment_create(dictionary *connect_to, char *name, char *categories, char *segment_icon_name){
// IVSegment *segment=malloc(sizeof(IVSegment));
// segment->name=name;
// segment->categories=categories;
// GtkBuilder *builder=gtk_builder_new_from_string(return_app_string(),-1);
// GtkWidget *iv=yon_gtk_builder_get_widget(builder,"templateAppsIconView");
// GtkWidget *expander=yon_gtk_builder_get_widget(builder,"templateAppsPack");
// GtkWidget *image=yon_gtk_builder_get_widget(builder,"templateAppsImage");
// GtkWidget *label=yon_gtk_builder_get_widget(builder,"templateAppsLabel");
// GtkIconTheme *theme=gtk_icon_theme_get_default();
// gtk_image_set_from_pixbuf(GTK_IMAGE(image),gtk_icon_theme_load_icon_for_scale(theme,segment_icon_name,20,1,GTK_ICON_LOOKUP_FORCE_SVG,NULL));
// gtk_label_set_text(GTK_LABEL(label),name);
// GtkListStore *ls=GTK_LIST_STORE(gtk_builder_get_object(builder,"liststore5"));
// // g_signal_connect(G_OBJECT(iv), "item-activated", G_CALLBACK(on_activate), videoconfig.applist);
// segment->Expander=expander;
// segment->IV=iv;
// segment->LS=ls;
// segment->Image=image;
// dictionary *dict=NULL;
// if (connect_to) {
// // connect_to=yon_dictionary_get_last(connect_to);
// dict=yon_dictionary_create_with_data_connected(connect_to,name,segment);
// } else
// dict=yon_dictionary_create_with_data(name,segment);
// return dict;
// }
// GtkWidget *yon_gtk_app_chooser_apps_create(){
// GtkWidget *Box=gtk_box_new(GTK_ORIENTATION_VERTICAL,0);
// dictionary *IVS=yon_iv_segment_create(NULL, "Graphics", "", "dialog-yes-symbolic");
// yon_iv_segment_create(IVS, "Tools", "", "dialog-yes-symbolic");
// yon_iv_segment_create(IVS, "Internet", "", "dialog-yes-symbolic");
// yon_iv_segment_create(IVS, "Multimedia", "", "dialog-yes-symbolic");
// yon_iv_segment_create(IVS, "Settings", "", "dialog-yes-symbolic");
// yon_iv_segment_create(IVS, "Education", "", "dialog-yes-symbolic");
// yon_iv_segment_create(IVS, "Office", "", "dialog-yes-symbolic");
// yon_iv_segment_create(IVS, "Other", "", "dialog-yes-symbolic");
// yon_iv_segment_create(IVS, "Development", "", "dialog-yes-symbolic");
// yon_iv_segment_create(IVS, "System", "", "dialog-yes-symbolic");
// dictionary *nd;
// for_dictionaries(nd,IVS){
// gtk_box_pack_start(GTK_BOX(Box),((IVSegment*)nd->data)->Expander,0,0,0);
// }
// return Box;
// }
// GtkWidget *yon_gtk_socket_create_new_with_connect(GtkWidget *container, gpointer data){
// GtkWidget *socket;
// socket = gtk_socket_new();
// g_signal_connect(G_OBJECT(socket),"plug-added",G_CALLBACK(yon_on_plug_added),data);
// g_signal_connect(G_OBJECT(socket),"plug-removed",G_CALLBACK(yon_on_plug_removed),data);
// g_signal_connect(G_OBJECT(socket),"destroy",G_CALLBACK(yon_on_plug_removed),data);
// gtk_box_pack_start(GTK_BOX(container),socket,1,1,0);
// return socket;
// };
int yon_gtk_combo_box_fill(GtkWidget *combo, config_str parameters,int size){ int yon_gtk_combo_box_fill(GtkWidget *combo, config_str parameters,int size){
if (combo&&parameters){ if (combo&&parameters){
for (int i=0;i<size;i++){ for (int i=0;i<size;i++){

@ -147,9 +147,6 @@
<property name="position">0</property> <property name="position">0</property>
</packing> </packing>
</child> </child>
<child>
<placeholder/>
</child>
</object> </object>
</child> </child>
<child type="titlebar"> <child type="titlebar">
@ -1125,6 +1122,8 @@
<columns> <columns>
<!-- column-name is_installed --> <!-- column-name is_installed -->
<column type="gboolean"/> <column type="gboolean"/>
<!-- column-name package_module -->
<column type="gchararray"/>
<!-- column-name package --> <!-- column-name package -->
<column type="gchararray"/> <column type="gchararray"/>
<!-- column-name driver --> <!-- column-name driver -->
@ -1239,7 +1238,7 @@
</packing> </packing>
</child> </child>
<child> <child>
<object class="GtkNotebook"> <object class="GtkNotebook" id="MenusTab">
<property name="visible">True</property> <property name="visible">True</property>
<property name="can-focus">True</property> <property name="can-focus">True</property>
<child> <child>
@ -1780,6 +1779,7 @@
<property name="search-column">1</property> <property name="search-column">1</property>
<property name="enable-grid-lines">vertical</property> <property name="enable-grid-lines">vertical</property>
<property name="enable-tree-lines">True</property> <property name="enable-tree-lines">True</property>
<property name="tooltip-column">4</property>
<child internal-child="selection"> <child internal-child="selection">
<object class="GtkTreeSelection"/> <object class="GtkTreeSelection"/>
</child> </child>
@ -1811,7 +1811,7 @@
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkCellRendererText"/>
<attributes> <attributes>
<attribute name="text">2</attribute> <attribute name="text">3</attribute>
</attributes> </attributes>
</child> </child>
</object> </object>
@ -1826,7 +1826,7 @@
<property name="wrap-width">150</property> <property name="wrap-width">150</property>
</object> </object>
<attributes> <attributes>
<attribute name="text">3</attribute> <attribute name="text">4</attribute>
</attributes> </attributes>
</child> </child>
</object> </object>
@ -1841,7 +1841,7 @@
<property name="wrap-width">220</property> <property name="wrap-width">220</property>
</object> </object>
<attributes> <attributes>
<attribute name="text">4</attribute> <attribute name="text">5</attribute>
</attributes> </attributes>
</child> </child>
</object> </object>
@ -1950,7 +1950,7 @@
<property name="search-column">0</property> <property name="search-column">0</property>
<property name="enable-grid-lines">vertical</property> <property name="enable-grid-lines">vertical</property>
<property name="enable-tree-lines">True</property> <property name="enable-tree-lines">True</property>
<property name="tooltip-column">2</property> <property name="tooltip-column">4</property>
<child internal-child="selection"> <child internal-child="selection">
<object class="GtkTreeSelection"/> <object class="GtkTreeSelection"/>
</child> </child>
@ -1969,9 +1969,12 @@
<object class="GtkTreeViewColumn" id="driverPackageColumn"> <object class="GtkTreeViewColumn" id="driverPackageColumn">
<property name="title" translatable="yes">Package</property> <property name="title" translatable="yes">Package</property>
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkCellRendererText">
<property name="wrap-mode">word</property>
<property name="wrap-width">175</property>
</object>
<attributes> <attributes>
<attribute name="text">1</attribute> <attribute name="text">2</attribute>
</attributes> </attributes>
</child> </child>
</object> </object>
@ -1982,7 +1985,7 @@
<child> <child>
<object class="GtkCellRendererText"/> <object class="GtkCellRendererText"/>
<attributes> <attributes>
<attribute name="text">2</attribute> <attribute name="text">3</attribute>
</attributes> </attributes>
</child> </child>
</object> </object>
@ -1997,7 +2000,7 @@
<property name="wrap-width">150</property> <property name="wrap-width">150</property>
</object> </object>
<attributes> <attributes>
<attribute name="text">3</attribute> <attribute name="text">4</attribute>
</attributes> </attributes>
</child> </child>
</object> </object>
@ -2012,7 +2015,7 @@
<property name="wrap-width">220</property> <property name="wrap-width">220</property>
</object> </object>
<attributes> <attributes>
<attribute name="text">4</attribute> <attribute name="text">5</attribute>
</attributes> </attributes>
</child> </child>
</object> </object>

@ -1,8 +1,8 @@
VERSION_ID;DRV_PAСKAGE;DRV_NAME;DRV_DESCRIPTION;DRV_SUPPORT VERSION_ID;DRV_PAСKAGE_UBM;DRV_PACKAGE;DRV_NAME;DRV_DESCRIPTION;DRV_SUPPORT
2204;ubm-nvidia-340;nvidia-340;Пакет с модулем драйвера и утилиты NVIDIA 340xx;Драйвер видеокарт nVidia серий 8XXX, 9XXX, 1XX, 2XX, 3XX, 4XX, 5XX, 6XX, 7XX 2204;ubm-nvidia-340;bbswitch-dkms, ffnvcodec-headers, gwe, lib32-nvidia-340xx-utils, lib32-opencl-nvidia-340xx, libxnvctrl-340xx, nvidia-340xx-dkms, nvidia-340xx-utils, nvidia-prime, nvtop, opencl-nvidia-340xx, python-py3nvml, ;nvidia-340;Пакет с модулем драйвера и утилиты NVIDIA 340xx;Драйвер видеокарт nVidia серий 8XXX, 9XXX, 1XX, 2XX, 3XX, 4XX, 5XX, 6XX, 7XX
2204;ubm-nvidia-390;nvidia-390;Пакет с модулем драйвера и утилиты NVIDIA 390xx;Драйвер видеокарт nVidia серий 4XX, 5XX, 6XX, 7XX, 9XX, 10XX 2204;ubm-nvidia-390;bbswitch-dkms, ffnvcodec-headers8.1, ;nvidia-390;Пакет с модулем драйвера и утилиты NVIDIA 390xx;Драйвер видеокарт nVidia серий 4XX, 5XX, 6XX, 7XX, 9XX, 10XX
2204;ubm-nvidia-430;nvidia-430;Пакет с модулем включает в себя драйвер NVIDIA 430xx и утилиты;Драйвер видеокарт nVidia серий 6XX, 7XX, 9XX, 10XX, 16XX 2204;ubm-nvidia-430;nvidia-430xx-dkms;nvidia-430;Пакет с модулем включает в себя драйвер NVIDIA 430xx и утилиты;Драйвер видеокарт nVidia серий 6XX, 7XX, 9XX, 10XX, 16XX
2204;ubm-nvidia-470;nvidia-470;Пакет с модулем драйвера и утилиты NVIDIA 470xx;Драйвер видеокарт nVidia серий NVS, Quadro Sync, Quadro NVS, Quadro Blade/Embedded, Quadro, Quadro RTX, NVIDIA RTX 2204;ubm-nvidia-470;nvidia-470xx-dkms;nvidia-470;Пакет с модулем драйвера и утилиты NVIDIA 470xx;Драйвер видеокарт nVidia серий NVS, Quadro Sync, Quadro NVS, Quadro Blade/Embedded, Quadro, Quadro RTX, NVIDIA RTX
2204;ubm-nvidia-510;nvidia-510;Пакет с модулем драйвера и утилиты NVIDIA 510xx;Драйвер видеокарт nVidia серий NVS, Quadro Sync, Quadro NVS, Quadro Blade/Embedded, Quadro, Quadro RTX, NVIDIA RTX 2204;ubm-nvidia-510;nvidia-510xx-dkms;nvidia-510;Пакет с модулем драйвера и утилиты NVIDIA 510xx;Драйвер видеокарт nVidia серий NVS, Quadro Sync, Quadro NVS, Quadro Blade/Embedded, Quadro, Quadro RTX, NVIDIA RTX
2204;ubm-nvidia-515;nvidia-515;Пакет с модулем драйвера и утилиты NVIDIA 515xx;Драйвер видеокарт nVidia серий NVS, Quadro Sync, Quadro NVS, Quadro Blade/Embedded, Quadro, Quadro RTX, NVIDIA RTX 2204;ubm-nvidia-515;ubm-001-linux, ubm-010-core, ubm-020-xorg-base, ubm-030-xorg-gtk, ubm-lib32;nvidia-515;Пакет с модулем драйвера и утилиты NVIDIA 515xx;Драйвер видеокарт nVidia серий NVS, Quadro Sync, Quadro NVS, Quadro Blade/Embedded, Quadro, Quadro RTX, NVIDIA RTX
2204;ubm-nvidia-optimus;nvidia-optimus;Пакет с модулем включает в себя NVIDIA Optimus; 2204;ubm-nvidia-optimus;ubm-001-linux, ubm-010-core, ubm-020-xorg-base, ubm-030-xorg-gtk, ubm-035-xorg-qt5, ubm-lib32;nvidia-optimus;Пакет с модулем включает в себя NVIDIA Optimus;

1 VERSION_ID DRV_PAСKAGE DRV_PAСKAGE_UBM DRV_PACKAGE DRV_NAME DRV_DESCRIPTION DRV_SUPPORT
2 2204 ubm-nvidia-340 ubm-nvidia-340 bbswitch-dkms, ffnvcodec-headers, gwe, lib32-nvidia-340xx-utils, lib32-opencl-nvidia-340xx, libxnvctrl-340xx, nvidia-340xx-dkms, nvidia-340xx-utils, nvidia-prime, nvtop, opencl-nvidia-340xx, python-py3nvml, nvidia-340 Пакет с модулем драйвера и утилиты NVIDIA 340xx Драйвер видеокарт nVidia серий 8XXX, 9XXX, 1XX, 2XX, 3XX, 4XX, 5XX, 6XX, 7XX
3 2204 ubm-nvidia-390 ubm-nvidia-390 bbswitch-dkms, ffnvcodec-headers8.1, nvidia-390 Пакет с модулем драйвера и утилиты NVIDIA 390xx Драйвер видеокарт nVidia серий 4XX, 5XX, 6XX, 7XX, 9XX, 10XX
4 2204 ubm-nvidia-430 ubm-nvidia-430 nvidia-430xx-dkms nvidia-430 Пакет с модулем включает в себя драйвер NVIDIA 430xx и утилиты Драйвер видеокарт nVidia серий 6XX, 7XX, 9XX, 10XX, 16XX
5 2204 ubm-nvidia-470 ubm-nvidia-470 nvidia-470xx-dkms nvidia-470 Пакет с модулем драйвера и утилиты NVIDIA 470xx Драйвер видеокарт nVidia серий NVS, Quadro Sync, Quadro NVS, Quadro Blade/Embedded, Quadro, Quadro RTX, NVIDIA RTX
6 2204 ubm-nvidia-510 ubm-nvidia-510 nvidia-510xx-dkms nvidia-510 Пакет с модулем драйвера и утилиты NVIDIA 510xx Драйвер видеокарт nVidia серий NVS, Quadro Sync, Quadro NVS, Quadro Blade/Embedded, Quadro, Quadro RTX, NVIDIA RTX
7 2204 ubm-nvidia-515 ubm-nvidia-515 ubm-001-linux, ubm-010-core, ubm-020-xorg-base, ubm-030-xorg-gtk, ubm-lib32 nvidia-515 Пакет с модулем драйвера и утилиты NVIDIA 515xx Драйвер видеокарт nVidia серий NVS, Quadro Sync, Quadro NVS, Quadro Blade/Embedded, Quadro, Quadro RTX, NVIDIA RTX
8 2204 ubm-nvidia-optimus ubm-nvidia-optimus ubm-001-linux, ubm-010-core, ubm-020-xorg-base, ubm-030-xorg-gtk, ubm-035-xorg-qt5, ubm-lib32 nvidia-optimus Пакет с модулем включает в себя NVIDIA Optimus
Loading…
Cancel
Save