Commit Graph

116 Commits

Author SHA1 Message Date
Alexander Schwinn
f5adf3a1cd Revert "Revert "Get rid of GtkHeaderBar""
This reverts commit b9fec9164f.

Bugfix releases are done. So as agreed, this change is
applied again.
2022-07-13 21:50:28 +02:00
Simon Steinbeiss
b9fec9164f Revert "Get rid of GtkHeaderBar"
This reverts commit fbb25a1ce6.

The rationale is that we want to do a bugfix/maintenance release and
this change targets Xfce 4.18.
2022-05-24 11:08:04 +02:00
Evangelos Foutras
fa7c8dd091 Fix bindings related to the "show-legend" setting
- Bind to xfconf so the "show-legend" setting is saved when toggled in
  the settings dialog.
- Flip the binding in xtm_process_window_init so the visibility of the
  legend is initialized from XtmSettings.
2022-05-23 11:51:18 +00:00
Alexander Schwinn
fbb25a1ce6 Get rid of GtkHeaderBar 2022-02-10 10:21:44 +00:00
Jan Ziak
c63dc99a51 Avoid grabbing the filter entry if it is not realized
gtk_widget_grab_focus() shouldn't be called on a widget that isn't
realized. gtk_widget_get_realized(window->filter_entry) will always
evaluate to FALSE at that codepoint.

Closes: https://gitlab.xfce.org/apps/xfce4-taskmanager/-/issues/40
2021-03-12 01:45:38 +01:00
Simon Steinbeiss
0ea0e8f4be Fix restoring the window size (Fixes #39) 2021-02-27 08:21:43 +01:00
Simon Steinbeiss
36e428bee4 Also include swap in the memory graph 2021-02-12 02:11:27 +01:00
Simon Steinbeiss
1dcc9e5afd Fix handling "show-legend" setting
When switching back to using the XtmSettings object this binding was
left over and only hooked up to xfconf.
2021-01-26 09:01:02 +01:00
Simon Steinbeiss
7d24873290 Handle Esc key correctly with hidden filter 2021-01-26 08:56:47 +01:00
Simon Steinbeiss
1b0aaad892 Drop unused var and sort copyright 2021-01-25 14:15:40 +01:00
Simon Steinbeiss
07dd87723b Show/hide filterbar with Ctrl+f and clear with Esc
This commit fixes #30
This commit fixes #35
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
Gaël Bonithon
e25b5246b2 Fix compilation warnings 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
59c0131f21 Use infobar for root warning box 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
5d03025219 settings: Replace toolbar with regular GtkBox 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
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
DanielChabrowski
16a1a9f910 Remove unused url_hook_about_dialog function 2020-07-15 03:26:59 +02:00
Andre Miranda
04407bceee Drop gtk2 support 2020-06-26 17:54:24 +02:00
Simon Steinbeiss
21cac5760b Add application icon (Issue #23) 2020-05-25 21:04:53 +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
Andre Miranda
6c78030661 Fix closing taskman with Esc (Bug #16656) 2020-04-11 00:09:17 +02:00
rim
be159c9a69 Improve settings saving (bug #15213) 2019-05-21 19:51:53 +02:00
Simon Steinbeiss
a18b8bd3c3 Move legend from tooltip to hide-able statusbar (Bug #14131) 2019-04-24 22:22:13 +02:00
rim
4205a84e34 Update copyright. 2019-03-26 07:56:58 +01:00
Landry Breuil
fcf8beb64e include task-manager.h to have __unused definition, should fix compilation on linux (bug 14401) 2018-06-01 13:05:19 +02:00
rim
ccb9824ce2 Select_Window returns a static Window (bug 14401) 2018-05-30 21:50:59 +02:00
rim
9ed5f79f8d More float initializers (bug 14401) 2018-05-30 21:47:24 +02:00
rim
66a0d4bfc9 Mark unused params, remove unused macro and args (bug 14401) 2018-05-30 21:29:28 +02:00
rim
ceb5a7d347 Make pid type: GPid (bug 14401) 2018-05-30 21:28:35 +02:00
rim
704411a38b Properly use float for constants where appropriate (bug 14401, bug 14403) 2018-05-26 23:51:32 +02:00
rim
c725dee6a9 more sizeof (bug 14401, bug 14403) 2018-05-26 23:21:21 +02:00
rim
c408ee48db Fix clang warning by grouping conditions (bug 14402) 2018-05-26 22:52:37 +02:00
Landry Breuil
5992ec9744 remove unused vars 2018-05-26 22:50:59 +02:00
rim
c1fd3a9d08 Fix clang warning by grouping conditions to actually catch ctrl-q (#14402) 2018-05-26 22:49:27 +02:00
rim
dff8c3e071 use correct type for XGetWindowProperty argument (#14402) 2018-05-26 22:48:06 +02:00
Simon Steinbeiss
e23ddb3158 Give the filter/search entry focus by default (Bug #11868) 2017-01-26 23:15:14 +01:00
Simon Steinbeiss
d710d130ca Improve crosshair cursor icon 2017-01-26 22:55:30 +01:00
Simon Steinbeiss
5f8f6beffa Add a custom icon for the identify button 2017-01-26 22:55:30 +01:00
Florian Schüller
8c15f28beb show info dialog on error. Icon for dialog missing 2017-01-26 22:55:30 +01:00
Florian Schüller
0f73bce47e prepare searching and highlighting a pid 2017-01-26 22:55:30 +01:00
Florian Schüller
807a429eb4 fixed typo, compiles now 2017-01-26 22:55:30 +01:00
Simon Steinbeiss
698ab26a45 Add more information to the identify button 2017-01-26 22:55:30 +01:00