Commit Graph

108 Commits

Author SHA1 Message Date
97adccec5d fixes for compiler warnings
2004-06-10  Radek Doulik  <rodo@ximian.com>

	* e-cell-text.c (layout_with_preedit): removed unused variable

	* e-tree.c (e_tree_get_item): added cast
	added #include <atk/atkregistry.h>

	* e-table-one.c (one_finalize): removed unused variable

	* e-table-item.c: added #include
	"gal/a11y/e-table/gal-a11y-e-table-item.h" for
	gal_a11y_e_table_item_factory_get_type prototype

	* e-table-header-utils.c (e_table_header_draw_button): removed
	unused variable

	* e-table-config.c (get_source_model_col_index): removed unused
	variable

	* e-table-click-to-add.c (finish_editing): added cast
	(etcta_event): ditto

	* e-cell-toggle.c: added #include
	"gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have
	gal_a11y_e_cell_registry_add_cell_type prototype

	* e-cell-text.c (layout_with_preedit): removed unused variable
	(build_layout): ditto
	(ect_event): ditto
	(e_cell_text_commit_cb): ditto

	* e-cell-popup.c: added #include
	"gal/a11y/e-table/gal-a11y-e-cell-registry.h" to have
	gal_a11y_e_cell_registry_add_cell_type prototype

svn path=/trunk/; revision=26284
2004-06-10 15:29:15 +00:00
a24b80f8fd Don't necessarily set row to 0 if the root node has the cursor (otherwise
2004-05-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-tree.c (e_tree_find_next): Don't necessarily set row to 0 if
	the root node has the cursor (otherwise message_list_select()
	first unread will actually select the second unread if the first
	unread is the first in the list). Fixes a bug that's been pissing
	me off for years.

svn path=/trunk/; revision=25789
2004-05-04 18:42:04 +00:00
5bbde1a630 add new files. set the right role. new file.
2003-10-11  Yuedong Du  <yuedong.du@sun.com>

        * gal/a11y/e-table/Makefile.am: add new files.
        * gal/a11y/e-table/gal-a11y-e-cell.c: (gal_a11y_e_cell_construct):
        set the right role.
        * gal/a11y/e-table/gal-a11y-e-table-item-factory.c: new file.
        (gal_a11y_e_table_item_factory_get_accessible_type),
        (gal_a11y_e_table_item_factory_create_accessible),
        (gal_a11y_e_table_item_factory_class_init),
        (gal_a11y_e_table_item_factory_init),
        (gal_a11y_e_table_item_factory_get_type): factory for the table item
        a11y object. in create_accessible, we judge the type of widget
        then set correct role.
        * gal/a11y/e-table/gal-a11y-e-table-item-factory.h: ditto.
        * gal/a11y/e-table/gal-a11y-e-tree-factory.c: new file.
        (gal_a11y_e_tree_factory_get_accessible_type),
        (gal_a11y_e_tree_factory_create_accessible),
        (gal_a11y_e_tree_factory_class_init),
        (gal_a11y_e_tree_factory_init), (gal_a11y_e_tree_factory_get_type):
        factory for a11y object of etree. Mostly copyed from
        gal-a11y-e-table-factory.c.
        * gal/a11y/e-table/gal-a11y-e-tree-factory.h: ditto
        * gal/a11y/e-table/gal-a11y-e-tree.c: (init_child_item),
        (et_ref_accessible_at_point), (et_get_n_children), (et_ref_child),
        (et_class_init), (et_atk_component_iface_init), (et_init),
        (gal_a11y_e_tree_get_type), (gal_a11y_e_tree_new):a11y object for
        etree object, mostly copied from gal-a11y-e-table.c. init_child_item
        set correct role for the table item.
        * gal/a11y/e-table/gal-a11y-e-tree.h: ditto.
        * gal/e-table/e-table-item.c: (eti_class_init): register factory
        for table item a11y object.
        * gal/e-table/e-tree.c: (e_tree_get_item), (e_tree_class_init):
        add new access fuction to get the table item of etree.
        * gal/e-table/e-tree.h: ditto

