Mike Massonnet
7998ed4b66
Drop Private struct from XtmProcessWindow
2010-09-29 16:50:27 +02:00
Mike Massonnet
95c3ef3246
Implement option "Toolbar style"
2010-09-29 16:40:30 +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
e97c14fa68
Implement option "Draw borders around monitors"
2010-09-26 09:47:48 +00:00
Mike Massonnet
bfd7faf7c7
Use gtk-execute icon name for runner program
2010-09-26 08:42:27 +00:00
Mike Massonnet
a804339c7d
Remove quit tool button
2010-09-25 21:17:48 +00:00
Mike Massonnet
622c4763ce
Drop orphan liststore from settings-dialog.ui
2010-09-12 21:48:29 +02:00
Mike Massonnet
f546aa846b
Initial settings dialog shown on settings-tool-button click
...
Not yet finished, it includes control for some check buttons currently.
2010-08-08 14:12:49 +02:00
Mike Massonnet
4fc28e6b8b
Put "Settings" items within a sub-classed GtkMenuToolButton
...
New class XtmSettingsToolButton that replaces the old GtkToolButton for
the settings menu.
2010-08-04 19:39:08 +02:00
Mike Massonnet
b4d453b526
Put "Execute" items within a sub-classed GtkMenuToolButton
...
New class XtmExecToolButton that replaces the old GtkToolButton for the
execution menu.
The toolbar style is set to the default behavior (no forced labels).
2010-08-03 22:40:35 +02:00
Mike Massonnet
67267e606d
Set monitor's background box use the prelight state
...
Most GTK+ themes have the same colors for normal and prelight, but some
use a lighter version which makes the box look more distinguishable.
2010-06-21 12:28:28 +02:00
Mike Massonnet
6d9ee4c86e
Set "Run Task Manager as root" translatable
2010-06-21 12:28:28 +02:00
Mike Massonnet
75cc0da254
Add a menu position function
2010-06-19 19:35:18 +02:00
Mike Massonnet
d70a495618
Add "Run Task Manager as root" item in "Execute" menu
2010-06-19 19:35:18 +02:00
Mike Massonnet
f7e66d716d
Remove shadow type around tree view
2010-06-19 19:35:17 +02:00
Mike Massonnet
726f2aa103
Remove border width around tree view
2010-06-16 11:43:29 +02:00
Mike Massonnet
9d8b776288
Fix SIGBUS on Debian x86_64 (original patch from Jérôme Guelfucci)
...
Something strange happened when doing a comparison between a guint type
and sizeof(), turning it back to gint fixes the issue. Fix other
compiler warnings at the same time.
2010-06-13 19:31:22 +02:00
Mike Massonnet
d40bd9362a
Don't make redundant messages for translators
2010-06-13 18:00:29 +02:00
Mike Massonnet
e8b49da6e7
Remove the 250ms refresh rate
...
At this refresh rate the application occupies too many CPU cycles and
this is totally beside the point.
2010-06-13 17:45:04 +02:00
Mike Massonnet
2a858e2acd
Always paint the last monitor peak
...
Round the minimum history length and always paint the last peak even if
it doesn't fit entirely. This change was needed because visible with
some refresh rates.
2010-06-13 17:33:25 +02:00
Mike Massonnet
30e3592e1d
Replace progress bars with monitors
2010-06-13 16:17:29 +02:00
Mike Massonnet
5eec456b9b
Display tree view context menu on Menu key press
2010-06-10 02:52:32 +02:00
Mike Massonnet
20dbcee075
Add right click menu on status icon with a Quit item
2010-06-10 02:52:32 +02:00
Mike Massonnet
f66c0e8fd6
Hide window on window close when the status icon is visible
2010-06-10 02:52:32 +02:00
Mike Massonnet
cfae61f98d
Fix compiler warnings from Solaris implementation
2010-06-09 13:50:24 +02:00
Mike Massonnet
1506382577
[linux] Fix compiler warnings from Linux implementation
2010-06-08 22:43:36 +02:00
Mike Massonnet
81bdc6d2ba
Fix compiler warnings (original patches from Enrico Tröger)
...
Add missing include for geteuid() missing declaration
xtm_process_window_show_swap_usage() in process-window.
Fix various compiler warnings from main.c task-manager.c and
app-manager.c.
2010-06-08 22:41:50 +02:00
Mike Massonnet
bdeff4e269
[linux] Fix 64-bit issue with scanf
...
The fix is very trivial, all it takes is initializing values passed to
scanf to zero. In fact format conversions inside scanf/printf may fail
otherwise.
2010-06-08 06:23:15 -04: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
bb4c139c73
Fix g_snprintf call for task name
...
Don't pass task name as format, instead call g_snprintf safely with "%s"
and pass the task name as an argument.
2010-06-03 23:46:55 +02:00
Mike Massonnet
568fc7f148
Update status icon tooltip only if visible
2010-06-02 19:34:55 +02:00
Mike Massonnet
46174f188c
Update command line when needed
2010-06-02 16:27:47 +02:00
Mike Massonnet
f96123a530
Sort on first click in descending order
2010-06-02 02:53:17 +02:00
Mike Massonnet
aa3e8ead9d
On window hide do a normal check on the window
2010-06-02 02:47:39 +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
20d95b74db
Set localized name of application
2010-05-30 23:31:31 +02:00
Mike Massonnet
23ae93bc9e
Replace image against radio menu items in the refresh rate menu
...
The stock items right-arrow are not always available (sad truth),
therefore be smart and use a radio menu item that will always be
displayed.
2010-05-30 18:24:56 +02:00
Mike Massonnet
9e3eb2d07a
Fix cformat parameters for status icon
2010-05-29 18:01:18 +02:00
Mike Massonnet
8d32b99253
Replace carriage returns against spaces in commands
2010-05-28 15:48:08 +02:00
Mike Massonnet
ad3391bb95
Show tasks with changed status with a yellow background
2010-05-28 01:32:02 +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
Mike Massonnet
fe31827852
Show terminated tasks with a red background
2010-05-27 01:21:26 +02:00
Mike Massonnet
e3d3aa2e18
Show started tasks with a green background
2010-05-26 22:35:34 +02:00
Mike Massonnet
1974a2fbcd
Make SearchFunc for tree view case insensitive
2010-05-26 15:01:53 +02:00
Mike Massonnet
322b9978df
Use a personal SearchFunc for the tree view
...
Use the function strstr to find matches inside the command line, and not
only starting with. Browsing through matches can be done by typing the
arrows down and up.
2010-05-26 12:08:07 +02:00
Mike Massonnet
0008254055
Add words about adding support for a new OS
...
Add a skel file (task-manager-skel.c) and make it possible in the
build-env to build the task manager with this file (--with-skel).
2010-05-26 06:54:37 +02:00
Mike Massonnet
98bbf15101
Surround the statusbar's hbox area with padding
2010-05-25 13:01:35 +02:00