From: Andrea Zagli Date: Sat, 1 Feb 2014 15:51:35 +0000 (+0100) Subject: GdaExGrid: now print columns in correct order. X-Git-Tag: 0.4.0~3 X-Git-Url: https://saetta.ns0.it/gitweb?a=commitdiff_plain;h=e9f7773bff0595189d862bfdb9012da123751407;p=libgdaex GdaExGrid: now print columns in correct order. --- diff --git a/src/grid.c b/src/grid.c index 088b3d2..49b9542 100644 --- a/src/grid.c +++ b/src/grid.c @@ -651,6 +651,7 @@ static GtkTreeView { gtk_tree_view_column_add_attribute (vcolumn, (GtkCellRenderer *)cells->data, "text", col); } + g_object_set_data (G_OBJECT (vcolumn), "rpt_text_col_idx", g_strdup_printf ("%d", col)); if (gdaex_grid_column_get_sortable (gcolumn)) {