2002-11-14 Chris Toshok <toshok@ximian.com>
* gal/widgets/e-selection-model.[ch]: this derives from GObject now.
* gal/widgets/e-selection-model-simple.[ch]: same.
* gal/widgets/e-selection-model-array.[ch]: same.
* gal/widgets/e-reflow-model.[ch]: same.
* gal/widgets/e-reflow.c: fix all references to EReflowModel such
that it's a GObject, not a GtkObject.
svn path=/trunk/; revision=18772
2002-08-29 Mike Kestner <mkestner@ximian.com>
* gal/widgets/e-selection-model-array.c : kill a return that caused
selection ranges to not emit selection_changed if the end index only
changed by 1.
svn path=/trunk/; revision=17930
2001-12-17 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-selection-model-simple.c
(e_selection_model_simple_set_row_count): Set esma->selected_row
and esma->selected_range_end to -1 here.
* gal/widgets/e-selection-model-array.c
(e_selection_model_array_confirm_row_count): Set selected_row and
selected_range_end to -1 here.
(esma_select_single_row): Check that selected_row is within the
range of possible rows. This should never happen, but this check
will help if it does.
svn path=/trunk/; revision=15142
2001-12-04 Christopher James Lahey <clahey@ximian.com>
* configure.in (GAL_CURRENT): Bumped version number to 0.18.99.0
and CURRENT to 19.
2001-11-21 Christopher James Lahey <clahey@ximian.com>
* gal/widgets/e-reflow.c, gal/widgets/e-reflow.h: Handle
selection_row_changed signal.
* gal/widgets/e-selection-model-array.c,
gal/widgets/e-selection-model-array.h: Properly send
selection_row_changed signals if changing from a single row
selected to a single other row selected or if moving the
selection_end by a single row.
* gal/widgets/e-selection-model.c,
gal/widgets/e-selection-model.h: Added selection_row_changed
signal.
(e_selection_model_select_as_key_press): Fixed the case statement
here to make MULTIPLE and EXTENDED the same as BROWSE instead of
as SINGLE.
From gal/e-table/ChangeLog:
2001-11-21 Christopher James Lahey <clahey@ximian.com>
* e-table-item.c, e-table-item.h: Handle selection_row_changed
signal. Keep track of the old cursor row so that we only redraw
two rows when the cursor changes.
* e-table.c, e-tree.c: Handle selection_row_changed signal.
* e-tree-selection-model.c: Properly send selection_row_changed
signals if changing from a single row selected to a single other
row selected or if moving the selection_end by a single row.
svn path=/trunk/; revision=14870
2001-11-14 Christopher James Lahey <clahey@ximian.com>
* configure.in (GAL_CURRENT): Bumped version number to 0.18.1.
* gal/widgets/e-selection-model-array.c
(e_selection_model_array_delete_rows): Make sure the cursor row is
selected after deleting here.
svn path=/trunk/; revision=14711
2001-03-26 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am (libgal_la_LIBADD): Added util/e-bit-array.lo.
* gal/util/Makefile.am: Added e-bit-array.c and e-bit-array.h.
* gal/util/e-bit-array.c, gal/util/e-bit-array.h: New class
containing the implementation of the bit array used in
e-selection-model-array.
* gal/widgets/e-selection-model-array.c,
e-selection-model-array.h: Refactored the bit array implementation
into a separate class.
* gal/widgets/e-selection-model-simple.c: Changed how it clears
the bit array of the ESelectionModelArray parent class.
* gal/widgets/e-selection-model.h: Added code to make the
declaration of EForeachFunc only get included once.
svn path=/trunk/; revision=8955
2001-03-25 Christopher James Lahey <clahey@ximian.com>
* gal/Makefile.am (libgal_la_LIBADD): Added
e-selection-model-array.lo.
* gal/widgets/Makefile.am: Added e-selection-model-array.c and
e-selection-model-array.h.
* gal/widgets/e-selection-model-array.c,
gal/widgets/e-selection-model-array.h: New class that implements
the details of ESelectionModel. ESelectionModel has been
refactored to just be a this virtual class. ESelectionModelArray
is the original implementation of ESelectionModel. This is what
most people will want to use or derive from.
* gal/widgets/e-selection-model-simple.c,
gal/widgets/e-selection-model-simple.h: Made the parent class of
this be ESelectionModelArray instead of ESelectionModel. Changed
some function names to match this change.
* gal/widgets/e-selection-model.c,
gal/widgets/e-selection-model.h: Refactored most of the
implementation of this class into ESelectionModelArray. Now just
a thin virtual class.
From gal/e-table/ChangeLog:
2001-03-25 Christopher James Lahey <clahey@ximian.com>
* e-table-selection-model.c, e-table-selection-model.h: Made the
parent object of this be ESelectionModelArray instead of
ESelectionModel due to their refactoring. Changed the commented
out code for saving the selection a bit.
svn path=/trunk/; revision=8924