svn path=/trunk/; revision=22867
2003-10-11 03:00:59 +00:00
405b846e5b extracted from ect_draw (draw_expander): new gtktreeview-like expander
2003-08-15  Mike Kestner  <mkestner@ximian.com>

	* e-cell-tree.c (draw_retro_expander): extracted from ect_draw
	(draw_expander): new gtktreeview-like expander drawing
	(ect_draw): draw lines and expanders based on retro_look style prop
	(adjust_event_position): extracted method from ect_event
	(event_in_expander): new checks for motion/clicks in expander
	(ect_event): handle prelight for new expanders
	* e-table-item.c (eti_init): init new motion col/row
	(eti_event): synthesize leave_notify events for cells and propogate
	existing motion events to the cells.
	* e-tree.c (e_tree_class_init): add retro_look and expander_size
	style props.

svn path=/trunk/; revision=22251
2003-08-15 20:23:12 +00:00
cfacfc319d Initialize some missing fields. Fixes "no handler with id" warnings at evo
* e-tree.c (e_tree_init): Initialize some missing fields. Fixes
        "no handler with id" warnings at evo shutdown
        (ETreePriv): remove unused table_rows_{inserted,deleted}_id
        (et_disconnect_from_etta): remove refs to them

        * e-table.c (e_table_drag_source_unset): free site->target_list if
        it's set.

svn path=/trunk/; revision=21705
2003-07-01 13:16:43 +00:00
996f1063f9 don't do the CURSOR_FIRST checks if cursor is NULL [43523]
2003-06-13  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (et_search_search): don't do the CURSOR_FIRST
	checks if cursor is NULL [43523]

2003-06-13  Mike Kestner  <mkestner@ximian.com>

	* e-table-item.c (eti_get_cell_background_color): update to
	an alt row color more consistent with gtktreeview. [44610]

svn path=/trunk/; revision=21440
2003-06-13 22:27:03 +00:00
a37e4f4213 guard against NULL strings don't add disabled column titles to the store.
2003-06-12  Mike Kestner  <mkestner@ximian.com>

	* e-cell-text.c (generate_layout): guard against NULL strings
	* e-table-config.c (create_global_store): don't add disabled
	column titles to the store. [44258]
	* e-tree-table-adapter.c (e_t_t_a_node_set_expanded): don't
	warn if we're trying to collapse a node that's not visible.
	* e-tree.c (et_connect_to_etta): don't connect to row_inserted
	and row_deleted. [43893]

svn path=/trunk/; revision=21424
2003-06-12 13:35:46 +00:00
3c4aef5b41 to really fix 42952 use e_table_item_get_cell_geometry. Also a couple
2003-05-20  Ettore Perazzoli  <ettore@ximian.com>

	* e-tree.c (tree_canvas_size_allocate): to really fix 42952
	use e_table_item_get_cell_geometry.  Also a couple valgrind
	and g_warning fixes related to this change from Mike.

