Commit Graph

746 Commits

Author SHA1 Message Date
2819f70ff2 *** empty log message ***
svn path=/trunk/; revision=15588
2002-02-07 10:05:45 +00:00
a3bd2634b1 Made this function much more readable. Got rid of all the gotos. Fixed a
2002-01-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-model.c (e_tree_model_node_find): Made this function much
	more readable.  Got rid of all the gotos.  Fixed a case where
	going backwards during a root search checked the root node first.
	(e_tree_model_node_real_traverse): Made backwards traversals be
	postorder, as they should be, instead of preorder.

	* e-tree.c (find_next_callback): Use an extra callback function
	here to go from sorted path to model path.

svn path=/trunk/; revision=15543
2002-01-31 20:23:00 +00:00
5ec116e6a9 Make this function take a bitfield of parameters instead of two bools.
2002-01-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree.c, e-tree.h (e_tree_find_next): Make this function take a
	bitfield of parameters instead of two bools.

svn path=/trunk/; revision=15538
2002-01-31 09:03:48 +00:00
6d22aa7bd1 Added this simple accessor function.
2002-01-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c, e-tree-selection-model.h
	(e_tree_selection_model_get_cursor): Added this simple accessor
	function.

	* e-tree.c, e-tree.h (e_tree_find_next): Searches from the cursor
	given the search parameters and moves the cursor if it ever
	matches.

svn path=/trunk/; revision=15537
2002-01-31 08:38:03 +00:00
e2defdb06f New function to do a search through a tree in one direction or the other.
2002-01-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-model.c, e-tree-model.h (e_tree_model_node_find): New
	function to do a search through a tree in one direction or the
	other.

svn path=/trunk/; revision=15536
2002-01-31 08:17:57 +00:00
a10b9d3aa1 Implement max_width_by_row.
2002-01-21  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-text.c: Implement max_width_by_row.

	* e-cell-tree.c: Use max_width_by_row in max_width function.

	* e-cell.c, e-cell.h (e_cell_max_width_by_row): Added this new
	method to ECell.

svn path=/trunk/; revision=15418
2002-01-21 17:55:16 +00:00
af1b3098c2 new file, implements the ECellProgress object.
2002-01-16  Krisztian Pifko  <monsta@users.sourceforge.net>

	* e-cell-progress.c, e-cell-progress.h: new file, implements the
	ECellProgress object.

	* Makefile.am (libetable_la_SOURCES, libetableinclude_HEADERS):
	added e-cell-progress.c and e-cell-progress.h.

svn path=/trunk/; revision=15341
2002-01-16 17:26:54 +00:00
8dcab9df57 Added #include <libgnome/gnome-defs.h>.
2002-01-16  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-checkbox.h, e-cell-date.h, e-cell-float.h,
	e-cell-number.h, e-cell-size.h, e-cell-text.h, e-cell-toggle.h,
	e-cell-tree.h, e-cell.h, e-table-click-to-add.h,
	e-table-col-dnd.h, e-table-config-field.h, e-table-extras.h,
	e-table-field-chooser-item.h, e-table-group-container.h,
	e-table-group-leaf.h, e-table-group.h, e-table-header-item.h,
	e-table-item.h, e-table-scrolled.h, e-table-sorter.h,
	e-table-tooltip.h, e-table-tree.h, e-table-utils.h, e-table.h,
	e-tree-scrolled.h, e-tree-sorted-variable.h, e-tree.h: Added
	#include <libgnome/gnome-defs.h>.

svn path=/trunk/; revision=15339
2002-01-16 17:17:04 +00:00
1d68f8289f New functions for saving selection state and such.
2002-01-15  Christopher James Lahey  <clahey@ximian.com>

	* e-cell.c, e-cell.h (e_cell_save_state, e_cell_load_state,
	e_cell_free_state): New functions for saving selection state and
	such.

	* e-cell-text.c (ect_save_state): Implemented the new state
	functions.

	* e-table-item.c, e-table-item.h: Use the new cell state functions
	when focusing in or out.  Fixes Ximian bug #14968.

svn path=/trunk/; revision=15335
2002-01-15 22:33:13 +00:00
b70d7b0292 Made the header item here handle horizontal scrolling when adding a
2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c, e-table-header-item.h (scroll_timeout):
	Made the header item here handle horizontal scrolling when adding
	a column.

svn path=/trunk/; revision=15278
2002-01-09 23:31:06 +00:00
effefd2815 Bumped version number to 0.19.99.0. Bumped GAL_CURRENT. Reset
2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.19.99.0.  Bumped
	GAL_CURRENT.  Reset GAL_REVISION.

