Commit Graph

324 Commits

Author SHA1 Message Date
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
Peter de Ridder
9d20c60b9e Merge branch 'pane' 2014-12-19 12:43:23 +01:00
Simon Steinbeiss
358893d02b Add a tooltip to explain the colors in the treeview 2014-12-19 12:39:00 +01:00
Simon Steinbeiss
9e5a6a89d3 Drop height-requests for graphs to make them resizable 2014-12-19 12:34:59 +01:00
Simon Steinbeiss
cd1309d97f Always check if the graph is too small to draw it 2014-12-19 12:06:50 +01:00
Simon Steinbeiss
341d93bb9f Pack everything in a resizeable pane in Gtk3 too 2014-12-19 12:05:20 +01:00
Peter de Ridder
867e10b1d0 Made the hide code gtk2/3 compatible 2014-12-19 12:00:25 +01:00
Simon Steinbeiss
016168ac83 Prevent drawing the graph if it is too small (Gtk2) 2014-12-19 11:50:47 +01:00
Simon Steinbeiss
b55c97c52e Set the initial size of the pane 2014-12-19 11:46:05 +01:00
Peter de Ridder
69e4d3cdff Always show the status bar in the pane
Signed-off-by: Simon Steinbeiss <simon.steinbeiss@elfenbeinturm.at>
2014-12-19 11:32:51 +01:00
Simon Steinbeiss
2ccd5469ad Add proper color-setting for the labels in Gtk3 2014-12-19 11:28:47 +01:00
Simon Steinbeiss
ae2f118c14 Port the infobar to Gtk3 2014-12-19 11:13:11 +01:00
Peter de Ridder
e3b43c6c4c Take one reference on all the nodes 2014-12-19 10:12:08 +01:00
Simon Steinbeiss
b9d9b0d963 Pack graphs into pane to make them resizeable (Gtk2) 2014-12-19 00:38:46 +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
Landry Breuil
58689d2683 Fix random crash on an ugly string handling in bsd backend.
Replace an horrible strlcat loop + g_snprintf by g_strjoinv + g_strlcpy.
Assert that the buffer is valid UTF8, blow otherwise.
2014-12-18 22:57:52 +01:00
Simon Steinbeiss
c1de490489 Tone down the colors in the treeview 2014-12-18 13:28:04 +01:00
Simon Steinbeiss
e97b77ee62 Make CPU and Mem labels use the graph colors 2014-12-18 11:05:16 +01:00
Simon Steinbeiss
8b45017642 Draw CPU and Mem graph in different colors 2014-12-18 11:04:47 +01:00
Simon Steinbeiss
aef4bb4590 Pack the searchbox into the toolbar 2014-12-18 08:47:11 +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
Peter de Ridder
12bf2c96b0 Use a proper draw callback passing a cairo_t context to xtm_process_monitor_paint 2014-12-17 22:18:32 +01:00
Landry Breuil
92b48c3d5d Reuse the same WNCK autoconf/automake macro, makes window icons working again with gtk3 2014-12-17 21:43:44 +01:00
Landry Breuil
54679d82d9 Fix previous, use a GtkVBox when there's an orientation property set to vertical 2014-12-17 21:03:53 +01:00
Landry Breuil
2d5c5972b7 remove useless NULL= declaration 2014-12-17 21:03:44 +01:00
Landry Breuil
6233f9f138 Merge remote-tracking branch 'ochosi/fix_gtk3' 2014-12-17 20:49:45 +01:00
Simon Steinbeiss
e8c8dff357 Drop paint-box option 2014-12-17 10:43:56 +01:00
Simon Steinbeiss
abb5f97740 Hardcode the graph colors and simplify the drawing routines 2014-12-17 10:38:32 +01:00
Simon Steinbeiss
aadc7908e6 Fix gtk2 settings dialog 2014-12-17 10:25:59 +01:00
Peter de Ridder
aa5da32243 Use the correct parent to test for first child 2014-12-16 22:16:50 +01:00
Peter de Ridder
20b1b04a22 Increment the link->path as directly after insert 2014-12-15 21:05:17 +01:00
Landry Breuil
cae969b2df Silence warnings.
- statement with no effect
- index is an indentifier in string.h, dont shadow it
- link is a function in unistd.h dont shadow it
2014-12-11 23:37:38 +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
21bf64ee92 use #ifdef instead of #if to avoid warnings with gtk2 2014-12-11 23:29:57 +01:00
Landry Breuil
4d6fb822be Add automake plumbing to generate both gtk2 and gtk3 ui files in maintainer mode.
- add the resulting files to BUILT_SOURCES & xfce4_taskmanager_SOURCES
- add the gtk3 ui files to EXTRA_DIST
2014-12-11 23:28:19 +01:00
Landry Breuil
3f02cc46d7 Restore gtk2 versions of the gtkbuilder ui files 2014-12-11 23:27:53 +01:00
Landry Breuil
d8404b3021 Rename gtkbuilder files with a -gtk3 suffix for clarity 2014-12-11 23:27:19 +01:00
Landry Breuil
1e1ee4c0f9 icon-name property was deprecated in gtk3 2014-12-11 22:57:07 +01:00
Landry Breuil
f721131703 use gtk_tool_button_set_icon_name() instead of gtk_tool_button_set_stock_id() 2014-12-11 22:52:35 +01:00
Landry Breuil
f7dc12a375 use a plain GtkBox for the statusbar 2014-12-11 22:44:12 +01:00
Landry Breuil
f33f64410f use gtk_tool_button_set_icon_name() instead of gtk_tool_button_set_stock_id() 2014-12-11 22:43:40 +01:00
Peter de Ridder
9d3fa97f73 Changed has children toggle signal to support auto expand. 2014-12-11 21:56:58 +01:00
Landry Breuil
9e0dde7a47 save process-window.ui with glade 3 2014-12-11 19:10:47 +01:00
Landry Breuil
cc3013455b Save GtkBuilder file with glade 3, allows to display the settings dialog without crashing. 2014-12-11 19:09:09 +01:00
Landry Breuil
177914f858 Convert GtkBuilder files to gtk3
- replace GtkHBox/VBox by plain GtkBox
- replace GtkHSeparator/VSeparator by plain GtkSeparator
- replace GtkHButtonBox by GtkButtonBox
2014-12-11 19:07:02 +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