Commit Graph

1210 Commits

Author SHA1 Message Date
Zmicer Turok
7ec4d97191 I18n: Update translation be (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2018-06-28 00:32:50 +02:00
rim
af078d406a Improve app search on close (bug 14466) 2018-06-22 11:41:59 +02:00
Emanuele Petriglia
68ad15a06b I18n: Update translation it (100%).
85 translated messages.

Transifex (https://www.transifex.com/xfce/public/).
2018-06-16 18:33:13 +02:00
Landry Breuil
13c78d9738 Rework configure logic to build with Gtk+3 by default
Use --enable-gtk2 if you still want to build with the older toolkit, but
the corresponding code might go away at some point....
2018-06-03 18:29:53 +02:00
Landry Breuil
cd7b6e2d51 back to development 2018-06-03 18:15:47 +02:00
Landry Breuil
1e3f21056f switch to release 2018-06-03 18:00:25 +02:00
Landry Breuil
6f9a6d7c8f Updates for release 1.2.1 2018-06-03 17:58:43 +02:00
Landry Breuil
993ef78b81 Switch back all bzero() calls to use memset()
Even if it's uglier to use memset, bzero seems deprecated.
2018-06-03 17:56:31 +02: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
84e719796e Simplify the way process state is stored on FreeBSD (bug 14401) 2018-05-30 21:59:02 +02:00
rim
6cfb7547b0 More cast/type fixes (bug 14401) 2018-05-30 21:58:08 +02:00
rim
f51c2b18f7 Rework the way model is iterated through (bug 14401) 2018-05-30 21:56:48 +02:00
rim
3d7f9fd794 parenthesis around addition (bug 14401) 2018-05-30 21:53:33 +02:00
rim
01abcbdd73 Properly bzero args (bug 14401) 2018-05-30 21:52:10 +02:00
rim
bbee897079 use a 1k buffer for the initial argv malloc (bug 14401) 2018-05-30 21:51:50 +02:00
rim
ccb9824ce2 Select_Window returns a static Window (bug 14401) 2018-05-30 21:50:59 +02:00
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