From gal/e-table/ChangeLog:

2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c, e-table.h (scroll_timeout), e-tree.c
	(scroll_timeout): Made these handle horizontal scrolling during
	drags.

svn path=/trunk/; revision=15272
2002-01-09 06:49:52 +00:00
e5d02e7ed1 Collapse nodes that were opened during a drag, unless the drop site is a
2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* e-tree.c (collapse_drag): Collapse nodes that were opened during
	a drag, unless the drop site is a child node.  Fixes Ximian bug
	#4965.

svn path=/trunk/; revision=15271
2002-01-09 05:40:32 +00:00
4f77fa6396 Merging changes:
2001-12-17  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-toggle.c (etog_set_value): Don't queue a redraw here.
	the value changed signal will do that automatically.

svn path=/trunk/; revision=15160
2001-12-18 21:10:42 +00:00
78406c4d1c Merging changes:
2001-12-12  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-text.c (ect_stop_editing): Change to not editing before
	committing values.  Then commit the values.

svn path=/trunk/; revision=15104
2001-12-17 07:54:10 +00:00
4ca3db91ac Merging changes:
2001-12-11  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_unrealize): Turn off idle
	handling in the unrealize function instead of the destroy
	function.

From gal/e-table/ChangeLog:

2001-12-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c: Turn off idle handling in the unrealize function
	instead of the destroy function.

svn path=/trunk/; revision=15102
2001-12-17 07:50:20 +00:00
3e70bbe666 unregister ETableHeaderItem widget as a drag target when unrealizing it.
2001-12-11  Gustavo Giráldez  <gustavo.giraldez@gmx.net>

	* gal/e-table/e-table-header-item.c (ethi_unrealize): unregister
	ETableHeaderItem widget as a drag target when unrealizing it.

svn path=/trunk/; revision=14996
2001-12-11 22:20:31 +00:00
a014ee4309 Merging files:
2001-12-06  Christopher James Lahey  <clahey@ximian.com>

	* e-table-config.c, e-table-config.h (setup_gui): Set the title of
	the window here.

	* e-table-header-item.c (ethi_popup_customize_view): Use a useful
	string for the header here.

svn path=/trunk/; revision=14975
2001-12-11 10:10:02 +00:00
dc83cb0331 Merging changes:
2001-12-06  Christopher James Lahey  <clahey@ximian.com>

	* e-table-subset.c (etss_get_view_row): Removed incorrect calls to
	e_table_model_row_changed here.

svn path=/trunk/; revision=14973
2001-12-11 10:02:27 +00:00
ef46478b1c Merging changes:
2001-12-05  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c (ethi_find_col_by_x,
	ethi_find_col_by_x_nearest): Made these return 0 to the left of
	all columns and ethi_find_col_by_x return cols - 1 if to the right
	of all columns.  Fixes Ximian bug #14414.

svn path=/trunk/; revision=14971
2001-12-11 09:56:14 +00:00
a1725df2bb Merging changes:
2001-12-04  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (e_tree_selection_model_change_cursor):
	Unset selection->old_selection here.

svn path=/trunk/; revision=14912
2001-12-06 20:21:51 +00:00
410f3bc629 Merging changes:
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-12-04 21:03:28 +00:00
4b74a42adf Merging changes:
2001-11-28  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (context_destroyed), e-tree.c (context_destroyed):
	Check for et being destroyed here before doing anything.  Fixes
	Ximian bug #15728.

svn path=/trunk/; revision=14864
2001-12-04 12:11:16 +00:00
1994bab834 Merging changes:
2001-12-04  Christopher James Lahey  <clahey@ximian.com>

	* e-table-group.c, e-table.c, e-tree.c: Changed some comments.
	Added a bunch of documentation here.

svn path=/trunk/; revision=14861
2001-12-04 11:21:55 +00:00
aa256bd41d Ungrab and set maybe_in_grab to FALSE before sending the double click
2001-11-14  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_event): Ungrab and set maybe_in_grab to
	FALSE before sending the double click signal.

svn path=/trunk/; revision=14708
2001-11-14 22:15:13 +00:00
6c92a88fc7 Handle the case where page up or page down goes off the end of the table
2001-11-10  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (group_key_press), e-tree.c (item_key_press): Handle
	the case where page up or page down goes off the end of the table
	or tree.

