Commit Graph

126 Commits

Author SHA1 Message Date
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
Florian Schüller
049ad546e6 get PID from a window 2017-01-26 22:55:30 +01:00
Simon Steinbeiss
cd7a63d8c3 Make the toolbar button show up 2017-01-26 22:55:30 +01:00
Simon Steinbeiss
68a68ce67b Copy and paste some code from xwininfo 2017-01-26 22:55:30 +01:00
Simon Steinbeiß
ee36cdcb23 Add Ctrl+q to close taskmanager 2017-01-19 01:35:04 +01:00
Landry Breuil
007c2c6c9e Fix window settings (size, pane height, sort column/direction) not properly saved when exiting the window (bug #10670)
Move the code setting the properties on window->settings to the delete-event handler,
at that stage we're sure the window still exists, and that the property setting
will actually trigger a config file write.
2014-12-23 21:46:54 +01:00
Landry Breuil
445b8a46cd add tooltip to filter_entry 2014-12-19 22:58:22 +01:00
Landry Breuil
5b68649063 Use #if GTK_CHECK_VERSION(3, 0, 0) instead of #ifdef HAVE_GTK3 2014-12-19 22:54:16 +01:00
Landry Breuil
fb00ed37fd split authors lines 2014-12-19 22:48:23 +01:00
Landry Breuil
c2cd74008f bump copyright years and update authors in about dialog 2014-12-19 22:29:45 +01:00
Landry Breuil
e0089a3de2 Merge remote-tracking branch 'hjudt/filter-shortcut' 2014-12-19 22:26:47 +01:00
Landry Breuil
d0cf233ea6 Merge remote-tracking branch 'hjudt/save-handle-position' 2014-12-19 22:24:41 +01:00
Landry Breuil
e63b5c155c Merge remote-tracking branch 'ochosi/legend_tooltip' 2014-12-19 22:22:47 +01:00
Harald Judt
a91e05fb73 Save and restore the handle position across restarts 2014-12-19 16:10:49 +01:00
Peter de Ridder
4f418f28a9 Merge branch 'gtk3_infobar' 2014-12-19 12:43:58 +01:00
Simon Steinbeiss
358893d02b Add a tooltip to explain the colors in the treeview 2014-12-19 12:39:00 +01:00
Peter de Ridder
867e10b1d0 Made the hide code gtk2/3 compatible 2014-12-19 12:00:25 +01:00
Simon Steinbeiss
ae2f118c14 Port the infobar to Gtk3 2014-12-19 11:13:11 +01:00
Harald Judt
e352eff877 Add key binding Ctrl+f for the filter entry 2014-12-18 23:28:56 +01:00
Harald Judt
b117ade9a5 Use g_signal_connect_swapped for key-press-event 2014-12-18 23:28:28 +01:00
Simon Steinbeiss
8b45017642 Draw CPU and Mem graph in different colors 2014-12-18 11:04:47 +01:00
Simon Steinbeiss
3486d3fab1 Rearrange the UI to resemble top
Moved the graphs below the toolbar and made them taller, so that they
are more readable/usable. Converted the statusbar into a box, moved it
below the graphs and rearranged the content to match the graphs.
2014-12-17 22:50:41 +01:00
Simon Steinbeiss
e8c8dff357 Drop paint-box option 2014-12-17 10:43:56 +01:00
Landry Breuil
f3149fa2c1 include the gtk3 generated ui file when building against gtk3. This way both flavors build 2014-12-11 23:30:29 +01:00
Landry Breuil
1e1ee4c0f9 icon-name property was deprecated in gtk3 2014-12-11 22:57:07 +01:00
Landry Breuil
dab45b288a GTK_WIDGET_SET_FLAGS seems to be gtk2 only 2014-12-08 22:38:41 +01:00
Landry Breuil
32443defff Merge branch 'peter/tree-model' 2014-12-04 20:57:16 +01:00
Landry Breuil
c6c74cd959 Display the memory usage as bytes instead of a percentage when show-memory-in-xbytes is set (#6503)
- move the percentage calculation to init_timeout(), use g_format_size() here too
- carry memory/swap used vs total all around
- make the XtmProcessStatusbar swap and memory properties strings instead of float

Based on a diff from  Ján Sucan, thanks!

Note to translators: this changes some strings, mostly removing % in format printing
2014-12-04 20:52:12 +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
c91db0bb3b Make xtm_process_window_show() public, GApplication will use it to activate a running instance. 2014-12-03 10:24:28 +01:00
Landry Breuil
66c00f1871 the "changed" callback should return void (#9856) 2014-12-03 09:16:24 +01:00
Harald Judt
0b1014f8f9 Make Escape key close the main window
This patch makes pressing the Escape key have the same effect as
clicking the close window button.
2014-12-01 10:30:04 +01:00
Landry Breuil
38d511465d Default the focus on the process list instead of the exec button (#10643) 2014-12-01 10:28:05 +01:00
Landry Breuil
ff69f4d3b3 filter_entry_keyrelease_handler() is supposed to return a gboolean, make it return has_text 2014-12-01 09:49:51 +01:00
Matias De lellis
9ca4c078c6 Add filter entry to search especific command lines. (#9856) 2014-12-01 09:46:52 +01:00
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
e97c14fa68 Implement option "Draw borders around monitors" 2010-09-26 09:47:48 +00:00
Mike Massonnet
a804339c7d Remove quit tool button 2010-09-25 21:17:48 +00: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