diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/help-overlay.ui | 144 | ||||
-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/icons/public/hicolor/symbolic/apps/speedometer-symbolic.svg | 8 | ||||
-rw-r--r-- | data/interface.ui | 579 | ||||
-rw-r--r-- | data/lsof.ui | 84 | ||||
-rw-r--r-- | data/menus.ui | 167 | ||||
-rw-r--r-- | data/meson.build | 1 | ||||
-rw-r--r-- | data/openfiles.ui | 70 | ||||
-rw-r--r-- | data/preferences.ui | 362 | ||||
-rw-r--r-- | data/renice.ui | 166 | ||||
-rw-r--r-- | data/screenshots/Disks.png | bin | 0 -> 42850 bytes | |||
-rw-r--r-- | data/screenshots/Processes.png | bin | 0 -> 100735 bytes | |||
-rw-r--r-- | data/screenshots/Resources.png | bin | 0 -> 78888 bytes |
16 files changed, 1883 insertions, 0 deletions
diff --git a/data/help-overlay.ui b/data/help-overlay.ui new file mode 100644 index 0000000..daadf54 --- /dev/null +++ b/data/help-overlay.ui @@ -0,0 +1,144 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <object class="GtkShortcutsWindow" id="help_overlay"> + <property name="modal">true</property> + <child> + <object class="GtkShortcutsSection"> + <property name="visible">true</property> + <property name="section-name">shortcuts</property> + <property name="max-height">13</property> + <child> + <object class="GtkShortcutsGroup"> + <property name="visible">true</property> + <property name="title" translatable="yes" context="shortcut window">General</property> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator">F1</property> + <property name="title" translatable="yes" context="shortcut window">Show help</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator">F10</property> + <property name="title" translatable="yes" context="shortcut window">Open menu</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>question</property> + <property name="title" translatable="yes" context="shortcut window">Keyboard shortcuts</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>Q</property> + <property name="title" translatable="yes" context="shortcut window">Quit</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>F</property> + <property name="title" translatable="yes" context="shortcut window">Search</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Alt>1</property> + <property name="title" translatable="yes" context="shortcut window">Show Processes</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Alt>2</property> + <property name="title" translatable="yes" context="shortcut window">Show Resources</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Alt>3</property> + <property name="title" translatable="yes" context="shortcut window">Show File Systems</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>R</property> + <property name="title" translatable="yes" context="shortcut window">Refresh</property> + </object> + </child> + </object> + </child> + <child> + <object class="GtkShortcutsGroup"> + <property name="visible">true</property> + <property name="title" translatable="yes" context="shortcut window">Processes</property> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>D</property> + <property name="title" translatable="yes" context="shortcut window">Show dependencies</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Alt>Return</property> + <property name="title" translatable="yes" context="shortcut window">Show process properties</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>M</property> + <property name="title" translatable="yes" context="shortcut window">Memory maps</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>O</property> + <property name="title" translatable="yes" context="shortcut window">Open files</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>S</property> + <property name="title" translatable="yes" context="shortcut window">Send stop signal</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>C</property> + <property name="title" translatable="yes" context="shortcut window">Send continue signal</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>E</property> + <property name="title" translatable="yes" context="shortcut window">Send End signal</property> + </object> + </child> + <child> + <object class="GtkShortcutsShortcut"> + <property name="visible">true</property> + <property name="accelerator"><Primary>K</property> + <property name="title" translatable="yes" context="shortcut window">Send Kill signal</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> +</interface> 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/icons/public/hicolor/symbolic/apps/speedometer-symbolic.svg b/data/icons/public/hicolor/symbolic/apps/speedometer-symbolic.svg new file mode 100644 index 0000000..3009a53 --- /dev/null +++ b/data/icons/public/hicolor/symbolic/apps/speedometer-symbolic.svg @@ -0,0 +1,8 @@ +<svg xmlns="http://www.w3.org/2000/svg" width="16.011" height="16"> + <g fill="#2e3436"> + <path d="M8.017 1.001c-2.049 0-4.098.78-5.656 2.338-3.116 3.116-3.116 8.197 0 11.313a1 1 0 101.414-1.414 5.984 5.984 0 010-8.485 5.984 5.984 0 018.485 0 5.984 5.984 0 010 8.485 1 1 0 101.414 1.414c3.116-3.116 3.116-8.197 0-11.313a7.975 7.975 0 00-5.657-2.338z" 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;white-space:normal;shape-padding:0;isolation:auto;mix-blend-mode:normal;solid-color:#000;solid-opacity:1;marker:none" color="#000" font-weight="400" font-family="sans-serif" overflow="visible"/> + <path d="M10.017 8.995a2 2 0 01-2 2 2 2 0 01-2-2 2 2 0 012-2 2 2 0 012 2z"/> + <path d="M4.01 4.238a.75.75 0 00-.524 1.289l3 3A.751.751 0 107.55 7.464l-3-3a.75.75 0 00-.54-.226zM7.517 1.995v2h1v-2z" 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;white-space:normal;shape-padding:0;isolation:auto;mix-blend-mode:normal;solid-color:#000;solid-opacity:1" color="#000" font-weight="400" font-family="sans-serif" overflow="visible" fill-rule="evenodd"/> + <path d="M3.422 3.693l-.707.707 1.414 1.414.707-.707zM1.017 8.495v1h2v-1zM13.017 8.495v1h2v-1zM12.613 3.693L11.2 5.107l.707.707L13.32 4.4zM4.129 12.177l-1.414 1.414.707.707 1.414-1.414zM11.906 12.177l-.707.707 1.414 1.414.707-.707z" 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;white-space:normal;shape-padding:0;isolation:auto;mix-blend-mode:normal;solid-color:#000;solid-opacity:1" color="#000" font-weight="400" font-family="sans-serif" overflow="visible" fill-rule="evenodd"/> + </g> +</svg> diff --git a/data/interface.ui b/data/interface.ui new file mode 100644 index 0000000..0e611d2 --- /dev/null +++ b/data/interface.ui @@ -0,0 +1,579 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.12 --> + <object class="HdyApplicationWindow" 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> + <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">620</property> + <property name="height-request">480</property> + <child> + <object class="HdyHeaderBar" 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="HdyViewSwitcher" id="view_switcher"> + <property name="visible">True</property> + <property name="stack">stack</property> + </object> + </child> + <child> + <object class="GtkBox" id="button_box"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="orientation">horizontal</property> + <property name="width-request">90</property> + <property name="spacing">6</property> + <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> + <packing> + <property name="pack-type">end</property> + </packing> + </child> + </object> + </child> + <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> + <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> + <property name="icon-name">view-list-symbolic</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> + <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="margin-bottom">6</property> + <property name="orientation">vertical</property> + <property name="spacing">10</property> + <child> + <object class="GtkExpander" id="cpu_expander"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="vexpand">True</property> + <property name="expanded">True</property> + <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="margin-top">6</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">21</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> + </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> + <child type="label"> + <object class="GtkBox" id="cpu_header"> + <property name="visible">True</property> + <property name="can-focus">False</property> + <property name="margin-start">6</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</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> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkExpander" id="mem_expander"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="vexpand">True</property> + <property name="expanded">True</property> + <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="margin-top">6</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> + </child> + <child type="label"> + <object class="GtkBox" id="mem_header"> + <property name="visible">True</property> + <property name="margin-start">6</property> + <property name="can-focus">False</property> + <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</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> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="GtkExpander" id="net_expander"> + <property name="visible">True</property> + <property name="can-focus">True</property> + <property name="vexpand">True</property> + <property name="expanded">True</property> + <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="margin-top">6</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> + </child> + <child type="label"> + <object class="GtkBox" id="net_header"> + <property name="visible">True</property> + <property name="margin-start">6</property> + <property name="can-focus">False</property> + <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</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> + <placeholder/> + </child> + <child> + <placeholder/> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + <packing> + <property name="name">resources</property> + <property name="title" translatable="yes">Resources</property> + <property name="icon-name">speedometer-symbolic</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> + <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> + <property name="icon-name">drive-harddisk-symbolic</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..3c44864 --- /dev/null +++ b/data/menus.ui @@ -0,0 +1,167 @@ +<?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">Keyboard Shortcuts</attribute> + <attribute name="action">win.show-help-overlay</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">Keyboard Shortcuts</attribute> + <attribute name="action">win.show-help-overlay</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> + <item> + <attribute name="label" translatable="yes">Set _Affinity</attribute> + <attribute name="action">win.set-affinity</attribute> + </item> + </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..6e7256a --- /dev/null +++ b/data/preferences.ui @@ -0,0 +1,362 @@ +<?xml version="1.0" encoding="UTF-8"?> +<interface> + <!-- interface-requires gtk+ 3.0 --> + <object class="HdyPreferencesWindow" id="preferences_dialog"> + <property name="visible">True</property> + <property name="can_focus">False</property> + <property name="title" translatable="yes">Preferences</property> + <property name="default_width">700</property> + <property name="default_height">700</property> + <property name="destroy_with_parent">True</property> + <child> + <object class="HdyPreferencesPage"> + <property name="visible">True</property> + <property name="title" translatable="yes">Processes</property> + <property name="icon-name">view-list-symbolic</property> + <child> + <object class="HdyPreferencesGroup"> + <property name="visible">True</property> + <property name="title" translatable="yes">Behavior</property> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">_Update Interval in Seconds</property> + <property name="activatable-widget">processes_interval_spinner</property> + <child> + <object class="GtkSpinButton" id="processes_interval_spinner"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="valign">center</property> + <property name="invisible_char">•</property> + <property name="climb_rate">1</property> + <property name="digits">2</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">Enable _Smooth Refresh</property> + <property name="activatable-widget">smooth_switch</property> + <child> + <object class="GtkSwitch" id="smooth_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">Alert Before Ending or _Killing Processes</property> + <property name="activatable-widget">check_switch</property> + <child> + <object class="GtkSwitch" id="check_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">_Divide CPU Usage by CPU Count</property> + <property name="activatable-widget">solaris_switch</property> + <child> + <object class="GtkSwitch" id="solaris_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">Show Memory in IEC</property> + <property name="activatable-widget">proc_mem_in_iec_switch</property> + <child> + <object class="GtkSwitch" id="proc_mem_in_iec_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="HdyPreferencesGroup"> + <property name="visible">True</property> + <property name="title" translatable="yes">Information Fields</property> + <property name="description" translatable="yes">Process information shown in list:</property> + <child> + <object class="GtkFrame"> + <property name="visible">True</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> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="HdyPreferencesPage"> + <property name="visible">True</property> + <property name="title" translatable="yes">Resources</property> + <property name="icon-name">speedometer-symbolic</property> + <child> + <object class="HdyPreferencesGroup"> + <property name="visible">True</property> + <property name="title" translatable="yes">Graphs</property> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">_Update Interval in Seconds</property> + <property name="activatable-widget">resources_interval_spinner</property> + <child> + <object class="GtkSpinButton" id="resources_interval_spinner"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="valign">center</property> + <property name="invisible_char">•</property> + <property name="climb_rate">1</property> + <property name="digits">2</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">_Chart Data Points</property> + <child> + <object class="GtkScale" id="graph_data_points_scale"> + <property name="hexpand">True</property> + <property name="orientation">horizontal</property> + <property name="visible">True</property> + <property name="draw-value">True</property> + <property name="value-pos">right</property> + <property name="digits">0</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">_Draw CPU Chart as Stacked Area Chart</property> + <property name="activatable-widget">draw_stacked_switch</property> + <child> + <object class="GtkSwitch" id="draw_stacked_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">Draw Charts as S_mooth Graphs</property> + <property name="activatable-widget">draw_smooth_switch</property> + <child> + <object class="GtkSwitch" id="draw_smooth_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">Show Memory and Swap in IEC</property> + <property name="activatable-widget">res_mem_in_iec_switch</property> + <child> + <object class="GtkSwitch" id="res_mem_in_iec_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">Show Memory in Logarithmic Scale</property> + <property name="activatable-widget">logarithmic_scale_switch</property> + <child> + <object class="GtkSwitch" id="logarithmic_scale_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">_Show Network Speed in Bits</property> + <property name="activatable-widget">bits_switch</property> + <child> + <object class="GtkSwitch" id="bits_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">Set Network Totals _Unit Separately</property> + <property name="activatable-widget">bits_unit_switch</property> + <child> + <object class="GtkSwitch" id="bits_unit_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">Show Network _Totals in Bits</property> + <property name="activatable-widget">bits_total_switch</property> + <property name="sensitive" bind-source="bits_unit_switch" bind-property="active" bind-flags="sync-create"/> + <child> + <object class="GtkSwitch" id="bits_total_switch"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="HdyPreferencesPage"> + <property name="visible">True</property> + <property name="title" translatable="yes">File Systems</property> + <property name="icon-name">drive-harddisk-symbolic</property> + <child> + <object class="HdyPreferencesGroup"> + <property name="visible">True</property> + <property name="title" translatable="yes">Behavior</property> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">_Update Interval in Seconds</property> + <property name="activatable-widget">devices_interval_spinner</property> + <child> + <object class="GtkSpinButton" id="devices_interval_spinner"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="valign">center</property> + <property name="invisible_char">•</property> + <property name="climb_rate">1</property> + <property name="digits">2</property> + </object> + </child> + </object> + </child> + <child> + <object class="HdyActionRow"> + <property name="visible">True</property> + <property name="use-underline">True</property> + <property name="title" translatable="yes">Show _All File Systems</property> + <property name="activatable-widget">all_devices_check</property> + <child> + <object class="GtkSwitch" id="all_devices_check"> + <property name="visible">True</property> + <property name="can_focus">True</property> + <property name="receives_default">False</property> + <property name="valign">center</property> + </object> + </child> + </object> + </child> + </object> + </child> + <child> + <object class="HdyPreferencesGroup"> + <property name="visible">True</property> + <property name="title" translatable="yes">Information Fields</property> + <property name="description" translatable="yes">File system information shown in list</property> + <child> + <object class="GtkFrame"> + <property name="visible">True</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> + </child> + </object> + </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> diff --git a/data/screenshots/Disks.png b/data/screenshots/Disks.png Binary files differnew file mode 100644 index 0000000..3e93066 --- /dev/null +++ b/data/screenshots/Disks.png diff --git a/data/screenshots/Processes.png b/data/screenshots/Processes.png Binary files differnew file mode 100644 index 0000000..2189c3e --- /dev/null +++ b/data/screenshots/Processes.png diff --git a/data/screenshots/Resources.png b/data/screenshots/Resources.png Binary files differnew file mode 100644 index 0000000..63d310c --- /dev/null +++ b/data/screenshots/Resources.png |