aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-col.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-03 21:47:56 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-03 21:47:56 +0800
commit2e93b3da0b04b8f262891ebf38827b2d21f80905 (patch)
tree558cec578eea4edff7c667b6d4bf8c19fae42b2e /widgets/table/e-table-col.h
parentd3798ab87ef00d8c3944b362bd4960b33d95f4d3 (diff)
downloadgsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar.gz
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar.bz2
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar.lz
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar.xz
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.tar.zst
gsoc2013-evolution-2e93b3da0b04b8f262891ebf38827b2d21f80905.zip
Pick which field of the row to select based on priority.
2001-10-03 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (set_initial_selection): Pick which field of the row to select based on priority. * e-table-col.c, e-table-col.h: Added the priority field to this class. Adapted the _new functions appropriately. * e-table-column-specification.c, e-table-column-specification.h: Added the priority field to this class. * e-table-utils.c (et_col_spec_to_col): Handle the priority field here. svn path=/trunk/; revision=13370
Diffstat (limited to 'widgets/table/e-table-col.h')
-rw-r--r--widgets/table/e-table-col.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/widgets/table/e-table-col.h b/widgets/table/e-table-col.h
index 8377beb37e..90deb85f3a 100644
--- a/widgets/table/e-table-col.h
+++ b/widgets/table/e-table-col.h
@@ -39,6 +39,7 @@ typedef struct {
unsigned int sortable:1;
unsigned int groupable:1;
int col_idx;
+ int priority;
GtkJustification justification;
@@ -53,12 +54,12 @@ GtkType e_table_col_get_type (void);
ETableCol *e_table_col_new (int col_idx, const char *text,
double expansion, int min_width,
ECell *ecell, GCompareFunc compare,
- gboolean resizable);
+ gboolean resizable, int priority);
ETableCol *e_table_col_new_with_pixbuf (int col_idx, const char *text,
GdkPixbuf *pixbuf,
double expansion, int min_width,
ECell *ecell, GCompareFunc compare,
- gboolean resizable);
+ gboolean resizable, int priority);
void e_table_col_destroy (ETableCol *etc);