svn path=/trunk/; revision=14702
2001-11-14 20:47:31 +00:00
388862bcc0 Don't select all if the source model doesn't have a root node (it used to
2001-11-07  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (etsm_select_all): Don't select all if
	the source model doesn't have a root node (it used to crash.)
	Fixes Ximian bug #14542.

svn path=/trunk/; revision=14661
2001-11-10 20:39:41 +00:00
207ba3e3c5 Make a printout here be conditionally compiled (and compiled out by
2001-11-08  Christopher James Lahey  <clahey@ximian.com>

	* e-table-sorter.c (ets_sort_info_changed): Make a printout here
	be conditionally compiled (and compiled out by default.)

svn path=/trunk/; revision=14660
2001-11-10 20:37:38 +00:00
e50647bb50 Fixed stupid bug (U_ macro should always take one argument).
* gal/util/e-unicode-i18n.h:
Fixed stupid bug (U_ macro should always take one argument).

* gal/e-table/e-table-group-container.c (compute_text): s/_/U_

svn path=/trunk/; revision=14632
2001-11-08 22:11:45 +00:00
514e14b2c6 New functions here.
2001-11-03  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-popup.c, e-cell-popup.h (e_cell_popup_set_shown,
	e_cell_popup_queue_cell_redraw): New functions here.

	* e-cell-combo.c: Use e_cell_popup_set_shown to set the
	popup_shown variable so that ECellPopup can properly request a
	redraw.

svn path=/trunk/; revision=14592
2001-11-05 19:52:33 +00:00
76d416305f We should only pre_change here if frozen = 0, otherwise we'll leak
2001-11-03  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-memory.c (e_tree_memory_freeze): We should only
	pre_change here if frozen = 0, otherwise we'll leak pre_changes.
	Helps fix Ximian bug #14422.

	* e-tree-sorted.c (ets_proxy_node_data_changed,
	ets_proxy_node_col_changed): Send a no_change signal here if given
	a NULL path.  Helps fix Ximian bug #14422.

svn path=/trunk/; revision=14591
2001-11-05 19:50:35 +00:00
bd49633a89 Bumped the version number to 0.17.99.0. Bumped the soname to 18.
2001-11-03  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.17.99.0.  Bumped
	the soname to 18.

	* gal/widgets/e-categories.c (e_categories_destroy): Got rid of a
	GtkWarning here that was due to Gtk+ casting a NULL pointer.
	Fixes Ximian bug #14327.

From gal/e-table/ChangeLog:

2001-11-02  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-popup.c, e-cell-popup.h (e_cell_popup_do_popup): Make
	ECellPopup not display multiple arrows while the popup is up and
	the table is in grouped mode.  Fixes Ximian bug #14207.

svn path=/trunk/; revision=14580
2001-11-03 09:02:54 +00:00
f00d0b9514 Fixed the signature of this function.
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (etsm_node_deleted): Fixed the
	signature of this function.

svn path=/trunk/; revision=14560
2001-11-01 00:35:40 +00:00
71a63f1498 Bumped the version number to 0.16.99.0 and GAL_CURRENT to 17.
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.16.99.0 and
	GAL_CURRENT to 17.

From gal/e-table/ChangeLog:

2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_unfreeze): Check for unfreezing past 0 here
	and give a warning.
	(eti_add_table_model): Call eti_freeze here since
	eti_table_model_changed will call unfreeze.

	* e-tree-memory.c (e_tree_memory_node_remove): Send deleted signal
	after freeing the child.

	* e-tree-model.c, e-tree-model.h: Added node_deleted signal.
	removed/deleted signals will always come in pairs in that order
	with a single pre_change for both of them.

	* e-tree-selection-model.c (etsm_node_deleted): Clear the tree on
	deleted here instead of on removed.

	* e-tree-sorted.c (ets_proxy_node_deleted): Chain deleted here.
	Chains to NULL node which is fine for now.

svn path=/trunk/; revision=14557
2001-10-31 23:42:08 +00:00
23587bebe8 Added frozen_count variable to know not to show the cursor while a change
2001-10-31  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c, e-table-item.h: Added frozen_count variable to
	know not to show the cursor while a change is going on.

	* e-table-model.c, e-table-model.h, e-tree-model.c,
	e-tree-model.h: Added a model_no_change signal to pair with a
	pre_change if there's no change.

	* e-table-selection-model.h: Removed an unused frozen field here.

	* e-table-sorted.c, e-table-subset.c, e-table-subset.h,
	e-table-without.c, e-tree-memory.c, e-tree-sorted.c,
	e-tree-table-adapter.c: Made sure pre_changes were all matched by
	some change.  Proxy no_change signal where appropriate.

	* e-tree-selection-model.c: Keep track of the frozen_count
	variable to know whether a change is going on.

svn path=/trunk/; revision=14523
2001-10-31 10:33:51 +00:00
02ffaef8e1 Leave edit if commit is called.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (e_table_commit_click_to_add): Leave edit if commit is
	called.

svn path=/trunk/; revision=14487
2001-10-30 22:09:46 +00:00
41884992f8 Request the right regions here. The range given is inclusive, not
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_show_cursor, eti_check_cursor_bounds):
	Request the right regions here.  The range given is inclusive, not
	inclusive/exclusive.

