Commit Graph

64 Commits

Author SHA1 Message Date
correctmost
823c74dd47 Fix search filter memory leaks 2024-03-21 22:07:55 -04:00
Gaël Bonithon
fb824362dc Fix blurry app icons when UI scale > 1 2023-10-06 23:58:56 +02:00
Gaël Bonithon
30185130f2 Make libx11 optional, guard x11 code paths
It's not clear whether libwnck-based functionality will ever have a
counterpart on Wayland, so it seems pointless to replace libwnck with
libxfce4windowing at this stage.

Completes: ecd1e1a645
Related: #75, #78
2023-09-05 17:01:23 +02:00
Gaël Bonithon
8500675125 Stick process view at the top in the absence of user action
Until the user manually scrolls down by some means, the view remains
stuck at the top. When the view subsequently returns to this position,
it automatically sticks again, pending further user action.

Closes: #18
MR: !30
2022-12-15 21:11:11 +00:00
Hunter Turcin
8a4ad6c8a3 Allow to copy full process command line (#33) 2022-03-04 01:39:12 +00: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
Daniel Chabrowski
765a456c82 Fix tooltip markdown issue 2021-01-15 10:37:06 +01:00
DanielChabrowski
aa7b425613 Fix indentation 2020-07-16 14:24:49 +02:00
DanielChabrowski
6b47849d53 Replace deprecated gtk_menu_popup 2020-07-15 03:27:10 +02:00
Andre Miranda
f160c3704b Add tooltip to show full command 2020-07-02 11:16:31 +02:00
rim
be159c9a69 Improve settings saving (bug #15213) 2019-05-21 19:51:53 +02:00
rim
295e635606 Fix useless indentation (bug 14401) 2018-05-30 21:50:17 +02:00
rim
1c09b7329b Use the proper types, add casts where necessary (bug 14401) 2018-05-30 21:46:29 +02:00
rim
0111851b4d Stop displaying 'Running as <uid> on <hostname>' and remove corresponding code (bug 14401) 2018-05-30 21:31:52 +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
f27d270f0c Check that treeview isnt NULL in cb_send_signal (bug 14403) 2018-05-27 11:06:32 +02:00
rim
5be9587903 Add G_DEBUG_FMT macro (bug 14401, bug 14403) 2018-05-26 23:27:18 +02:00
rim
5e0fb6f4bc Use sizeof() when appropriate instead of hardcoding values (bug 14401, bug 14403) 2018-05-26 23:19:55 +02:00
Florian Schüller
793675527a fixed tree traversal 2017-01-26 22:55:30 +01:00
Simon Steinbeiss
774a8bd8b4 Try to fix selection for identified windows in tree 2017-01-26 22:55:30 +01:00
Simon Steinbeiss
0cdda50a28 Fix scrolling to the correct PID in listview 2017-01-26 22:55:30 +01:00
Simon Steinbeiss
f9801706d8 Get a working pid-based selection in the list view 2017-01-26 22:55:30 +01:00
Florian Schüller
dfb2deaaca minor string usage fixes 2017-01-26 22:55:30 +01:00
Simon Steinbeiss
166c63101d Select the corresponding row (work in progress) 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
Simon Steinbeiß
58daa93aaa Add delete and shift/delete shortcuts to the treeview 2017-01-19 00:34:44 +01:00
Simon Steinbeiß
ca68d61f05 Improve kill and terminate dialog wording 2017-01-19 00:32:53 +01:00
Landry Breuil
67eb347a00 Reorder the signals in the process context menu (#11395)
Stop/Cont, then Terminate, then Kill.
2014-12-23 21:46:05 +01:00
Landry Breuil
c90a0ac966 use GDK_KEY_Menu instead of the deprecated GDK_Menu via gdkkeysyms-compat.h 2014-12-11 18:52:50 +01:00
Landry Breuil
2cf4aef9f7 include gdk/gdkkeysyms-compat.h to get GDK_Menu #define 2014-12-08 22:38:20 +01:00
Peter de Ridder
c8f6a2ed95 Auto expand the process tree. 2014-12-07 11:41:15 +01:00
Peter de Ridder
d3800112a3 Use the correct model on right click. 2014-12-04 22:32:56 +01:00
Peter de Ridder
dbd10ae655 Added the process tree to the settings. 2014-12-03 23:21:18 +01:00
Peter de Ridder
80feabede2 Added tree model process view.
This model builds a tree model out of a list model.
2014-12-03 23:21:18 +01:00
Landry Breuil
e1e8ceb7b3 fix indentation in previous (tabs vs spaces) 2014-12-01 09:53:40 +01:00
Matias De lellis
9ca4c078c6 Add filter entry to search especific command lines. (#9856) 2014-12-01 09:46:52 +01:00
Landry Breuil
095098f87b please cppcheck, check for i < N_COLUMNS before using i to access the array (#10664) 2014-11-30 21:48:02 +01:00
Mike Massonnet
ac98f4d89d Unselect row when sending TERMINATE/KILL signal 2010-12-05 08:48:07 +01:00
Mike Massonnet
103189819c Fix previous commit: use existing callback settings_changed
Drop cb_show_application_icons_toggled and move the code inside
the existing callback settings_changed.
2010-10-04 20:42:39 +02:00
Mike Massonnet
36ccc36bb7 Implement option "Show application icons" 2010-10-04 19:54:44 +02:00
Mike Massonnet
8d594e0878 Revert commit 5eaf309: Reorder signals on treeview right click 2010-09-27 15:58:16 +00:00
Mike Massonnet
39e08fb60e Implement option "Prompt for terminating tasks" 2010-09-27 14:57:22 +00:00
Mike Massonnet
5eec456b9b Display tree view context menu on Menu key press 2010-06-10 02:52:32 +02:00
Mike Massonnet
2f995e8226 Display window icons/names
Add optional link on libwnck (default=yes) and build a new object from
app-manager.c to keep an up to date list of applications with their name
and icon. Use it inside the task manager object to display inside the
tree view.
2010-06-04 15:31:45 +02:00
Mike Massonnet
f96123a530 Sort on first click in descending order 2010-06-02 02:53:17 +02:00
Mike Massonnet
4d20ea95c5 Center dialogs on mouse cursor 2010-06-02 02:47:18 +02:00
Mike Massonnet
9238d67f9a Avoid saving columns positions when closing application
When the application was closed, the columns-changed signal was
triggered everytime a tree view column was destroyed/removed from the
tree view (think dispose), and this was bad since the columns positions
may have been saved as a succession of zeros. Avoid this.
2010-06-02 02:16:01 +02:00
Mike Massonnet
06921c3ac1 Plug a dynamic leak
A leak occured in the timer code, and thus the memory was growing over
time. Cf. src/task-manager.c(model_update_tree_iter), the old_state
variable was not free'd.

Plugged other static leaks at the same time.
2010-06-02 01:02:40 +02:00
Mike Massonnet
58b85e2a73 Get the tree view columns reorderable
The tree view columns can be reordered, the state will be saved in the
configuration and reloaded at next start.
2010-05-27 23:57:08 +02:00