Commit Graph

1044 Commits

Author SHA1 Message Date
rim
295e635606 Fix useless indentation (bug 14401) 2018-05-30 21:50:17 +02:00
rim
7de82ec291 Better zeroing of found struct (bug 14401) 2018-05-30 21:49:22 +02:00
rim
ce69b96ce4 spacing 2018-05-30 21:48:41 +02:00
rim
e8b4fa49bb xtm_process_tree_model_get_value returns void (bug 14401) 2018-05-30 21:47:59 +02:00
rim
9ed5f79f8d More float initializers (bug 14401) 2018-05-30 21:47:24 +02:00
rim
1c09b7329b Use the proper types, add casts where necessary (bug 14401) 2018-05-30 21:46:29 +02:00
rim
512e88ad6c timeout is an unsigned integer (bug 14401) 2018-05-30 21:43:08 +02:00
rim
a5f4aaa667 Improve GOptionEntry initialization (bug 14401) 2018-05-30 21:42:04 +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
8e1b48f8de Move getpwuid() from backends to gui, use getpwuid_r(), call only once on task add. (bug 14401) 2018-05-30 21:31:01 +02:00
rim
40a3e65803 Fix possible file descriptor leak on linux (bug 14401) 2018-05-30 21:30:19 +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
Ben Burrill
397bb63e23 Improvements to --start-hidden (bug 14343)
* Prints an explanatory warning message when both the window and the
  status icon can't be shown (because --start-hidden is used and "Hide
  into the notification area" is disabled) rather than just exiting.
* Fixes a bug where when the task manager is already running,
  --start-hidden would erroneously activate it.
* Use return instead of exit.  I adopted exit from the gnome docs, but I
  think return makes more sense here.
2018-05-28 22:35:05 +02:00
Ben Burrill
5fdfe369a6 Add --start-hidden command-line option (bug 14343)
When --start-hidden is used, the primary interface is not shown.  If the
"Hide into the notification area" option is enabled, the notification
icon will shown.  Otherwise, the task manager will immediately quit
(running completely in the background would be pointless).
2018-05-28 21:16:21 +02:00
Landry Breuil
c507f13d86 declarations at the beginning of functions (ISO C90 forbids mixed declarations and code) 2018-05-28 21:06:39 +02:00
rim
8d4f013877 Simplify WNCK #ifdefs 2018-05-28 21:05:17 +02:00
Landry Breuil
6f9d95d1f5 declarations at the beginning of functions (ISO C90 forbids mixed declarations and code) 2018-05-28 21:04:45 +02:00
rim
621de4fd13 app-manager optimizations
- simplify lookup by pid
- less calls to wnck_window_get_pid
- use a gint for the pid
2018-05-28 21:00:30 +02:00
Rozhuk Ivan
fd9e313e2e Make sure only printable characters are used in the pretty cmdline display (bug 14172) 2018-05-27 12:00:01 +02:00
Rozhuk Ivan
fd149b63df Rework the way the model is updated (bug 14403)
- Do more lazy updates
- More robust to quick process creation/deletion
- Use bsearch to look in the sorted list of processes.

Should consume less resources..
2018-05-27 11:35:00 +02:00
rim
f27d270f0c Check that treeview isnt NULL in cb_send_signal (bug 14403) 2018-05-27 11:06:32 +02:00
rim
a76b13057c Use sizeof in get_hostname (bug 14401) 2018-05-27 11:04:42 +02:00
rim
3af7e3d491 Use sysctl w/ KERN_PROC_ARGS instead of kvm_getargv in get_task_details() (bug 14401) 2018-05-26 23:55:49 +02:00
Landry Breuil
159c3c1d0c Sort the task list by pid, as we're going to use bsearch() (bug 14403) 2018-05-26 23:52:46 +02:00
rim
704411a38b Properly use float for constants where appropriate (bug 14401, bug 14403) 2018-05-26 23:51:32 +02:00
rim
4d4d0b5073 Add a function comparing tasks (bug 14403) 2018-05-26 23:48:46 +02:00
rim
2329f243fb Properly zero memory where appropriate (bug 14401, bug 14403) 2018-05-26 23:40:11 +02:00
rim
fa797de140 More sizeof uses (bug 14401, bug 14403) 2018-05-26 23:30:22 +02:00
rim
5be9587903 Add G_DEBUG_FMT macro (bug 14401, bug 14403) 2018-05-26 23:27:18 +02:00
rim
c725dee6a9 more sizeof (bug 14401, bug 14403) 2018-05-26 23:21:21 +02:00
rim
5e0fb6f4bc Use sizeof() when appropriate instead of hardcoding values (bug 14401, bug 14403) 2018-05-26 23:19:55 +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
Balázs Meskó
2e68217ecb I18n: Update translation hu (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2018-04-28 18:32:32 +02:00
Сяргей Снапкоўскі
b89ba57ead I18n: Update translation be (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2018-03-21 18:32:19 +01:00
John Humphrys
0d7d13bd6c I18n: Update translation en_AU (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2018-03-21 12:32:26 +01:00
Robert Antoni Buj Gelonch
89607e8694 I18n: Update translation ca (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2018-03-17 12:31:24 +01:00
Charles Monzat
b0f4a5dfe7 I18n: Update translation fr (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2018-03-15 18:32:31 +01:00
Besnik
ca4b6139ec I18n: Update translation sq (96%).
82 translated messages, 3 untranslated messages.

Transifex (https://www.transifex.com/xfce/public/).
2018-02-28 00:32:34 +01:00
Anonymous
538bd99c3b I18n: Update translation lt (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2018-02-20 00:31:41 +01:00
Саша Петровић
dde84d681b I18n: Update translation sr (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2017-12-24 00:32:24 +01:00
박정규(Jung-Kyu Park)
d39ba40fe7 I18n: Update translation ko (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2017-11-14 18:35:39 +01:00
Bobby Hopere
946be33611 Fix UID reporting properly
The patch that was already committed apparently fixes the issue but
using a non-documented method. This patch fixes the issue as described in
"man proc". (The UID is extracted by parsing /proc/*/status not by using
stat() on /proc/*/task). Also, this patch can easily be extended to also
report other UIDs besides the "effective" UID: real, effective, saved
set, and filesystem UIDs.
2017-11-11 22:10:57 +01:00
Anonymous
eed347b74b I18n: Update translation hu (92%).
79 translated messages, 6 untranslated messages.

Transifex (https://www.transifex.com/xfce/public/).
2017-11-02 00:31:56 +01:00
Anonymous
21a45b691e I18n: Update translation da (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2017-11-01 12:32:21 +01:00
Πέτρος
d108e97fe4 I18n: Update translation el (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2017-10-24 06:31:39 +02:00
Xfce Bot
ef43e50a5f I18n: Update translation ug (77%).
66 translated messages, 19 untranslated messages.

Transifex (https://www.transifex.com/xfce/public/).
2017-09-24 00:42:27 +02:00