svn path=/trunk/; revision=14479
2001-10-30 20:57:11 +00:00
6922ceef9e Remove point handler and just let GnomeCanvasGroup handle it.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table-click-to-add.c (etcta_class_init): Remove point handler
	and just let GnomeCanvasGroup handle it.

	* e-table.c (e_table_commit_click_to_add): Don't commit the
	click_to_add if there's no click_to_add to commit.

svn path=/trunk/; revision=14476
2001-10-30 20:12:57 +00:00
377b222ae3 Bumped the version number here to 0.15.99.10.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number here to 0.15.99.10.

From gal/e-table/ChangeLog:

2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (e_table_commit_click_to_add): Added this new function
	to allow the user to specify a commit.

svn path=/trunk/; revision=14473
2001-10-30 19:08:10 +00:00
6bf38a0ba9 Fix this to check from initial instead of initial + 1.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-sorted.c (check_last_access): Fix this to check from
	initial instead of initial + 1.

svn path=/trunk/; revision=14445
2001-10-30 09:23:37 +00:00
84dc532fd9 Bumped the version number here to 0.15.99.9.
2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number here to 0.15.99.9.

From gal/e-table/ChangeLog:

2001-10-30  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-combo.c: Adapt to the changed popup signature.

	* e-cell-popup.c, e-cell-popup.h: Changed the behavior here to
	draw the button whenever we have the cursor.  Changed the popup
	virtual method to pass in the row and column popping up.

	* e-cell.h: Added an E_CELL_CURSOR flag.

	* e-table-item.c: Pass in the E_CELL_CURSOR flag to event and draw
	calls as appropriate.

svn path=/trunk/; revision=14439
2001-10-30 07:25:22 +00:00
bb52386b7d Ignore buttons 4 and 5 here. Fixes Ximian bug #13853.
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (et_canvas_root_event), e-tree.c
	(et_canvas_root_event): Ignore buttons 4 and 5 here.  Fixes Ximian
	bug #13853.

svn path=/trunk/; revision=14376
2001-10-29 23:06:57 +00:00
e170420969 Hide the Help button here since there's nothing connected to it.
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* e-table-config.c (setup_gui): Hide the Help button here since
	there's nothing connected to it.

	* e-tree-sorted.c (ets_sort_idle): Don't nest ets_sort_idle calls.
	Fixes Ximian bug #13929.

svn path=/trunk/; revision=14368
2001-10-29 22:21:57 +00:00
aa1899af14 Don't go outside the table looking for matches when doing the last_access
2001-10-29  Christopher James Lahey  <clahey@ximian.com>

	* e-table-subset.c (etss_get_view_row), e-tree-sorted.c
	(check_last_access), e-tree-table-adapter.c (find_row_num): Don't
	go outside the table looking for matches when doing the
	last_access search.

svn path=/trunk/; revision=14359
2001-10-29 20:36:24 +00:00
be929d9041 Fix crash here.
2001-10-28  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (table_canvas_focus_event_cb): Fix crash here.

svn path=/trunk/; revision=14279
2001-10-28 05:34:31 +00:00
c54af29c07 Removed erroneous comment about needing to handle selection better.
2001-10-28  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-text.c: Removed erroneous comment about needing to handle
	selection better.

svn path=/trunk/; revision=14272
2001-10-28 04:46:38 +00:00
6450290c20 Chain the cursor_activated signal even if the row is -1.
2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_cursor_activated): Chain the
	cursor_activated signal even if the row is -1.

	* e-tree.c (item_cursor_activated): Don't error out here if path
	is NULL.

svn path=/trunk/; revision=14185
2001-10-26 23:52:06 +00:00
b52361991b Changed the license announcement at the top of these files.
2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-float.c, e-cell-float.h: Changed the license announcement
	at the top of these files.

