aboutsummaryrefslogtreecommitdiffstats
path: root/widgets/table/e-table-selection-model.h
diff options
context:
space:
mode:
authorChristopher James Lahey <clahey@ximian.com>2001-10-13 05:52:49 +0800
committerChris Lahey <clahey@src.gnome.org>2001-10-13 05:52:49 +0800
commita5931319b6e19fdcbe18e077a2305cf41ccaea9e (patch)
tree7aa5a91b02815bf30928e52c2144cda58b26c06b /widgets/table/e-table-selection-model.h
parent0ad57aa1b9f67bf68920cf6a8bbaad773f105108 (diff)
downloadgsoc2013-evolution-a5931319b6e19fdcbe18e077a2305cf41ccaea9e.tar
gsoc2013-evolution-a5931319b6e19fdcbe18e077a2305cf41ccaea9e.tar.gz
gsoc2013-evolution-a5931319b6e19fdcbe18e077a2305cf41ccaea9e.tar.bz2
gsoc2013-evolution-a5931319b6e19fdcbe18e077a2305cf41ccaea9e.tar.lz
gsoc2013-evolution-a5931319b6e19fdcbe18e077a2305cf41ccaea9e.tar.xz
gsoc2013-evolution-a5931319b6e19fdcbe18e077a2305cf41ccaea9e.tar.zst
gsoc2013-evolution-a5931319b6e19fdcbe18e077a2305cf41ccaea9e.zip
Use new e_table_header_prioritized_column field.
2001-10-12 Christopher James Lahey <clahey@ximian.com> * e-table-click-to-add.c (set_initial_selection): Use new e_table_header_prioritized_column field. * e-table-header.c, e-table-header.h (e_table_header_prioritized_column): New function. Refactors the code from ETableClickToAdd to find the column with the highest priority. * e-table-selection-model.c, e-table-selection-model.h (model_changed_idle): Changed this function to use the e_table_header_prioritized_column function. Added an argument to set the "header" on this selection model. * e-table-utils.h: Indentation cleanup. * e-table.c (et_real_construct): Set the "header" argument on the selection model here. * e-table.h: #include <gal/e-table/e-table-sorter.h> svn path=/trunk/; revision=13633
Diffstat (limited to 'widgets/table/e-table-selection-model.h')
-rw-r--r--widgets/table/e-table-selection-model.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/widgets/table/e-table-selection-model.h b/widgets/table/e-table-selection-model.h
index 74857efd61..9af0274faa 100644
--- a/widgets/table/e-table-selection-model.h
+++ b/widgets/table/e-table-selection-model.h
@@ -5,8 +5,7 @@
#include <gtk/gtkobject.h>
#include <gal/widgets/e-selection-model-array.h>
#include <gal/e-table/e-table-model.h>
-#include <gal/e-table/e-table-defines.h>
-#include <gal/e-table/e-table-sorter.h>
+#include <gal/e-table/e-table-header.h>
#ifdef __cplusplus
extern "C" {
@@ -22,6 +21,7 @@ typedef struct {
ESelectionModelArray base;
ETableModel *model;
+ ETableHeader *eth;
guint model_pre_change_id;
guint model_changed_id;