X-Git-Url: http://git.liburcu.org/?a=blobdiff_plain;f=ltt%2Fbranches%2Fpoly%2Flttv%2Fmodules%2Fgui%2Fcontrolflow%2Fprocesslist.c;h=d231055d1e07e0c066c05a873a557ff7f10dd852;hb=6871f7d16945d6687f474c5ae2edf1783fa5f772;hp=ce4c0926045103bacdbe842ed13232a731ab5536;hpb=da049ee182a1a9b92d28a97b111ec04257600a64;p=lttv.git diff --git a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c index ce4c0926..d231055d 100644 --- a/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c +++ b/ltt/branches/poly/lttv/modules/gui/controlflow/processlist.c @@ -21,6 +21,7 @@ #endif #include +#include #include #include #include @@ -366,6 +367,10 @@ ProcessList *processlist_construct(void) renderer = gtk_cell_renderer_text_new (); process_list->renderer = renderer; + gint vertical_separator; + gtk_widget_style_get (GTK_WIDGET (process_list->process_list_widget), + "vertical-separator", &vertical_separator, + NULL); gtk_cell_renderer_get_size(renderer, GTK_WIDGET(process_list->process_list_widget), NULL, @@ -373,12 +378,14 @@ ProcessList *processlist_construct(void) NULL, NULL, &process_list->cell_height); - + guint ypad; g_object_get(G_OBJECT(renderer), "ypad", &ypad, NULL); process_list->cell_height += ypad; - + process_list->cell_height += vertical_separator; + + column = gtk_tree_view_column_new_with_attributes ( "Process", renderer, "text",