svn path=/trunk/; revision=21303
2003-05-21 16:02:59 +00:00
b47a4aa4ee (tree_canvas_size_allocate): Call
tree_canvas_reflow_idle() before deciding whether to move the
adjustment, not afterwards.  [#42952]

svn path=/trunk/; revision=21197
2003-05-15 20:58:15 +00:00
6cdf75996f use weak refs not datasets. (e_tree_dispose): weak_unref the context.
2003-05-14  Mike Kestner  <mkestner@ximian.com>

	* e-tree-c (context_connect): use weak refs not datasets.
	(e_tree_dispose): weak_unref the context.
	Hopefully fixes 42617.

svn path=/trunk/; revision=21195
2003-05-15 18:33:47 +00:00
b08b55549a add null check for paths (find_prev_in_range): add null check for paths
2003-05-09  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (find_next_in_range): add null check for paths
	(find_prev_in_range): add null check for paths

svn path=/trunk/; revision=21143
2003-05-09 21:39:56 +00:00
4d31188934 don't return on col == -1. update the adjustment to center the cursor.
2003-05-09  Mike Kestner  <mkestner@ximian.com>

	* e-table-item.c (eti_cursor_change): don't return on col == -1.
	* e-tree.c (tree_canvas_size_allocate): update the adjustment
	to center the cursor.
	(hover_timeout): remove unused variable to fix warning

svn path=/trunk/; revision=21142
2003-05-09 17:14:17 +00:00
60ffd0653e (e_tree_class_init): Add a G_SIGNAL_TYPE_STATIC_SCOPE
for the GTK_TYPE_SELECTION_DATA arg.

svn path=/trunk/; revision=20650
2003-04-02 23:34:36 +00:00
2ee1eb9078 Add style_set to update list properly (et_canvas_realize): Remove this as
2003-02-26  Rodney Dawes  <dobey@ximian.com>

	* e-tree.c (et_canvas_style_set): Add style_set to update list properly
	(et_canvas_realize): Remove this as it's no longer needed with support
	for the style_set implementation

svn path=/trunk/; revision=20108
2003-02-28 18:43:30 +00:00
f37fdf7f9b remove alloc-based transform (et_drag_data_received): ditto
2003-02-28  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (et_drag_motion): remove alloc-based transform
	(et_drag_data_received): ditto
	(et_drag_drop): ditto
	(et_hover_timeout): ditto
	(do_drag_motion): ditto

svn path=/trunk/; revision=20099
2003-02-28 17:01:34 +00:00
1ebf9b6fd1 handle reverse searches (find_prev_in_range): reverse search impl
2003-02-12  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (e_tree_find_next): handle reverse searches
	(find_prev_in_range): reverse search impl
	(et_real_construct): kill warnings

svn path=/trunk/; revision=19897
2003-02-12 20:26:15 +00:00
33841eb730 rewrite to use etta (find_next_in_range): helper func to search a range of
2003-02-10  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (e_tree_find_next): rewrite to use etta
	(find_next_in_range): helper func to search a range of rows
	(find_next_callback): kill

svn path=/trunk/; revision=19875
2003-02-10 18:04:25 +00:00
3fd6662401 make GAL_LIBS use -lgal-2.0 remove extraneous GTK_LIBS reference update to
2003-02-03  Mike Kestner  <mkestner@ximian.com>

	* configure.in : make GAL_LIBS use -lgal-2.0
	* gal/Makefile.am : remove extraneous GTK_LIBS reference
	* tests/test-tree-3.c : update to new etta API

gal/e-table/ChangeLog
2003-02-03  Mike Kestner  <mkestner@ximian.com>

	* e-tree-selection-model.c : remove e-tree-sorted usage
	* e-tree-table-adapter.* : rewrite to perform sorting
	* e-tree.c : remove e-tree-sorted usage

svn path=/trunk/; revision=19755
2003-02-05 06:03:05 +00:00
0bbe38655b GObject port work.
2002-11-16  Chris Toshok  <toshok@ximian.com>

	* e-cell-checkbox.[ch]: GObject port work.

	* e-cell-combo.[ch]: same.

	* e-cell-date.[ch]: same.

	* e-cell-float.[ch]: same.

	* e-cell-number.[ch]: same.

	* e-cell-pixbuf.[ch]: same.

	* e-cell-popup.[ch]: same.

	* e-cell-progress.[ch]: same.

	* e-cell-size.[ch]: same.

	* e-cell-spin-button.[ch]: same.

	* e-cell-text.[ch]: same.

	* e-cell-toggle.[ch]: same.

	* e-cell-tree.[ch]: same.

	* e-cell-vbox.[ch]: same.

	* e-cell.[ch]: same.

	* e-table-col.c: same.

	* e-table-column.c: same.

	* e-table-config-field.[ch]: same.

	* e-table-config.c: same.

	* e-table-config.glade: same.

	* e-table-field-chooser-dialog.[ch]: same.

	* e-table-field-chooser-item.[ch]: same.

	* e-table-field-chooser.[ch]: same.

	* e-table-group-container.[ch]: same.

	* e-table-group-leaf.[ch]: same.

	* e-table-group.[ch]: same.

	* e-table-header-item.[ch]: same.

	* e-table-header-utils.[ch]: same.

	* e-table-header.c: same.

	* e-table-item.[ch]: same.

	* e-table-scrolled.[ch]: same.

	* e-table-utils.c: same.

	* e-table.[ch]: same.

	* e-tree-memory-callbacks.h: same.

	* e-tree-scrolled.[ch]: same.

	* e-tree-sorted-variable.c: same.

	* e-tree.[ch]: same.

	* test-check.c: same.

	* test-cols.c: same.

	* test-table.c: same.

svn path=/trunk/; revision=18801
2002-11-17 00:02:53 +00:00
b9b2089527 deal with ESelectionModel no longer deriving from GtkObject.
2002-11-14  Chris Toshok  <toshok@ximian.com>

	* e-table-item.c: deal with ESelectionModel no longer deriving
	from GtkObject.

	* e-table.c: same.

	* e-tree.c: same.

	* e-table-config.c (do_fields_config_dialog): use GtkDialog's
	reponse instead of GnomeDialog's button.

	* e-table-click-to-add.[ch]: GObjectify this.

	* e-table-selection-model.[ch]: this derives from GObject now.

	* e-tree-selection-model.[ch]: same.

svn path=/trunk/; revision=18773
2002-11-15 02:22:00 +00:00
4256558b9c remove ref/unref G_OBJECT masks ditto ditto ditto ditto ditto ditto ditto
2002-11-05  Mike Kestner  <mkestner@ximian.com>

	* e-cell-text.c : remove ref/unref G_OBJECT masks
	* e-table-extras.c : ditto
	* e-table-header-item.c : ditto
	* e-table-item.c : ditto
	* e-table-memory-store.c : ditto
	* e-table-one.c : ditto
	* e-tree-sorted.c : ditto
	* e-tree-table-adapter.c : ditto
	* e-tree.c : ditto

svn path=/trunk/; revision=18572
2002-11-05 23:34:32 +00:00
f8172191ad use GObject api for models GObjectify GObjectify GObjectify GObjectify
2002-11-05  Mike Kestner  <mkestner@ximian.com>

	* e-table-item.c : use GObject api for models
	* e-table-memory-callbacks.[ch] : GObjectify
	* e-table-memory-store.[ch] : GObjectify
	* e-table-memory.[ch] : GObjectify
	* e-table-model.[ch] : GObjectify
	* e-table-one.[ch] : GObjectify
	* e-table-simple.[ch] : GObjectify
	* e-tree-memory.[ch] : GObjectify
	* e-tree-model.[ch] : GObjectify
	* e-tree-selection-model.c : use GObject api for models
	* e-tree-simple.[ch] : GObjectify
	* e-tree-sorted.[ch] : GObjectify
	* e-tree-table-adapter.[ch] : GObjectify
	* e-tree.c : use GObject api for models

svn path=/trunk/; revision=18553
2002-11-05 15:05:25 +00:00
65269c6882 use GObject api for ETableHeader use GObject api on ETableHeader
2002-11-04  Mike Kestner  <mkestner@ximian.com>

	* e-table-group.c : use GObject api for ETableHeader
	* e-table-header-item.c : use GObject api on ETableHeader
	* e-table-header.[ch] : GObjectify
	* e-table-item.c : use GObject api on ETableHeader
	* e-table-search.[ch] : GObjectify
	* e-table-sorted.c : use GObject api for ETableHeader
	* e-table-sorter.c : use GObject api for ETableHeader
	* e-table-specification.[ch] : GObjectify
	* e-table-utils.c : use GObject api for ETableHeader
	* e-tree-sorted.c : use GObject api for ETableHeader
	* e-tree.c : use GObject api on Header, Spec, and Search

svn path=/trunk/; revision=18531
2002-11-04 16:18:45 +00:00
a611e132e9 gobjectify ETableExtras is now a GObject (e_tree_class_init): remove
2002-11-01  Mike Kestner  <mkestner@ximian.com>

	* e-table-extras : gobjectify
	* e-tree.c (et_real_construct): ETableExtras is now a GObject
	(e_tree_class_init): remove duplicated signals

svn path=/trunk/; revision=18490
2002-11-01 21:47:34 +00:00
613453b109 merging the gal-2 branch back to the trunk.
merging the gal-2 branch back to the trunk.

svn path=/trunk/; revision=18471
2002-10-31 21:30:57 +00:00
c83476952d call e_tree_state_change
2002-10-24  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (e_tree_set_state_object): call e_tree_state_change

svn path=/trunk/; revision=18428
2002-10-24 19:50:53 +00:00
22c6cebf6b New api to set the search column on a tree without having to set a sort
2002-09-24  Mike Kestner  <mkestner@ximian.com>

	* e-tree.c (e_tree_set_search_column): New api to set the search
	column on a tree without having to set a sort column.

svn path=/trunk/; revision=18193
2002-09-24 07:01:02 +00:00
b7f80576ce (item_key_press): In the case of '-' and '=', check
that no non-Shift modifier is pressed.

svn path=/trunk/; revision=17556
2002-07-23 20:50:17 +00:00
75a1cb19cd Added this function.
2002-06-04  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header.c, e-table-header.h
	(e_table_header_prioritized_column_selected): Added this function.

	* e-table-utils.c, e-table-utils.h
	(e_table_util_calculate_current_search_col): Added this function.

	* e-table.c, e-table.h, e-tree.c: Added a "always_search"
	argument.  If this is off, then searches only occur if there's
	sort.  If it's on, sort takes precendence in doing searches,
	followed by the highest priority column shown.

svn path=/trunk/; revision=17109
2002-06-04 21:24:19 +00:00
ccc7bafebe Get the font from the style again when the style changes. (init): Checks
2002-06-03  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-text.c (ect_style_set): Get the font from the style again
	when the style changes.
	(init): Checks for the environment variable GAL_ELLIPSIS and uses
	that instead of ... if it is set.

	* e-table-click-to-add.c (finish_editing): e_table_item_leave_edit
	before committing.
	(etcta_event): Added a missing break; here.

	* e-table-item.c (eti_style_set): On style set, free the height
	cache, request a reflow and a redraw, and call
	eti_idle_maybe_show_cursor.
	(e_table_item_compute_location): Don't call eti_get_height here,
	just use the cached value.

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

svn path=/trunk/; revision=17088
2002-06-03 21:54:37 +00:00
cad5e25f86 Added horizontal dividers to this item when in table mode.
2002-05-02  Christopher James Lahey  <clahey@ximian.com>

	* e-table-click-to-add.c: Added horizontal dividers to this item
	when in table mode.

	* e-table.c, e-tree.c: Made the background be an
	e-canvas-background instead of a

	* e-tree.c, e-tree.h: Added a white_space_event for feature parity
	with ETable.

svn path=/trunk/; revision=16667
2002-05-02 18:45:19 +00:00
320ea94ae8 Changed LDFLAGS to LIBS for tests here. Bumped the version number to
2002-04-29  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Changed LDFLAGS to LIBS for tests here.  Bumped
	the version number to 0.19.99.15.

From gal/e-table/ChangeLog:

2002-04-29  Christopher James Lahey  <clahey@ximian.com>

	* e-tree.c, e-tree.h (e_tree_path_foreach): Added this function
	which recurses over all nodes, regardless of selection.

svn path=/trunk/; revision=16635
2002-04-29 21:26:48 +00:00
b036c8392d Ansification patch from danw.
2002-04-25  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-checkbox.c, e-cell-combo.c, e-cell-date.c,
	e-cell-float.c, e-cell-number.c, e-cell-pixbuf.c, e-cell-popup.c,
	e-cell-size.c, e-cell-spin-button.c, e-cell-text.c,
	e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h,
	e-table-click-to-add.c, e-table-col.c,
	e-table-column-specification.c, e-table-config-field.c,
	e-table-config.c, e-table-extras.c,
	e-table-field-chooser-dialog.c, e-table-field-chooser-item.c,
	e-table-field-chooser.c, e-table-group-container.c,
	e-table-group-leaf.c, e-table-group.c, e-table-header-item.c,
	e-table-header.c, e-table-item.c, e-table-memory-callbacks.c,
	e-table-model.c, e-table-scrolled.c, e-table-selection-model.c,
	e-table-sort-info.c, e-table-sorted-variable.c, e-table-sorted.c,
	e-table-sorter.c, e-table-specification.c, e-table-state.c,
	e-table-subset-variable.c, e-table-subset.c, e-table-without.c,
	e-table.c, e-table.h, e-tree-scrolled.c, e-tree-selection-model.c,
	e-tree-sorted-variable.c, e-tree-sorted.c, e-tree-table-adapter.c,
	e-tree.c: Ansification patch from danw.

svn path=/trunk/; revision=16586
2002-04-25 19:56:41 +00:00
082a1d35db Free the priv->search_string and priv itself. More memory leak fixage.
2002-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* e-table-search.c (e_table_search_destroy): Free the
	priv->search_string and priv itself. More memory leak fixage.

	* e-tree.c (e_tree_drag_source_unset): Unref site->taget_list so
	we don't leak memory.

svn path=/trunk/; revision=16547
2002-04-20 01:44:07 +00:00
eafda9ba48 Implemented capitalization keybindings.
2002-03-14  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-text.c: Implemented capitalization keybindings.

	* e-tree.c (item_key_press): Added parentheses to the default case
	here.

svn path=/trunk/; revision=16168
2002-03-14 21:50:06 +00:00
4f298eab9e Made this return a boolean that returns whether the ETableSearch used the
2002-03-14  Christopher James Lahey  <clahey@ximian.com>

	* e-table-search.c, e-table-search.h (e_table_search_backspace):
	Made this return a boolean that returns whether the ETableSearch
	used the backspace at all.

	* e-table.c (group_key_press), e-tree.c (item_key_press): Used the
	new return value from e_table_search_backspace.

svn path=/trunk/; revision=16166
2002-03-14 20:40:21 +00:00
87c61411fa Don't search if any modifier but SHIFT or LOCK is pressed.
* e-tree.c (item_key_press): Don't search if any modifier but
SHIFT or LOCK is pressed.

* e-table.c (group_key_press): Don't search if any modifier but
SHIFT or LOCK is pressed.

svn path=/trunk/; revision=16161
2002-03-14 19:18:39 +00:00
84d68e4955 Added this function.
2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* e-table-search.c, e-table-search.h (e_table_search_backspace):
	Added this function.

	* e-table.c, e-tree.c: Call the new function on backspace.

svn path=/trunk/; revision=16145
2002-03-13 20:51:44 +00:00
abd6567ea0 Replaced e_marshal_BOOL__STRING with this since the function it was used
2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* gal/util/e-util.c, gal/util/e-util.h
	(e_marshal_BOOL__STRING_INT): Replaced e_marshal_BOOL__STRING with
	this since the function it was used for has been modified.

From gal/e-table/ChangeLog:

2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* e-table-extras.c (e_string_search): Check for a NULL haystack
	here.

	* e-table-search.c, e-table-search.h: Added a parameter to the
	search signal here to pass in flags.  Specifically, added the
	E_TABLE_SEARCH_FLAGS_CHECK_CURSOR_FIRST flag.  Improved the search
	behavior here.

	* e-table.c, e-tree.c: Handle the new signature for the search
	signal here.

svn path=/trunk/; revision=16139
2002-03-13 07:10:22 +00:00
e03e086323 Added ETableSearch support.
2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* e-tree.c: Added ETableSearch support.

svn path=/trunk/; revision=16138
2002-03-13 06:02:36 +00:00
88b0c8138a Call scroll_off and in e-tree.c hover_off.
2002-02-08  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (et_unrealize), e-tree.c (et_unrealize): Call
	scroll_off and in e-tree.c hover_off.

svn path=/trunk/; revision=15618
2002-02-08 19:22:41 +00:00
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
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
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