| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
2001-01-25 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c (move_selection): Made this correctly
check for going off the end of the table.
svn path=/trunk/; revision=7817
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-25 Christopher James Lahey <clahey@helixcode.com>
* e-table-group-container.c, e-table-group-leaf.c,
e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h:
Documented. Added a "cursor_activated" signal. Removed some
unused functions (e_table_group_get_count and
e_table_group_get_ecol).
* e-table-selection-model.c, e-table-selection-model.h: Added a
"cursor_activated" signal. Call it when the user changes the
selection to match the cursor.
* e-table.c, e-table.h: Added a "cursor_activated" signal. Fixed
the e_table_compute_location function to take into account the
scrolled position.
svn path=/trunk/; revision=7808
|
|
|
|
|
|
|
|
|
|
| |
2001-01-21 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Made the cursor move when rows are
inserted or deleted. If in single mode and the selected row gets
removed, move it up.
svn path=/trunk/; revision=7691
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-21 Christopher James Lahey <clahey@helixcode.com>
* e-table-header-item.c (ethi_header_context_menu): Made this
conform to the new prototype for e_popup_menu_run.
* e-table-item.c, e-table-item.h: Documented.
(e_table_item_is_row_selected): Removed this function.
(eti_draw): Changed this so that if the ETableItem is in
cursor-mode="row", the cursor is draw all the way across the row.
(eti_cursor_move_up, eti_cursor_move_down): Commented these out
since they're no longer used.
(_do_tooltip, eti_event): Commented out tooltips.
(eti_event): Made it so that we call the key_press function in the
%ETableSelectionModel on each key press.
* e-table-selection-model.c, e-table-selection-model.h:
Documented. Added a function e_table_selection_model_key_press
that does whatever behavior is correct for the user having pressed
the given key. Changed the behavior of this to better match
windows (use selection-mode="browse").
* e-table-specification.c, e-table-specification.h: Added a
draw_focus variable.
* e-table.c: Decide whether to draw the focus based on the
ETableSpecification. Removed the argument for setting whether to
draw the focus.
svn path=/trunk/; revision=7673
|
|
|
|
| |
svn path=/trunk/; revision=7520
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-12 Miguel de Icaza <miguel@ximian.com>
* e-cell-text.c (key_begins_editing): New function. Tells whether
a key should begin editing.
(ect_event, GDK_KEY_PRESS/RELEASE): check whether we should start
editing.
svn path=/trunk/; revision=7445
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2001-01-11 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c, e-table-selection-model.h: Added
selection_mode argument.
* e-table-specification.c, e-table-specification.h: Added a
selection_mode field that is set based on the selection-mode
attribute in the ETableSpecification element.
* e-table.c (et_real_construct): Set the selection model's
selection mode based on the ETableSpecification.
svn path=/trunk/; revision=7427
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-12-04 Chris Toshok <toshok@helixcode.com>
* e-table-selection-model.c (e_table_selection_model_select_all):
need to zero out the bits corresponding to the rows not selected
in the last full 32 bit mask. This fixes a crash in the subscribe
UI (or potentially anywhere that uses
selection_model_select_all/selection_model_foreach.)
svn path=/trunk/; revision=6770
|
|
|
|
| |
svn path=/trunk/; revision=6376
|
|
|
|
|
|
|
|
|
| |
2000-11-03 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Turned on proper handling of insert
and delete.
svn path=/trunk/; revision=6375
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-04 Jeffrey Stedfast <fejj@helixcode.com>
* e-table-selection-model.c
(e_table_selection_model_invert_selection): Emit the
selection/cursor "changed" signals.
(e_table_selection_model_select_all): Same.
svn path=/trunk/; revision=5724
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-10-04 Jeffrey Stedfast <fejj@helixcode.com>
* e-table-selection-model.c (e_table_selection_model_select_all):
Select all elements of the etable.
(e_table_selection_model_invert_selection): Invert the current
selection.
* e-table.c (e_table_select_all): New convenience function to
select all elements in an e-table.
(e_table_invert_selection): New convenience function to invert the
current selection in an e-table.
svn path=/trunk/; revision=5719
|
|
|
|
| |
svn path=/trunk/; revision=5513
|
|
|
|
| |
svn path=/trunk/; revision=5482
|
|
|
|
|
|
|
|
|
| |
2000-08-31 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Made the selection work when shift
clicking on the first row of the table.
svn path=/trunk/; revision=5139
|
|
|
|
|
|
|
|
|
| |
2000-08-24 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Check for selection->selection being
NULL in e_table_selection_model_selected_count.
svn path=/trunk/; revision=5025
|
|
|
|
|
|
|
|
|
| |
2000-08-20 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Added
e_table_selection_model_selected_count.
svn path=/trunk/; revision=4893
|
|
|
|
|
|
|
|
|
|
| |
2000-08-09 Christopher James Lahey <clahey@helixcode.com>
* e-table-item.c, e-table-selection-model.c,
e-table-selection-model.h: Make right click select if the current
row is not selected.
svn path=/trunk/; revision=4658
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-08-04 Christopher James Lahey <clahey@helixcode.com>
* e-table-group-container.c, e-table-group-leaf.c,
e-table-group.c, e-table-group.h, e-table-item.c, e-table-item.h:
Made drag events calculate a row and column and signal that
information.
* e-table-selection-model.c, e-table-selection-model.h: Changed
do_something to take a GdkModifierType.
svn path=/trunk/; revision=4529
|
|
|
|
|
|
|
|
| |
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Added a comment.
svn path=/trunk/; revision=4387
|
|
|
|
|
|
|
|
| |
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Fixed shift click selections.
svn path=/trunk/; revision=4386
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Allocate correctly in the insert method.
* e-table-click-to-add.c: Removed the line that was causing this
to do bad things.
svn path=/trunk/; revision=4385
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-27 Christopher James Lahey <clahey@helixcode.com>
* e-table-click-to-add.c: Clear the selection model when
activating.
* e-table-item.c: Fixed a bunch of model column vs. view column
issues.
* e-table-selection-model.c: Set the cursor to -1, -1 and emi a
"cursor_changed" signal.
svn path=/trunk/; revision=4380
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-26 Christopher James Lahey <clahey@helixcode.com>
* e-table-click-to-add.c: Fixed a reference.
* e-table-selection-model.c, e-table-selection-model.h: Added a
clear function.
* e-table.c, e-table.h: Made going from click to add to the main
table and back work better.
svn path=/trunk/; revision=4373
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-26 Christopher James Lahey <clahey@helixcode.com>
* e-table-item.c: Fixed the model/view row confusion.
* e-table-selection-model.c: Changed one expression to use a
#define properly.
svn path=/trunk/; revision=4371
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-26 Christopher James Lahey <clahey@helixcode.com>
* e-table-group-container.c, e-table-group-container.h,
e-table-group-leaf.c, e-table-group-leaf.h: Added "table_selection_model"
argument. Removed foreach function and selection notification.
* e-table-group.c, e-table-group.h: Removed foreach function and
selection notification.
* e-table-header.c: Fixed header width calculation to include the
last column.
* e-table-item.c, e-table-item.h: Fixed this to use the new
selection model.
* e-table-scrolled.c, e-table-scrolled.h: Removed selection
notification.
* e-table-selection-model.c, e-table-selection-model.h: Finished
notification signals and fixed a bunch of bit manipulations.
Implemented do_something method.
* e-table.c, e-table.h: Create an ETableSelectionModel and use it
properly.
svn path=/trunk/; revision=4363
|
|
|
|
|
|
|
|
|
| |
2000-07-25 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Made foreach call the callback in top
to bottom order.
svn path=/trunk/; revision=4335
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-25 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c, e-table-selection-model.h: Replaced
get_selection_list with foreach.
* e-table.h: Add a ETableSelectionModel.
svn path=/trunk/; revision=4334
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
2000-07-25 Christopher James Lahey <clahey@helixcode.com>
* Makefile.am: Added e-table-selection-model.c and
e-table-selection-model.h.
* e-table-selection-model.c: Added the get_selection_list and
is_row_selected functions. Removed some unused code.
* e-table-selection-model.h: Removed some unused code.
svn path=/trunk/; revision=4331
|
|
|
|
|
|
|
|
|
|
| |
2000-07-25 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Added comments to the bit field code.
* e-table-selection-model.h: Made the selection data guint32s.
svn path=/trunk/; revision=4329
|
|
|
|
|
|
|
|
| |
2000-07-25 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: More fixes.
svn path=/trunk/; revision=4328
|
|
|
|
|
|
|
|
|
| |
2000-07-25 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c: Fixed up the bit manipulation a bit
here.
svn path=/trunk/; revision=4327
|
|
2000-07-25 Christopher James Lahey <clahey@helixcode.com>
* e-table-selection-model.c, e-table-selection-model.h: New files
for doing a selection model. Not finished yet and thus not in
Makefile.am.
* e-table.c, e-table.h: Renamed the new dnd signals so that they
won't conflict with the widget signals.
svn path=/trunk/; revision=4326
|