+void
+tree_row_activated(GtkTreeModel *treemodel,
+ GtkTreePath *arg1,
+ GtkTreeViewColumn *arg2,
+ gpointer user_data)
+{
+ ControlFlowData *cfd = (ControlFlowData*)user_data;
+ Drawing_t *drawing = cfd->drawing;
+ GtkTreeView *treeview = cfd->process_list->process_list_widget;
+ gint *path_indices;
+ gint height;
+
+ path_indices = gtk_tree_path_get_indices (arg1);
+
+ height = get_cell_height(
+ GTK_TREE_VIEW(treeview));
+ drawing->horizontal_sel = height * path_indices[0];
+ g_critical("new hor sel : %i", drawing->horizontal_sel);
+}
+
+