aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/e-table/e-table-col.c
diff options
context:
space:
mode:
Diffstat (limited to 'widgets/e-table/e-table-col.c')
-rw-r--r--widgets/e-table/e-table-col.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/widgets/e-table/e-table-col.c b/widgets/e-table/e-table-col.c
index ba5c131078..e2e12caf63 100644
--- a/widgets/e-table/e-table-col.c
+++ b/widgets/e-table/e-table-col.c
@@ -1,3 +1,4 @@
+/* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8 -*- */
/*
* E-table-col.c: ETableCol implementation
*
@@ -61,6 +62,8 @@ e_table_col_new (int col_idx, const char *text, int width, int min_width,
etc->ecell = ecell;
etc->compare = compare;
+ etc->arrow = E_TABLE_COL_ARROW_NONE;
+
etc->selected = 0;
etc->resizeable = resizable;
@@ -90,6 +93,8 @@ e_table_col_new_with_pixbuf (int col_idx, GdkPixbuf *pixbuf, int width, int min_
etc->ecell = ecell;
etc->compare = compare;
+ etc->arrow = E_TABLE_COL_ARROW_NONE;
+
etc->selected = 0;
etc->resizeable = resizable;
@@ -98,4 +103,16 @@ e_table_col_new_with_pixbuf (int col_idx, GdkPixbuf *pixbuf, int width, int min_
return etc;
}
+void
+e_table_col_set_arrow (ETableCol *col, ETableColArrow arrow)
+{
+ col->arrow = arrow;
+}
+
+ETableColArrow
+e_table_col_get_arrow (ETableCol *col)
+{
+ return col->arrow;
+}
+