svn path=/trunk/; revision=14168
2001-10-26 20:34:47 +00:00
c3e3a85f28 Changed the license announcement at the top of these files.
2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-checkbox.c, e-cell-checkbox.h, e-cell-combo.c,
	e-cell-combo.h, e-cell-date.c, e-cell-date.h, e-cell-number.c,
	e-cell-number.h, e-cell-pixbuf.c, e-cell-pixbuf.h, e-cell-popup.c,
	e-cell-popup.h, e-cell-size.c, e-cell-size.h,
	e-cell-spin-button.c, e-cell-spin-button.h, e-cell-string.c,
	e-cell-text.c, e-cell-text.h, e-cell-toggle.c, e-cell-toggle.h,
	e-cell-tree.c, e-cell-tree.h, e-cell.c, e-cell.h,
	e-table-click-to-add.c, e-table-click-to-add.h, e-table-col-dnd.h,
	e-table-col.c, e-table-col.h, e-table-column-specification.c,
	e-table-column-specification.h, e-table-column.c,
	e-table-config-field.c, e-table-config-field.h, e-table-config.c,
	e-table-config.h, e-table-defines.h, e-table-example-1.c,
	e-table-example-2.c, e-table-extras.c, e-table-extras.h,
	e-table-field-chooser-dialog.c, e-table-field-chooser-dialog.h,
	e-table-field-chooser-item.c, e-table-field-chooser-item.h,
	e-table-field-chooser.c, e-table-field-chooser.h,
	e-table-group-container.c, e-table-group-container.h,
	e-table-group-leaf.c, e-table-group-leaf.h, e-table-group.c,
	e-table-group.h, e-table-header-item.c, e-table-header-item.h,
	e-table-header-utils.c, e-table-header-utils.h, e-table-header.c,
	e-table-header.h, e-table-item.c, e-table-item.h,
	e-table-memory-callbacks.c, e-table-memory-callbacks.h,
	e-table-memory.c, e-table-memory.h, e-table-model.c,
	e-table-model.h, e-table-one.c, e-table-one.h, e-table-scrolled.c,
	e-table-scrolled.h, e-table-selection-model.c,
	e-table-selection-model.h, e-table-simple.c, e-table-simple.h,
	e-table-size-test.c, e-table-sort-info.c, e-table-sort-info.h,
	e-table-sorted-variable.c, e-table-sorted-variable.h,
	e-table-sorted.c, e-table-sorted.h, e-table-sorter.c,
	e-table-sorter.h, e-table-sorting-utils.c,
	e-table-sorting-utils.h, e-table-specification.c,
	e-table-specification.h, e-table-state.c, e-table-state.h,
	e-table-subset-variable.c, e-table-subset-variable.h,
	e-table-subset.c, e-table-subset.h, e-table-tooltip.h,
	e-table-tree.h, e-table-utils.c, e-table-utils.h,
	e-table-without.c, e-table-without.h, e-table.c, e-table.h,
	e-tree-memory-callbacks.c, e-tree-memory-callbacks.h,
	e-tree-memory.c, e-tree-memory.h, e-tree-model.c, e-tree-model.h,
	e-tree-scrolled.c, e-tree-scrolled.h, e-tree-selection-model.c,
	e-tree-selection-model.h, e-tree-simple.c, e-tree-simple.h,
	e-tree-sorted-variable.c, e-tree-sorted-variable.h,
	e-tree-sorted.c, e-tree-sorted.h, e-tree-table-adapter.c,
	e-tree-table-adapter.h, e-tree.c, e-tree.h, table-test.c,
	table-test.h, test-check.c, test-cols.c, test-table.c: Changed the
	license announcement at the top of these files.

	* e-cell-string.c: Removed unused file.

svn path=/trunk/; revision=14154
2001-10-26 18:25:47 +00:00
b0ab0a15e0 Document allow-grouping attribute.
2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* docs/etablexml.txt: Document allow-grouping attribute.

	* tests/test-table-1.c (SPEC): Updated this to test the
	allow_grouping=\"false\" attribute.

From gal/e-table/ChangeLog:

2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* e-table-config.c (config_group_info_update,
	config_fields_info_update): Added some checks for NULL labels
	here.

	* e-table-specification.c, e-table-specification.h: Added
	allow_grouping field.  Fixes Ximian bug #13412.

	* e-table.c, e-table.h: Added allow_grouping field.  Set this
	field for the sort infos from state objects.

svn path=/trunk/; revision=14134
2001-10-26 11:48:53 +00:00
ec99a18271 If the root node is hidden and selected, don't count it in the selected
2001-10-26  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (etsm_selected_count): If the root node
	is hidden and selected, don't count it in the selected path count.

	* e-tree.c (et_canvas_root_event): Attach to the event handler on
	the root canvas item instead of the canvas itself when making the
	ETree leave editing state.

svn path=/trunk/; revision=14128
2001-10-26 09:00:36 +00:00