diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:01:24 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-27 18:01:24 +0000 |
commit | 1e2ccef73c5ca96f7884a452b65cdbbff51c43ca (patch) | |
tree | 15afec6ee566d7919e0e640816faeebc777e3911 /data | |
parent | Initial commit. (diff) | |
download | gnome-system-monitor-1e2ccef73c5ca96f7884a452b65cdbbff51c43ca.tar.xz gnome-system-monitor-1e2ccef73c5ca96f7884a452b65cdbbff51c43ca.zip |
Adding upstream version 3.38.0.upstream/3.38.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'data')
-rw-r--r-- | data/icons/meson.build | 5 | ||||
-rw-r--r-- | data/icons/public/hicolor/scalable/apps/org.gnome.SystemMonitor.Devel.svg | 1 | ||||
-rw-r--r-- | data/icons/public/hicolor/scalable/apps/org.gnome.SystemMonitor.svg | 290 | ||||
-rw-r--r-- | data/icons/public/hicolor/symbolic/apps/org.gnome.SystemMonitor-symbolic.svg | 6 | ||||
-rw-r--r-- | data/interface.ui | 541 | ||||
-rw-r--r-- | data/lsof.ui | 84 | ||||
-rw-r--r-- | data/menus.ui | 155 | ||||
-rw-r--r-- | data/meson.build | 1 | ||||
-rw-r--r-- | data/openfiles.ui | 70 | ||||
-rw-r--r-- | data/preferences.ui | 717 | ||||
-rw-r--r-- | data/renice.ui | 166 |
11 files changed, 2036 insertions, 0 deletions
diff --git a/data/icons/meson.build b/data/icons/meson.build new file mode 100644 index 0000000..0f2f71f --- /dev/null +++ b/data/icons/meson.build @@ -0,0 +1,5 @@ +install_subdir( + join_paths('public', 'hicolor'), + install_dir: join_paths(datadir, 'icons') +) + diff --git a/data/icons/public/hicolor/scalable/apps/org.gnome.SystemMonitor.Devel.svg b/data/icons/public/hicolor/scalable/apps/org.gnome.SystemMonitor.Devel.svg new file mode 100644 index 0000000..6c218e1 --- /dev/null +++ b/data/icons/public/hicolor/scalable/apps/org.gnome.SystemMonitor.Devel.svg @@ -0,0 +1 @@ +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="128" height="128"><defs><clipPath id="o"><path d="M0 0h128v128H0z"/></clipPath><clipPath id="t"><path d="M0 0h128v128H0z"/></clipPath><clipPath id="b"><path d="M0 0h192v152H0z"/></clipPath><clipPath id="d"><path d="M0 0h192v152H0z"/></clipPath><clipPath id="r"><path d="M0 0h128v128H0z"/></clipPath><clipPath id="e"><path d="M0 0h192v152H0z"/></clipPath><clipPath id="g"><path d="M0 0h192v152H0z"/></clipPath><clipPath id="h"><path d="M0 0h128v128H0z"/></clipPath><mask id="v"><g filter="url(#a)"><path fill-opacity=".8" d="M0 0h128v128H0z"/></g></mask><mask id="m"><g filter="url(#a)"><path fill-opacity=".236" d="M0 0h128v128H0z"/></g></mask><mask id="B"><use xlink:href="#q"/></mask><mask id="y"><g filter="url(#a)"><path fill-opacity=".236" d="M0 0h128v128H0z"/></g></mask><mask id="x"><g filter="url(#a)"><path fill-opacity=".05" d="M0 0h128v128H0z"/></g></mask><mask id="k"><g filter="url(#a)"><path fill-opacity=".05" d="M0 0h128v128H0z"/></g></mask><g id="A" clip-path="url(#t)"><use xlink:href="#u" mask="url(#v)"/></g><g id="j" clip-path="url(#b)"><path d="M16 104h84V36H16zm0 0" fill="url(#c)"/></g><g id="q" clip-path="url(#o)" filter="url(#a)"><use xlink:href="#p"/></g><g id="l" clip-path="url(#d)"><path d="M16 74h26l10-23 6 39 8-16h34" fill="none" stroke-width="4" stroke="#e5a50a" stroke-miterlimit="10"/></g><g id="p" clip-path="url(#h)"><path d="M16 28h96a8 8 0 018 8v70a8 8 0 01-8 8H16a8 8 0 01-8-8V36a8 8 0 018-8zm0 0" fill="#f6f5f4"/><path d="M16 32h84c2.21 0 4 1.79 4 4v68c0 2.21-1.79 4-4 4H16c-2.21 0-4-1.79-4-4V36c0-2.21 1.79-4 4-4zm0 0" fill="#241f31"/><path d="M8 104v4c0 4.434 3.566 8 8 8h96c4.434 0 8-3.566 8-8v-4c0 4.434-3.566 8-8 8H16a7.98 7.98 0 01-8-8zm0 0" fill="url(#i)"/><use xlink:href="#j" mask="url(#k)"/><use xlink:href="#l" mask="url(#m)"/><path d="M16 246h26l10-23 6 39 8-16h6" transform="translate(0 -172)" fill="none" stroke-width="4" stroke-linecap="round" stroke="url(#n)" stroke-miterlimit="10"/><path d="M116 62v4c0 2.21-1.79 4-4 4s-4-1.79-4-4v-2l4-2zm0 0M116 78v6h-4c-2.215 0-4-1.785-4-4v-2zm0 0" fill="#949390"/><path d="M116 82v-4c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4zm0 0" fill="#d5d3cf"/><path d="M113 80c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm0 0" fill="#68676b"/><path d="M116 60v4c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4zm0 0" fill="#d5d3cf"/><path d="M113 62c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1zm0 0" fill="#68676b"/><path d="M108 48v4c0 2.21 1.79 4 4 4s4-1.79 4-4v-2l-4-2zm0 0" fill="#949390"/><path d="M108 46v4c0 2.21 1.79 4 4 4s4-1.79 4-4-1.79-4-4-4zm0 0" fill="#d5d3cf"/><path d="M111 48c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 0" fill="#68676b"/><path d="M116 36v6h-4c-2.215 0-4-1.785-4-4v-2zm0 0" fill="#949390"/><path d="M116 40v-4c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4zm0 0" fill="#d5d3cf"/><path d="M113 38c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm0 0" fill="#68676b"/></g><g id="u" clip-path="url(#r)"><path d="M128 80.64V128H0V80.64zm0 0" fill="url(#s)"/><path d="M13.309 80.64L60.664 128H81.88l-47.36-47.36zm42.421 0L103.094 128h21.215L76.945 80.64zm42.43 0L128 110.48V89.27l-8.629-8.63zM0 88.548v21.215L18.238 128h21.215zm0 0"/></g><linearGradient id="n" gradientUnits="userSpaceOnUse" x1="301" y1="33.559" x2="104" y2="33.559" gradientTransform="matrix(.25 0 0 .25 -2 233)"><stop offset="0" stop-color="#f9f06b"/><stop offset="1" stop-color="#f9f06b" stop-opacity="0"/></linearGradient><linearGradient id="s" gradientUnits="userSpaceOnUse" x1="300" y1="235" x2="428" y2="235" gradientTransform="matrix(0 .37 -.98462 0 295.385 -30.36)"><stop offset="0" stop-color="#f9f06b"/><stop offset="1" stop-color="#f5c211"/></linearGradient><linearGradient id="i" gradientUnits="userSpaceOnUse" x1="120" y1="619.964" x2="568" y2="619.964" gradientTransform="matrix(.25 0 0 .25 -22 -50.991)"><stop offset="0" stop-color="#d5d3cf"/><stop offset=".036" stop-color="#e4e1de"/><stop offset=".071" stop-color="#d5d3cf"/><stop offset=".929" stop-color="#d5d3cf"/><stop offset=".964" stop-color="#e4e1de"/><stop offset="1" stop-color="#d5d3cf"/></linearGradient><linearGradient id="z" gradientUnits="userSpaceOnUse" x1="301" y1="33.559" x2="104" y2="33.559" gradientTransform="matrix(.25 0 0 .25 -2 233)"><stop offset="0" stop-color="#f9f06b"/><stop offset="1" stop-color="#f9f06b" stop-opacity="0"/></linearGradient><linearGradient id="w" gradientUnits="userSpaceOnUse" x1="120" y1="619.964" x2="568" y2="619.964" gradientTransform="matrix(.25 0 0 .25 -22 -50.991)"><stop offset="0" stop-color="#d5d3cf"/><stop offset=".036" stop-color="#e4e1de"/><stop offset=".071" stop-color="#d5d3cf"/><stop offset=".929" stop-color="#d5d3cf"/><stop offset=".964" stop-color="#e4e1de"/><stop offset="1" stop-color="#d5d3cf"/></linearGradient><radialGradient id="f" gradientUnits="userSpaceOnUse" cx="64" cy="194.19" fx="64" fy="194.19" r="44" gradientTransform="matrix(-4.13636 0 0 1.3909 319.227 -170.635)"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity=".094"/></radialGradient><radialGradient id="c" gradientUnits="userSpaceOnUse" cx="64" cy="194.19" fx="64" fy="194.19" r="44" gradientTransform="matrix(-4.13636 0 0 1.3909 319.227 -170.635)"><stop offset="0" stop-color="#fff"/><stop offset="1" stop-color="#fff" stop-opacity=".094"/></radialGradient><filter id="a" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%"><feColorMatrix in="SourceGraphic" values="0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 1 0"/></filter></defs><path d="M16 28h96a8 8 0 018 8v70a8 8 0 01-8 8H16a8 8 0 01-8-8V36a8 8 0 018-8zm0 0" fill="#f6f5f4"/><path d="M16 32h84c2.21 0 4 1.79 4 4v68c0 2.21-1.79 4-4 4H16c-2.21 0-4-1.79-4-4V36c0-2.21 1.79-4 4-4zm0 0" fill="#241f31"/><path d="M8 104v4c0 4.434 3.566 8 8 8h96c4.434 0 8-3.566 8-8v-4c0 4.434-3.566 8-8 8H16a7.98 7.98 0 01-8-8zm0 0" fill="url(#w)"/><use xlink:href="#j" mask="url(#x)"/><use xlink:href="#l" mask="url(#y)"/><path d="M16 246h26l10-23 6 39 8-16h6" transform="translate(0 -172)" fill="none" stroke-width="4" stroke-linecap="round" stroke="url(#z)" stroke-miterlimit="10"/><path d="M116 62v4c0 2.21-1.79 4-4 4s-4-1.79-4-4v-2l4-2zm0 0M116 78v6h-4c-2.215 0-4-1.785-4-4v-2zm0 0" fill="#949390"/><path d="M116 82v-4c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4zm0 0" fill="#d5d3cf"/><path d="M113 80c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm0 0" fill="#68676b"/><path d="M116 60v4c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4zm0 0" fill="#d5d3cf"/><path d="M113 62c0-.55.45-1 1-1s1 .45 1 1-.45 1-1 1-1-.45-1-1zm0 0" fill="#68676b"/><path d="M108 48v4c0 2.21 1.79 4 4 4s4-1.79 4-4v-2l-4-2zm0 0" fill="#949390"/><path d="M108 46v4c0 2.21 1.79 4 4 4s4-1.79 4-4-1.79-4-4-4zm0 0" fill="#d5d3cf"/><path d="M111 48c0-.55-.45-1-1-1s-1 .45-1 1 .45 1 1 1 1-.45 1-1zm0 0" fill="#68676b"/><path d="M116 36v6h-4c-2.215 0-4-1.785-4-4v-2zm0 0" fill="#949390"/><path d="M116 40v-4c0-2.21-1.79-4-4-4s-4 1.79-4 4 1.79 4 4 4zm0 0" fill="#d5d3cf"/><path d="M113 38c0 .55.45 1 1 1s1-.45 1-1-.45-1-1-1-1 .45-1 1zm0 0" fill="#68676b"/><use xlink:href="#A" mask="url(#B)"/></svg>
\ No newline at end of file diff --git a/data/icons/public/hicolor/scalable/apps/org.gnome.SystemMonitor.svg b/data/icons/public/hicolor/scalable/apps/org.gnome.SystemMonitor.svg new file mode 100644 index 0000000..844525d --- /dev/null +++ b/data/icons/public/hicolor/scalable/apps/org.gnome.SystemMonitor.svg @@ -0,0 +1,290 @@ +<?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:xlink="http://www.w3.org/1999/xlink" + width="128" + height="128" + id="svg11300" + version="1.0" + style="display:inline;enable-background:new" + viewBox="0 0 128 128"> + <title + id="title4162">Adwaita Icon Template</title> + <defs + id="defs3"> + <linearGradient + id="linearGradient1076"> + <stop + style="stop-color:#d5d3cf;stop-opacity:1" + offset="0" + id="stop1064" /> + <stop + id="stop1066" + offset="0.03571428" + style="stop-color:#e4e1de;stop-opacity:1" /> + <stop + style="stop-color:#d5d3cf;stop-opacity:1" + offset="0.07142857" + id="stop1068" /> + <stop + id="stop1070" + offset="0.9285714" + style="stop-color:#d5d3cf;stop-opacity:1" /> + <stop + style="stop-color:#e4e1de;stop-opacity:1" + offset="0.96428573" + id="stop1072" /> + <stop + style="stop-color:#d5d3cf;stop-opacity:1" + offset="1" + id="stop1074" /> + </linearGradient> + <linearGradient + xlink:href="#linearGradient1076" + id="linearGradient1444-2-3-2" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.25,0,0,0.25,-22,109.00903)" + x1="120" + y1="619.96387" + x2="568" + y2="619.96387" /> + <linearGradient + xlink:href="#linearGradient985" + id="linearGradient1106-8" + x1="335.86829" + y1="33.559235" + x2="112.13174" + y2="33.559235" + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(0.25,0,0,0.25,-12,225)" /> + <linearGradient + id="linearGradient985"> + <stop + id="stop981" + offset="0" + style="stop-color:#f9f06b;stop-opacity:1" /> + <stop + id="stop983" + offset="1" + style="stop-color:#f9f06b;stop-opacity:0" /> + </linearGradient> + <radialGradient + xlink:href="#linearGradient1020" + id="radialGradient1030" + cx="64.846146" + cy="194.19048" + fx="64.846146" + fy="194.19048" + r="44" + gradientTransform="matrix(-4.7272726,1.1058296e-6,-3.0301491e-7,-1.2272727,250.54547,-21.6754)" + gradientUnits="userSpaceOnUse" /> + <linearGradient + id="linearGradient1020"> + <stop + style="stop-color:#ffffff;stop-opacity:1;" + offset="0" + id="stop1016" /> + <stop + style="stop-color:#ffffff;stop-opacity:0.09411765" + offset="1" + id="stop1018" /> + </linearGradient> + <linearGradient + y2="619.96387" + x2="568" + y1="619.96387" + x1="120" + gradientTransform="matrix(0.25,0,0,0.25,-22.00001,-50.99097)" + gradientUnits="userSpaceOnUse" + id="linearGradient1444-2-3-3" + xlink:href="#linearGradient1076" /> + <radialGradient + gradientUnits="userSpaceOnUse" + gradientTransform="matrix(-4.1363634,1.2532736e-6,-2.6513804e-7,-1.3909091,319.22728,170.63455)" + r="44" + fy="194.19048" + fx="63.999996" + cy="194.19048" + cx="63.999996" + id="radialGradient1030-8" + xlink:href="#linearGradient1020" /> + <linearGradient + gradientTransform="matrix(0.25,0,0,0.25,-2.00001,61)" + gradientUnits="userSpaceOnUse" + y2="33.559235" + x2="104" + y1="33.559235" + x1="301" + id="linearGradient1106-2" + xlink:href="#linearGradient985" /> + </defs> + <metadata + id="metadata4"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + <dc:creator> + <cc:Agent> + <dc:title>GNOME Design Team</dc:title> + </cc:Agent> + </dc:creator> + <dc:source /> + <cc:license + rdf:resource="http://creativecommons.org/licenses/by-sa/4.0/" /> + <dc:title>Adwaita Icon Template</dc:title> + <dc:subject> + <rdf:Bag /> + </dc:subject> + <dc:date /> + <dc:rights> + <cc:Agent> + <dc:title /> + </cc:Agent> + </dc:rights> + <dc:publisher> + <cc:Agent> + <dc:title /> + </cc:Agent> + </dc:publisher> + <dc:identifier /> + <dc:relation /> + <dc:language /> + <dc:coverage /> + <dc:description /> + <dc:contributor> + <cc:Agent> + <dc:title /> + </cc:Agent> + </dc:contributor> + </cc:Work> + <cc:License + rdf:about="http://creativecommons.org/licenses/by-sa/4.0/"> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Reproduction" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#Distribution" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Notice" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#Attribution" /> + <cc:permits + rdf:resource="http://creativecommons.org/ns#DerivativeWorks" /> + <cc:requires + rdf:resource="http://creativecommons.org/ns#ShareAlike" /> + </cc:License> + </rdf:RDF> + </metadata> + <rect + style="display:inline;opacity:1;vector-effect:none;fill:#f6f5f4;fill-opacity:1;stroke:none;stroke-width:0.01129821px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + id="rect929-36-9-9" + width="112" + height="86" + x="8" + y="28" + rx="7.9999995" + ry="7.999999" /> + <rect + rx="3.9999998" + style="display:inline;opacity:1;vector-effect:none;fill:#241f31;fill-opacity:1;stroke:none;stroke-width:0.01129821px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + id="rect946-0-7-4" + width="92" + height="76" + x="12" + y="32" + ry="4" /> + <path + style="display:inline;opacity:1;vector-effect:none;fill:url(#linearGradient1444-2-3-3);fill-opacity:1;stroke:none;stroke-width:0.01129821px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + d="m 7.99999,104 v 4 c 0,4.432 3.568,8 8,8 h 96 c 4.432,0 8,-3.568 8,-8 v -4 c 0,4.432 -3.568,8 -8,8 h -96 c -4.432,0 -8,-3.568 -8,-8 z" + id="rect929-3-6-3-9" /> + <rect + y="-104" + x="16" + height="68" + width="84" + id="rect968-2" + style="display:inline;opacity:0.05;vector-effect:none;fill:url(#radialGradient1030-8);fill-opacity:1;stroke:none;stroke-width:0.01121096px;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + transform="scale(1,-1)" /> + <path + id="path1092-6-1-3-7-5-5" + style="display:inline;opacity:0.23600003;fill:none;stroke:#e5a50a;stroke-width:4;stroke-linecap:butt;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;enable-background:new" + d="m 15.99999,74 h 26 l 10,-23 6,39 8,-16 h 34" /> + <path + id="path1092-6-1-3-7-5-1-0" + style="display:inline;opacity:1;fill:none;stroke:url(#linearGradient1106-2);stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:10;stroke-dasharray:none;stroke-opacity:1;enable-background:new" + d="m 15.99999,74 h 26 l 10,-23 6,39 8,-16 h 6" /> + <g + transform="translate(0,-170)" + id="g1063"> + <path + style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + d="m 115.99999,232 v 4 c 0,2.20914 -1.79086,4 -4,4 -2.20914,0 -4,-1.79086 -4,-4 v -2 l 4,-2 z" + id="path1066" /> + <path + id="path1074" + d="m 115.99999,248 v 6 h -4 c -2.216,0 -4,-1.784 -4,-4 v -2 z" + style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <path + id="path1076" + d="m 115.99999,252 v -4 a 4,3.9999998 0 0 0 -4,-4 4,3.9999998 0 0 0 -4,4 4,3.9999998 0 0 0 4,4 z" + style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <ellipse + ry="1.0000002" + rx="1" + cy="250" + cx="-113.99997" + id="ellipse1078" + style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + transform="scale(-1,1)" /> + <path + style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + d="m 115.99999,230 v 4 a 4,3.9999998 0 0 1 -4,4 4,3.9999998 0 0 1 -4,-4 4,3.9999998 0 0 1 4,-4 z" + id="path1080" /> + <ellipse + transform="scale(-1)" + style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + id="ellipse1082" + cx="-113.99997" + cy="-232" + rx="1" + ry="1.0000002" /> + <path + id="path1084" + d="m 107.99999,218 v 4 c 0,2.20914 1.79086,4 4,4 2.20914,0 4,-1.79086 4,-4 v -2 l -4,-2 z" + style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <path + id="path1086" + d="m 107.99999,216 v 4 a 4,3.9999998 0 0 0 4,4 4,3.9999998 0 0 0 4,-4 4,3.9999998 0 0 0 -4,-4 z" + style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" /> + <ellipse + ry="1.0000002" + rx="1" + cy="-218" + cx="109.99997" + id="ellipse1088" + style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + transform="scale(1,-1)" /> + <path + style="display:inline;opacity:1;vector-effect:none;fill:#949390;fill-opacity:1;stroke:none;stroke-width:4;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + d="m 115.99999,206 v 6 h -4 c -2.216,0 -4,-1.784 -4,-4 v -2 z" + id="path1090" /> + <path + style="display:inline;opacity:1;vector-effect:none;fill:#d5d3cf;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + d="m 115.99999,210 v -4 a 4,3.9999998 0 0 0 -4,-4 4,3.9999998 0 0 0 -4,4 4,3.9999998 0 0 0 4,4 z" + id="path1092" /> + <ellipse + transform="scale(-1,1)" + style="display:inline;opacity:1;vector-effect:none;fill:#68676b;fill-opacity:1;stroke:none;stroke-width:3.99999952;stroke-linecap:round;stroke-linejoin:miter;stroke-miterlimit:4;stroke-dasharray:none;stroke-dashoffset:0;stroke-opacity:1;marker:none;marker-start:none;marker-mid:none;marker-end:none;paint-order:normal;enable-background:new" + id="ellipse1094" + cx="-113.99997" + cy="208" + rx="1" + ry="1.0000002" /> + </g> +</svg> diff --git a/data/icons/public/hicolor/symbolic/apps/org.gnome.SystemMonitor-symbolic.svg b/data/icons/public/hicolor/symbolic/apps/org.gnome.SystemMonitor-symbolic.svg new file mode 100644 index 0000000..18465f6 --- /dev/null +++ b/data/icons/public/hicolor/symbolic/apps/org.gnome.SystemMonitor-symbolic.svg @@ -0,0 +1,6 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"> + <g font-weight="400" fill="#2e3436"> + <path d="M2.188 2C.982 2 0 3.018 0 4.219v7.562C0 12.982.982 14 2.188 14h11.624C15.018 14 16 12.982 16 11.781V4.22C16 3.018 15.018 2 13.812 2zm0 2h11.624c.12 0 .188.08.188.219v7.562c0 .139-.067.219-.188.219H2.188c-.12 0-.188-.08-.188-.219V4.22C2 4.08 2.067 4 2.188 4z" style="line-height:normal;-inkscape-font-specification:'Bitstream Vera Sans';text-indent:0;text-align:start;text-decoration-line:none;text-transform:none;marker:none" color="#bebebe" font-family="Bitstream Vera Sans" overflow="visible"/> + <path d="M7.486 5a.5.5 0 0 0-.447.309L5.916 8H3v1h3.25a.5.5 0 0 0 .46-.309l.62-1.488.68 3.395a.5.5 0 0 0 .89.203L10.25 9H13V8h-3a.5.5 0 0 0-.4.2L8.77 9.304l-.78-3.903A.5.5 0 0 0 7.485 5z" style="line-height:normal;font-variant-ligatures:normal;font-variant-position:normal;font-variant-caps:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-feature-settings:normal;text-indent:0;text-align:start;text-decoration-line:none;text-decoration-style:solid;text-decoration-color:#000;text-transform:none;text-orientation:mixed;shape-padding:0;isolation:auto;mix-blend-mode:normal" color="#000" font-family="sans-serif" white-space="normal" overflow="visible"/> + </g> +</svg> diff --git a/data/interface.ui b/data/interface.ui new file mode 100644 index 0000000..ecabaec --- /dev/null +++ b/data/interface.ui @@ -0,0 +1,541 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkApplicationWindow" id="main_window"> + <property name="can_focus">False</property> + <property name="title" translatable="yes">System Monitor</property> + <property name="default_width">440</property> + <property name="default_height">495</property> + <property name="icon_name">org.gnome.SystemMonitor</property> + <child type="titlebar"> + <object class="GtkHeaderBar" id="header_bar"> + <property name="visible">True</property> + <property name="show_close_button">True</property> + <style> + <class name="titlebar"/> + </style> + <child type="title"> + <object class="GtkStackSwitcher" id="stack_switcher"> + <property name="visible">True</property> + <property name="stack">stack</property> + </object> + </child> + <child> + <object class="GtkMenuButton" id="process_menu_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="use_popover">True</property> + <property name="valign">center</property> + <property name="halign">end</property> + <property name="direction">none</property> + <accelerator key="F10" signal="clicked"/> + <style> + <class name="title-button"/> + </style> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + <child> + <object class="GtkMenuButton" id="window_menu_button"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="use_popover">True</property> + <property name="valign">center</property> + <property name="halign">end</property> + <property name="direction">none</property> + <accelerator key="F10" signal="clicked"/> + <style> + <class name="title-button"/> + </style> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + <child> + <object class="GtkToggleButton" id="search_button"> + <property name="visible">True</property> + <property name="active">False</property> + <property name="valign">center</property> + <property name="margin_start">6</property> + <property name="action_name">win.search</property> + <property name="action_target">@b false</property> + <style> + <class name="title-button"/> + </style> + <child> + <object class="GtkImage" id="search_image"> + <property name="visible">True</property> + <property name="icon_size">1</property> + <property name="icon_name">edit-find-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + </object> + </child> + <child> + <object class="GtkBox" id="main_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="width_request">560</property> + <child> + <object class="GtkStack" id="stack"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <child> + <object class="GtkBox" id="proc_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkSearchBar" id="proc_searchbar"> + <property name="visible">False</property> + <property name="can_focus">False</property> + <property name="vexpand_set">True</property> + <property name="vexpand">False</property> + <child> + <object class="GtkSearchEntry" id="proc_searchentry"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="halign">fill</property> + <property name="width_request">300</property> + </object> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow" id="processes_scrolled"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow_type">none</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkRevealer" id="proc_actionbar_revealer"> + <property name="visible">True</property> + <property name="transition_type">slide-up</property> + <child> + <object class="GtkActionBar" id="proc_actionbar"> + <property name="visible">True</property> + <child> + <object class="GtkButton" id="end_process_button"> + <property name="label" translatable="yes">_End Process</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="halign">start</property> + <property name="use_underline">True</property> + <property name="action_name">win.send-signal-end</property> + <property name="action_target">@i 15</property> + <accelerator key="Delete" signal="clicked"/> + </object> + </child> + <child> + <object class="GtkButton" id="proc_properties_button"> + <property name="visible">True</property> + <property name="tooltip_text" translatable="yes">Show process properties</property> + <property name="action_name">win.process-properties</property> + <child> + <object class="GtkImage" id="proc_properties_image"> + <property name="visible">True</property> + <property name="icon_size">1</property> + <property name="icon_name">document-properties-symbolic</property> + </object> + </child> + </object> + <packing> + <property name="pack_type">end</property> + </packing> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="name">processes</property> + <property name="title" translatable="yes">Processes</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow" id="res_scrolled"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow_type">none</property> + <child> + <object class="GtkBox" id="res_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="border_width">8</property> + <property name="orientation">vertical</property> + <property name="spacing">10</property> + <child> + <object class="GtkLabel" id="cpu_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">CPU History</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkBox" id="cpu_graph_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkGrid" id="cpu_table"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">57</property> + <property name="hexpand">True</property> + <property name="row_spacing">1</property> + <property name="column_spacing">6</property> + <property name="row_homogeneous">True</property> + <property name="column_homogeneous">True</property> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="mem_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Memory and Swap History</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">2</property> + </packing> + </child> + <child> + <object class="GtkBox" id="mem_graph_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkGrid" id="mem_table"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">54</property> + <property name="hexpand">True</property> + <property name="row_spacing">0</property> + <property name="column_spacing">6</property> + <property name="row_homogeneous">True</property> + <child> + <object class="GtkLabel" id="memory_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Memory</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="swap_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Swap</property> + </object> + <packing> + <property name="left_attach">3</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="net_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Network History</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">4</property> + </packing> + </child> + <child> + <object class="GtkBox" id="net_graph_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + <property name="spacing">6</property> + <child> + <object class="GtkGrid" id="net_table"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">54</property> + <property name="margin_end">12</property> + <property name="hexpand">True</property> + <property name="row_spacing">0</property> + <property name="column_spacing">6</property> + <property name="row_homogeneous">True</property> + <child> + <object class="GtkLabel" id="receiving_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Receiving</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="total_received_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Total Received</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="sending_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Sending</property> + </object> + <packing> + <property name="left_attach">5</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="total_sent_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Total Sent</property> + </object> + <packing> + <property name="left_attach">5</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">5</property> + </packing> + </child> + </object> + </child> + </object> + <packing> + <property name="name">resources</property> + <property name="title" translatable="yes">Resources</property> + </packing> + </child> + <child> + <object class="GtkBox" id="fs_box"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkScrolledWindow" id="disks_scrolled"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow_type">none</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + </object> + <packing> + <property name="name">disks</property> + <property name="title" translatable="yes">File Systems</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + </object> + </child> + </object> +</interface> diff --git a/data/lsof.ui b/data/lsof.ui new file mode 100644 index 0000000..bb81919 --- /dev/null +++ b/data/lsof.ui @@ -0,0 +1,84 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkWindow" id="lsof_dialog"> + <property name="can_focus">False</property> + <property name="border_width">0</property> + <property name="title" translatable="yes" context="Window title for Search for Open Files dialog">Search for Open Files</property> + <property name="default_width">575</property> + <property name="default_height">400</property> + <property name="destroy_with_parent">True</property> + <child > + <object class="GtkBox" id="mainbox"> + <property name="visible">True</property> + <property name="border_width">0</property> + <property name="can_focus">False</property> + <property name="spacing">0</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkBox" id="search_box"> + <property name="visible">True</property> + <property name="border_width">6</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <child> + <object class="GtkSearchEntry" id="entry"> + <property name="visible">True</property> + <property name="width_request">300</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="invisible_char">•</property> + <property name="placeholder-text" translatable="yes">Filter files by name</property> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="case_button"> + <property name="label" translatable="yes">Case insensitive</property> + <property name="use_action_appearance">False</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="use_action_appearance">False</property> + <property name="halign">start</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">False</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow" id="scrolled"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow_type">in</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="padding">0</property> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">3</property> + </packing> + </child> + </object> + </child> + </object> +</interface> diff --git a/data/menus.ui b/data/menus.ui new file mode 100644 index 0000000..94a331b --- /dev/null +++ b/data/menus.ui @@ -0,0 +1,155 @@ +<?xml version="1.0"?> +<interface> + <menu id="generic-window-menu"> + <section> + <item> + <attribute name="label" translatable="yes" context="Menu item to Open Search for Open Files dialog">Search for Open Files</attribute> + <attribute name="action">app.lsof</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Preferences</attribute> + <attribute name="action">app.preferences</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Help</attribute> + <attribute name="action">app.help</attribute> + </item> + <item> + <attribute name="label" translatable="yes">About System Monitor</attribute> + <attribute name="action">win.about</attribute> + </item> + </section> + </menu> + <menu id="process-window-menu"> + <section> + <item> + <attribute name="label" translatable="yes">_Refresh</attribute> + <attribute name="action">win.refresh</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Active Processes</attribute> + <attribute name="action">win.show-whose-processes</attribute> + <attribute name="target">active</attribute> + </item> + <item> + <attribute name="label" translatable="yes">A_ll Processes</attribute> + <attribute name="action">win.show-whose-processes</attribute> + <attribute name="target">all</attribute> + </item> + <item> + <attribute name="label" translatable="yes">M_y Processes</attribute> + <attribute name="action">win.show-whose-processes</attribute> + <attribute name="target">user</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Show _Dependencies</attribute> + <attribute name="action">win.show-dependencies</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes" context="Menu item to Open Search for Open Files dialog">Search for Open Files</attribute> + <attribute name="action">app.lsof</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Preferences</attribute> + <attribute name="action">app.preferences</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Help</attribute> + <attribute name="action">app.help</attribute> + </item> + <item> + <attribute name="label" translatable="yes">About System Monitor</attribute> + <attribute name="action">win.about</attribute> + </item> + </section> + </menu> + <menu id="process-popup-menu"> + <section> + <item> + <attribute name="label" translatable="yes">_Properties</attribute> + <attribute name="action">win.process-properties</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Memory Maps</attribute> + <attribute name="action">win.memory-maps</attribute> + </item> + <item> + <attribute name="label" translatable="yes" comments="Translators: this means 'Files that are open' (open is not a verb here)">Open _Files</attribute> + <attribute name="action">win.open-files</attribute> + </item> + </section> + <section> + <submenu> + <attribute name="label" translatable="yes">_Change Priority</attribute> + <section> + <item> + <attribute name="label" translatable="yes">Very High</attribute> + <attribute name="action">win.priority</attribute> + <attribute name="target" type="i">-20</attribute> + </item> + <item> + <attribute name="label" translatable="yes">High</attribute> + <attribute name="action">win.priority</attribute> + <attribute name="target" type="i">-5</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Normal</attribute> + <attribute name="action">win.priority</attribute> + <attribute name="target" type="i">0</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Low</attribute> + <attribute name="action">win.priority</attribute> + <attribute name="target" type="i">5</attribute> + </item> + <item> + <attribute name="label" translatable="yes">Very Low</attribute> + <attribute name="action">win.priority</attribute> + <attribute name="target" type="i">19</attribute> + </item> + </section> + <section> + <item> + <attribute name="label" translatable="yes">Custom</attribute> + <attribute name="action">win.priority</attribute> + <attribute name="target" type="i">32</attribute> + </item> + </section> + </submenu> + </section> + <section> + <item> + <attribute name="label" translatable="yes">_Stop</attribute> + <attribute name="action">win.send-signal-stop</attribute> + <attribute name="target" type="i">19</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Continue</attribute> + <attribute name="action">win.send-signal-cont</attribute> + <attribute name="target" type="i">18</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_End</attribute> + <attribute name="action">win.send-signal-end</attribute> + <attribute name="target" type="i">15</attribute> + </item> + <item> + <attribute name="label" translatable="yes">_Kill</attribute> + <attribute name="action">win.send-signal-kill</attribute> + <attribute name="target" type="i">9</attribute> + </item> + </section> + </menu> +</interface> diff --git a/data/meson.build b/data/meson.build new file mode 100644 index 0000000..feb1c1e --- /dev/null +++ b/data/meson.build @@ -0,0 +1 @@ +subdir('icons') diff --git a/data/openfiles.ui b/data/openfiles.ui new file mode 100644 index 0000000..4da3338 --- /dev/null +++ b/data/openfiles.ui @@ -0,0 +1,70 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkDialog" id="openfiles_dialog"> + <property name="can_focus">False</property> + <property name="border_width">5</property> + <property name="use_header_bar">1</property> + <property name="title" translatable="yes">Open Files</property> + <property name="default_width">575</property> + <property name="default_height">400</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog_content"> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child> + <object class="GtkGrid" id="content_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="border_width">5</property> + <property name="row_spacing">6</property> + <property name="column_spacing">6</property> + <child> + <object class="GtkScrolledWindow" id="scrolled"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="vexpand">True</property> + <property name="shadow_type">in</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="cmd_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="row_spacing">12</property> + <property name="column_spacing">12</property> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + </object> +</interface> diff --git a/data/preferences.ui b/data/preferences.ui new file mode 100644 index 0000000..a2676b3 --- /dev/null +++ b/data/preferences.ui @@ -0,0 +1,717 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkDialog" id="preferences_dialog"> + <property name="can_focus">False</property> + <property name="use_header_bar">1</property> + <property name="border_width">5</property> + <property name="title" translatable="yes">System Monitor Preferences</property> + <property name="default_width">400</property> + <property name="default_height">495</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog_layout"> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child> + <object class="GtkGrid" id="content_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="column_spacing">2</property> + <child> + <object class="GtkNotebook" id="notebook"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="border_width">5</property> + <child> + <object class="GtkGrid" id="processes_tab_content"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="border_width">12</property> + <property name="orientation">vertical</property> + <property name="row_spacing">18</property> + <child> + <object class="GtkGrid" id="processes_behavior"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkLabel" id="processes_behavior_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Behavior</property> + <property name="justify">fill</property> + <property name="ellipsize">end</property> + <property name="single_line_mode">True</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="processes_behavior_section"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="hexpand">True</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkGrid" id="update_interval_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="processes_interval_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">_Update interval in seconds:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">processes_interval_spinner</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="processes_interval_spinner"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="invisible_char">•</property> + <property name="climb_rate">1</property> + <property name="digits">2</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="smooth_button"> + <property name="label" translatable="yes">Enable _smooth refresh</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="hexpand">True</property> + <property name="use_underline">True</property> + <property name="halign">start</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="check_button"> + <property name="label" translatable="yes">Alert before ending or _killing processes</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="hexpand">True</property> + <property name="use_underline">True</property> + <property name="halign">start</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="solaris_button"> + <property name="label" translatable="yes">_Divide CPU usage by CPU count</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="hexpand">True</property> + <property name="use_underline">True</property> + <property name="halign">start</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="processes_fields"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkLabel" id="processes_fields_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Information Fields</property> + <property name="justify">fill</property> + <property name="ellipsize">end</property> + <property name="single_line_mode">True</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="processes_fields_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkLabel" id="processes_fields_table_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Process i_nformation shown in list:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">proctree_columns</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow" id="processes_scrolled"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkTreeView" id="proctree_columns"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="headers_visible">False</property> + <property name="enable_search">False</property> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="processes-columns-selection"/> + </child> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + </child> + <child type="tab"> + <object class="GtkLabel" id="processes_tab_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Processes</property> + </object> + <packing> + <property name="tab_fill">False</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="resources_tab_content"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="border_width">12</property> + <property name="orientation">vertical</property> + <property name="row_spacing">18</property> + <child> + <object class="GtkGrid" id="resources_graphs"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkLabel" id="resources_graphs_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Graphs</property> + <property name="justify">fill</property> + <property name="ellipsize">end</property> + <property name="single_line_mode">True</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="resources_graphs_section"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkGrid" id="resources_update_interval"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="resources_interval_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">_Update interval in seconds:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">resources_interval_spinner</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="resources_interval_spinner"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="invisible_char">•</property> + <property name="climb_rate">1</property> + <property name="digits">2</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="draw_stacked_button"> + <property name="label" translatable="yes">_Draw CPU chart as stacked area chart</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="hexpand">True</property> + <property name="use_underline">True</property> + <property name="halign">start</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="draw_smooth_button"> + <property name="label" translatable="yes">Draw CPU chart as s_mooth graph</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="hexpand">True</property> + <property name="use_underline">True</property> + <property name="halign">start</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">2</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="bits_button"> + <property name="label" translatable="yes">_Show network speed in bits</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="hexpand">True</property> + <property name="use_underline">True</property> + <property name="halign">start</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">3</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="position">1</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="resources_tab_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">Resources</property> + </object> + <packing> + <property name="position">1</property> + <property name="tab_fill">False</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="devices_tab_content"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="border_width">12</property> + <property name="orientation">vertical</property> + <property name="row_spacing">18</property> + <child> + <object class="GtkGrid" id="devices_behavior"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkLabel" id="devices_behavior_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Behavior</property> + <property name="justify">fill</property> + <property name="ellipsize">end</property> + <property name="single_line_mode">True</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="devices_behavior_section"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="hexpand">True</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkGrid" id="devices_interval_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="devices_interval_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">_Update interval in seconds:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">devices_interval_spinner</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkSpinButton" id="devices_interval_spinner"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="invisible_char">•</property> + <property name="climb_rate">1</property> + <property name="digits">2</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkCheckButton" id="all_devices_check"> + <property name="label" translatable="yes">Show _all file systems</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="hexpand">True</property> + <property name="use_underline">True</property> + <property name="halign">start</property> + <property name="draw_indicator">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="devices_fields"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkLabel" id="devices_fields_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="halign">start</property> + <property name="label" translatable="yes">Information Fields</property> + <property name="justify">fill</property> + <property name="ellipsize">end</property> + <property name="single_line_mode">True</property> + <attributes> + <attribute name="weight" value="bold"/> + </attributes> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="devices_fields_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="margin_start">12</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="orientation">vertical</property> + <property name="row_spacing">6</property> + <child> + <object class="GtkLabel" id="devices_fields_table_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes">File system i_nformation shown in list:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">disktreenew_columns</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkScrolledWindow" id="devices_scrolled"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="shadow_type">in</property> + <child> + <object class="GtkTreeView" id="disktreenew_columns"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="headers_visible">False</property> + <property name="enable_search">False</property> + <child internal-child="selection"> + <object class="GtkTreeSelection" id="devices-treeview-selection"/> + </child> + </object> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="position">2</property> + </packing> + </child> + <child type="tab"> + <object class="GtkLabel" id="file_systems_tab_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="label" translatable="yes">File Systems</property> + </object> + <packing> + <property name="position">2</property> + <property name="tab_fill">False</property> + </packing> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + </object> +</interface> diff --git a/data/renice.ui b/data/renice.ui new file mode 100644 index 0000000..8db1fa9 --- /dev/null +++ b/data/renice.ui @@ -0,0 +1,166 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="GtkAdjustment" id="renice_adj"> + <property name="lower">-20</property> + <property name="upper">20</property> + <property name="step_increment">1</property> + <property name="page_increment">10</property> + </object> + <object class="GtkDialog" id="renice_dialog"> + <property name="can_focus">False</property> + <property name="border_width">5</property> + <property name="resizable">False</property> + <property name="destroy_with_parent">True</property> + <property name="type_hint">dialog</property> + <child internal-child="vbox"> + <object class="GtkBox" id="dialog-vbox4"> + <property name="can_focus">False</property> + <property name="orientation">vertical</property> + <property name="spacing">2</property> + <child internal-child="action_area"> + <object class="GtkButtonBox" id="dialog-action_area4"> + <property name="can_focus">False</property> + <property name="layout_style">end</property> + <child> + <object class="GtkButton" id="cancel_button"> + <property name="label" translatable="yes">_Cancel</property> + <property name="use_action_appearance">False</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkButton" id="change_priority_button"> + <property name="label" translatable="yes">Change _Priority</property> + <property name="use_action_appearance">False</property> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="can_default">True</property> + <property name="receives_default">True</property> + <property name="use_action_appearance">False</property> + <property name="use_underline">True</property> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">False</property> + <property name="fill">True</property> + <property name="pack_type">end</property> + <property name="position">0</property> + </packing> + </child> + <child> + <object class="GtkGrid" id="dialog_content_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="border_width">12</property> + <property name="orientation">vertical</property> + <property name="row_spacing">12</property> + <child> + <object class="GtkGrid" id="renice_grid"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="hexpand">True</property> + <property name="vexpand">True</property> + <property name="row_spacing">6</property> + <property name="column_spacing">12</property> + <child> + <object class="GtkLabel" id="nice_value_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="valign">end</property> + <property name="label" translatable="yes">_Nice value:</property> + <property name="use_underline">True</property> + <property name="mnemonic_widget">nice_value_scale</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkScale" id="nice_value_scale"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="hexpand">True</property> + <property name="adjustment">renice_adj</property> + <property name="round_digits">0</property> + <property name="digits">0</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="priority_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + </object> + <packing> + <property name="left_attach">1</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <placeholder/> + </child> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">0</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + <child> + <object class="GtkLabel" id="note_label"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="halign">start</property> + <property name="label" translatable="yes"><small><i><b>Note:</b> The priority of a process is given by its nice value. A lower nice value corresponds to a higher priority.</i></small></property> + <property name="use_markup">True</property> + </object> + <packing> + <property name="left_attach">0</property> + <property name="top_attach">1</property> + <property name="width">1</property> + <property name="height">1</property> + </packing> + </child> + </object> + <packing> + <property name="expand">True</property> + <property name="fill">True</property> + <property name="position">1</property> + </packing> + </child> + </object> + </child> + <action-widgets> + <action-widget response="-6">cancel_button</action-widget> + <action-widget response="100">change_priority_button</action-widget> + </action-widgets> + </object> +</interface> |