Commit Graph

418 Commits

Author SHA1 Message Date
Simon Steinbeiss
575fcaad15 Properly close settings dialog 2021-01-25 14:15:40 +01:00
Simon Steinbeiss
a5aeafc15f Port to xfconf
The internal XtmSettings object is retained so we don't have to refactor
everything, but the backend now uses Xfconf over the rc file.
2021-01-25 14:15:40 +01:00
Olaf Hering
a511e34029 Remove GSourceFunc casts
Convert the callback into a real GSourceFunc.

Split data gathering and timeout handling:
collect_data() does what the name suggests.
init_timeout() will establish a timer.
force_timeout_update() did what collect_data() does.
timeout was in fact a timer_id.

No change in behavior intended.

Signed-off-by: Olaf Hering <olaf@aepfle.de>
2021-01-21 17:20:24 +01:00
Gaël Bonithon
e25b5246b2 Fix compilation warnings 2021-01-21 17:14:34 +01:00
Gaël Bonithon
8ee05eaa7f Simplify "query-tooltip" signal handler
See discussion in https://gitlab.xfce.org/apps/xfce4-taskmanager/-/merge_requests/6#note_22855
2021-01-21 17:14:34 +01:00
Simon Steinbeiss
ab7a0c4e62 Hide filter entry by default 2021-01-20 08:53:11 +01:00
Simon Steinbeiss
4cc1da04d3 Add unit to refresh rate setting 2021-01-20 08:26:59 +01:00
Simon Steinbeiss
bebb2c236c Add tooltips to headerbar buttons 2021-01-20 08:26:32 +01:00
Simon Steinbeiss
ed1574d480 Drop padding 2021-01-19 17:01:51 +01:00
Simon Steinbeiss
59c0131f21 Use infobar for root warning box 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
7005713f90 Ellipsize memory and swap labels (Fixes #32)
Also show the full values in a tooltip.
2021-01-19 13:25:57 +01:00
Simon Steinbeiss
81df60a8ac Set window icon in glade file 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
19b888fcfe Replace fitler entry with GtkSearchBar 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
847ed1ad92 Switch to regular headerbar 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
5d03025219 settings: Replace toolbar with regular GtkBox 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
265b1c2f5b settings: Hook up refresh rate 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
c03eb44de4 settings: Migrate all settings (apart from refresh rate) 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
ddb375fe7c settings: Include all settings 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
10efb31f97 Switch main window to XfceTitledDialog 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
847f4a9adb Fix toolbar buttons position 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
3b471c1a6c settings: Switch to XfceTitledDialog
This also means we introduce libxfce4ui as a dependency.
2021-01-19 13:25:57 +01:00
Simon Steinbeiss
4c9482b36e Hook up all settings dialog buttons 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
46a0535a10 Fix doc links and bump dates 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
1addd38ce3 Simplify settings dialog code 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
f4e9726e20 Drop leftover function for toolbar style 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
6af11c82b7 Move about dialog to settings 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
977c2ddd10 Drop toolbar style setting 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
21b01a4404 Fix typo 2021-01-19 13:25:57 +01:00
Simon Steinbeiss
33fd387bb9 Drop exec button from toolbar 2021-01-19 13:25:57 +01:00
Daniel Chabrowski
765a456c82 Fix tooltip markdown issue 2021-01-15 10:37:06 +01:00
Jan Ziak
081621a777 Create notification area icon only if needed (Bug #25)
Closes: https://gitlab.xfce.org/apps/xfce4-taskmanager/-/issues/25
2021-01-12 04:21:28 +01:00
Jan Ziak
bed04577a5 Add support for MemAvailable (!10)
MemAvailable is in /proc/meminfo since Linux 3.14.

This aligns the reported memory usage with the memory usage
reported by xfce4-systemload-plugin.

Closes !10
2020-10-12 14:57:23 -03:00
Andre Miranda
35e5373888 statusbar: Use color with better contrast for dark themes 2020-08-18 23:32:39 +02:00
DanielChabrowski
aa7b425613 Fix indentation 2020-07-16 14:24:49 +02:00
DanielChabrowski
aed554078b Remove GKSU leftovers 2020-07-15 03:27:10 +02:00
DanielChabrowski
6b47849d53 Replace deprecated gtk_menu_popup 2020-07-15 03:27:10 +02:00
DanielChabrowski
5a26e83574 Fix GTimeVal deprecation warning 2020-07-15 03:27:10 +02:00
DanielChabrowski
16a1a9f910 Remove unused url_hook_about_dialog function 2020-07-15 03:26:59 +02:00
Rozhuk Ivan
e365bf17ad Fix: some times processes does not remove from list 2020-07-14 23:31:16 +02:00
Andre Miranda
f160c3704b Add tooltip to show full command 2020-07-02 11:16:31 +02:00
Andre Miranda
04407bceee Drop gtk2 support 2020-06-26 17:54:24 +02:00
Simon Steinbeiss
34c9cfa6dd Replace appfinder icon with edit-find (Fixes #23)
This helps a bit until appfinder ships its own icon in 4.16.
2020-05-26 01:12:59 +02:00
Simon Steinbeiss
8a96ab6b50 Replace old icon name with utilities-terminal #23 2020-05-26 01:12:29 +02:00
Simon Steinbeiss
8ab5181e26 Replace old icon name with system-run #23 2020-05-26 01:12:23 +02:00
Simon Steinbeiss
14be57f036 Fix previous commit 2020-05-25 21:17:08 +02:00
Andre Miranda
34c8d28309 Always show memory usage in bytes and percent (Fixes #24) 2020-05-25 21:12:52 +02:00
Simon Steinbeiss
21cac5760b Add application icon (Issue #23) 2020-05-25 21:04:53 +02:00
Romain Bouvier
9efb90f989 Bug #16717: Move from exo-csource to xdt-csource
- exo-csource is deprecated and moved to xdt-csource
2020-04-19 11:17:09 +02:00
Simon Steinbeiss
ea0fb09b48 Drop superfluous check for gtk_main_level 2020-04-11 00:58:10 +02:00
Simon Steinbeiss
cded20db98 Fix previous commit 2020-04-11 00:28:28 +02:00