Age | Commit message (Collapse) | Author | Files | Lines |
|
|
|
|
|
|
|
|
|
closes https://github.com/mate-desktop/mate-system-monitor/issues/85
try pkexec before trying gksu for killing other users' processes
or renicing a process. actual kill and renice commands are launched
via helper tool (see discussion at https://bugzilla.gnome.org/491462).
code is ported from gnome-system-monitor with some changes (e.g. helper
tool code is in tools/ dir instead of scripts/ - it's not a script).
for reference - relevant upstream commits:
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=ccbff2a4293e43d6ea24fbf13477b10f58cd5212
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=2b4308d9fc2b2e367030629e79b531c4f9ae3d0a
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=971b3c704dea49b22c1038f200933c5b3b35ece1
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=c234b2a75dac454b818f1f40d302cf12f1a33aa2
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=4cda3529e418098b35f7444d79ba421eb5403afc
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=ab7bd8aef7300eeb3835fdef9a2a1eefe7281631
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=79eccf0cecbca237f4f911681438c33932da63e2
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=a3bf3a7f56cf02c6a127aa168c570230e9fad356
|
|
|
|
|
|
|
|
adapted from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=f589439a966151b2589bca21a4d6b40455eb201a
with necessary changes from https://github.com/mate-desktop/mate-system-monitor/commit/eebc190a5aeb6ebaf5c3a868b68434679adddc74
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=76545e553c620d9b3437456bb4dbffa355c59816
|
|
This reverts commit b7c2c34a6662ee043be997c54ff1c85318818c2d.
dammit. this made right-clicking on initially unfocused process table
impossible. I had to select a process first, then right-click on it,
or else all the right-click menu items were appearing grayed out.
reverting this until we figure out how to do it without unwanted side
effects.
|
|
all columns except for the first one were already made reorderable,
so there's no need for this callback with a loop. just make the first
column reorderable too and we're done.
from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=3bd1b01b5e983379e69c02613280a218e8873914
|
|
|
|
from:
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=f3879a89f9bcc3e96b009c0033accb461c0672ac
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=7484244ea470690e52dd5b3ced0ff36917000355
|
|
adapted from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=da371b277e0ebbc71708f1ce91f879cfc4ab9c9f
|
|
from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=70dd0dc7408f004bdeffbabaa0a874295ff9120f
|
|
- wrong function name introduced in https://github.com/mate-desktop/mate-system-monitor/commit/9ae0be5ccf7df2f35c13653da97771b06cf6603f
- format_rate function already returns a string, no need to convert
|
|
|
|
from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=f7f4c5506bc47f7cd340ce02404029a0ca6185e0
|
|
and load it on startup
adapted from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=edf4163bb2e9ad1dd9b8a5b7c7244ccd8753d4b5
|
|
and remove some entries for which no replacement could be found
|
|
from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=2195a659f069478a9a28a50b5bd8231a561bb9f9
|
|
|
|
adapted from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=cfbeb0f71dfaca95118a27046941a7f3b0180e6a
and corrected some more entries that aren't corrected there
|
|
from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=abc1f5b47efa2dcd5f0e9c378283e9d9e6ac9fdf
cases are described in
https://bugzilla.gnome.org/show_bug.cgi?id=543315
|
|
|
|
adapted from
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=549e2e3308620810dd795321d02f041e8ab58d29
|
|
|
|
Conflicts:
src/interface.cpp
src/procdialogs.cpp
src/sysinfo.cpp
src/util.cpp
|
|
inspired from:
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=cb54374
|
|
The gdk_window_set_background_pattern() function is a little dubious
to use unless you are writing GTK+ code since the background may be
overridden by gtkwidget.c whenever the style of the widget changes.
Needed for gtk+-3.20
|
|
|
|
|
|
|
|
|
|
|
|
we don't need to crash here, thanks.
the code below is able to handle excessive column ids just fine.
fixes https://github.com/mate-desktop/mate-system-monitor/issues/76
|
|
|
|
|
|
|
|
|
|
* Setting an adjustment with non-zero page size is deprecated
taken from:
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=9ff48dc
|
|
taken from:
https://git.gnome.org/browse/gnome-system-monitor/commit/?id=7fefa84
|