diff options
author | Christopher James Lahey <clahey@helixcode.com> | 2000-08-05 20:38:24 +0800 |
---|---|---|
committer | Chris Lahey <clahey@src.gnome.org> | 2000-08-05 20:38:24 +0800 |
commit | 78adc934b0946d1f4f4f6dacb393b4a119d68bec (patch) | |
tree | e8c026a1e6fc854e2e11c0f620adb6f548b4824e /widgets/table/e-table-selection-model.h | |
parent | a223be493907708471d2fe3c1ecc9c658a98995d (diff) | |
download | gsoc2013-evolution-78adc934b0946d1f4f4f6dacb393b4a119d68bec.tar gsoc2013-evolution-78adc934b0946d1f4f4f6dacb393b4a119d68bec.tar.gz gsoc2013-evolution-78adc934b0946d1f4f4f6dacb393b4a119d68bec.tar.bz2 gsoc2013-evolution-78adc934b0946d1f4f4f6dacb393b4a119d68bec.tar.lz gsoc2013-evolution-78adc934b0946d1f4f4f6dacb393b4a119d68bec.tar.xz gsoc2013-evolution-78adc934b0946d1f4f4f6dacb393b4a119d68bec.tar.zst gsoc2013-evolution-78adc934b0946d1f4f4f6dacb393b4a119d68bec.zip |
Made selection ranges work even if the table is sorted.
2000-08-05 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am, e-table-selection-model.c,
e-table-selection-model.h, e-table.c, e-table.h: Made selection
ranges work even if the table is sorted.
* e-table-sorter.c, e-table-sorter.h: New files to help with
making selection ranges work even if sorted.
svn path=/trunk/; revision=4546
Diffstat (limited to 'widgets/table/e-table-selection-model.h')
-rw-r--r-- | widgets/table/e-table-selection-model.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/widgets/table/e-table-selection-model.h b/widgets/table/e-table-selection-model.h index a1ccb41353..df2e377d14 100644 --- a/widgets/table/e-table-selection-model.h +++ b/widgets/table/e-table-selection-model.h @@ -5,6 +5,7 @@ #include <gtk/gtkobject.h> #include "widgets/e-table/e-table-model.h" #include "widgets/e-table/e-table-defines.h" +#include "widgets/e-table/e-table-sorter.h" #define E_TABLE_SELECTION_MODEL_TYPE (e_table_selection_model_get_type ()) #define E_TABLE_SELECTION_MODEL(o) (GTK_CHECK_CAST ((o), E_TABLE_SELECTION_MODEL_TYPE, ETableSelectionModel)) @@ -13,9 +14,10 @@ #define E_IS_TABLE_SELECTION_MODEL_CLASS(k) (GTK_CHECK_CLASS_TYPE ((k), E_TABLE_SELECTION_MODEL_TYPE)) typedef struct { - GtkObject base; + GtkObject base; - ETableModel *model; + ETableModel *model; + ETableSorter *sorter; gint row_count; guint32 *selection; |