Commit Graph

808 Commits

Author SHA1 Message Date
150129e103 Patch by clahey.
2002-06-18  JP Rosevear  <jpr@ximian.com>

	Patch by clahey.

	* e-table.c (et_get_arg): get the use_click_to_add value
	(et_set_arg): set the use_click_to_add_value, and either display
	the item or destroy it
	(e_table_class_init): add the use_click_to_add arg

svn path=/trunk/; revision=17218
2002-06-18 15:46:26 +00:00
bfccd5b470 Don't draw or interact with the popup button if a cell isn't editable
2002-06-14  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-popup.c (ecp_draw, ecp_event): Don't draw or interact
	with the popup button if a cell isn't editable (based on a patch
	by JPR.)

	* e-table-col.c, e-table-col.h: Added the compare_col field to
	this structure.  Added a GtkArg to set it.

	* e-table-column-specification.c, e-table-column-specification.h:
	Added the compare_col field here.  Made it load properly from xml.

	* e-table-sorting-utils.c: Sort based on the compare_col in the
	ETableCol instead of the col_idx.

	* e-table-utils.c (et_col_spec_to_col): Set the compare_col field
	in the ETableCol properly.

	* e-table.c, e-table.h: Removed the drag_get_data_row and
	drag_get_data_col fields since they're not used any longer.
	(e_table_construct): If specification loading fails, return a NULL
	ETable instead of just ignoring it.
	(e_table_drag_highlight): Only destroy table->drop_highlight if it
	exists.

svn path=/trunk/; revision=17190
2002-06-14 22:26:43 +00:00
882e28269d Added debugging printfs.
2002-06-05  Christopher James Lahey  <clahey@ximian.com>

	* e-table-field-chooser-item.c: Added debugging printfs.

	* e-table-header-item.c: Added debugging printfs.
	(ethi_drag_motion): Don't subtract widget->allocation.* here.  It
	seems that this value is affected by whether the table is using a
	click to add field.  Not sure why.

	* e-table-item.c (eti_realize): Check for NULL selection here.

svn path=/trunk/; revision=17118
2002-06-05 15:47:23 +00:00
4ea52e5e61 Added debugging printfs.
2002-06-05  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-model.c (d): Added debugging printfs.

	* e-tree-sorted.c (ets_proxy_node_changed,
	ets_proxy_node_data_changed, ets_proxy_node_col_changed,
	ets_proxy_node_inserted): Added a bunch of e_tree_model_no_change
	signals where appropriate.

	* e-tree-table-adapter.c (etta_proxy_node_changed): Added an
	e_table_model_no_change signal where appropriate.

svn path=/trunk/; revision=17116
2002-06-05 14:37:38 +00:00
efb514d63c Made it so that on realize we grab focus if we have the cursor, since
2002-06-05  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_realize): Made it so that on realize we grab
	focus if we have the cursor, since otherwise, we'll change our
	selection on focus in.

svn path=/trunk/; revision=17115
2002-06-05 13:51:24 +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
4f5d8637a1 Reenable tooltips if the GAL_DO_TOOLTIPS environment variable is set.
2002-06-04  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_event): Reenable tooltips if the
	GAL_DO_TOOLTIPS environment variable is set.

svn path=/trunk/; revision=17097
2002-06-04 05:36:58 +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
e6298a6cd5 Added would_be_expanded refactoring code out of is_expanded.
2002-05-24  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-table-adapter.c
	(e_tree_table_adapter_node_would_be_expanded,
	e_tree_table_adapter_node_is_expanded): Added would_be_expanded
	refactoring code out of is_expanded.
	(find_first_child_node_maybe_deleted): Use the new function.

svn path=/trunk/; revision=17016
2002-05-24 23:47:33 +00:00
a33709547e Check for path being NULL.
2002-05-21  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-sorted.c (ets_proxy_node_request_collapse): Check for
	path being NULL.

	* e-tree-table-adapter.c
	(e_tree_table_adapter_load_expanded_state): Rebuild the tree after
	loading the state.

svn path=/trunk/; revision=16963
2002-05-21 06:24:29 +00:00
3373cf7e04 Changed a lot of direct uses in this file of node->is_expanded to call the
2002-05-13  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-table-adapter.c: Changed a lot of direct uses in this
	file of node->is_expanded to call the function
	e_tree_table_adapter_node_is_expanded instead.
	(e_tree_table_adapter_node_is_expanded): Improved this function to
	know if the root node is visible and always return it as being
	expanded if it's not.  It also doesn't bother creating nodes if
	they don't exist yet, and instead figures out whether they would
	be expanded if they were to be created and returns that value
	instead.

svn path=/trunk/; revision=16768
2002-05-13 22:03:24 +00:00
67bf5ca837 Include string.h here.
2002-05-10  Christopher James Lahey  <clahey@ximian.com>

	* e-table-search.c: Include string.h here.

svn path=/trunk/; revision=16749
2002-05-10 18:20:52 +00:00
57a8777026 Switch from gnome_canvas_item_grab to e_canvas_item_grab.
2002-05-09  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-text.c: Switch from gnome_canvas_item_grab to
	e_canvas_item_grab.

	* gal/widgets/e-canvas.c, gal/widgets/e-canvas.h
	(e_canvas_item_grab, e_canvas_item_ungrab): Added these functions.

From gal/e-table/ChangeLog:

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

	* e-table-item.c, e-table-item.h: Switched from
	gnome_canvas_item_grab to e_canvas_item_grab.

svn path=/trunk/; revision=16738
2002-05-09 22:12:01 +00:00
de7a5090a8 Bump file version to 2. (This will make older versions of gal ignore the
* e-tree-table-adapter.c
	(e_tree_table_adapter_save_expanded_state): Bump file version to 2.
	(This will make older versions of gal ignore the file, fixing the
	problem where going from evo HEAD to evo 1.0.x makes the folder
	tree disappear.) Store the default expanded state in the file now
	to prevent this from happening again in the future.
	(e_tree_table_adapter_load_expanded_state): Deal with version 2.
	If the model's default expansion state doesn't match the saved
	state, ignore the save file.

svn path=/trunk/; revision=16736
2002-05-09 20:00:56 +00:00
874390a837 Added this function that lets you specify the translation domain.
2002-05-02  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h
	(e_popup_menu_create_with_domain): Added this function that lets
	you specify the translation domain.

From gal/e-table/ChangeLog:

2002-05-02  Christopher James Lahey  <clahey@ximian.com>

	* e-table-click-to-add.c (finish_editing): Add horizontal dividers
	here too.

	* e-table-config.c (create_global_store): Translate column headers
	here.

	* e-table-header-item.c (ethi_header_context_menu): Use
	e_popup_menu_create_with_domain here.

	* e-table-header-utils.c (e_table_header_draw_button): Translate
	from utf8 here before drawing.

	* e-table-memory-store.c, e-table-memory-store.h
	(e_table_memory_store_insert_adopt_array): Changed the name of
	this function from e_table_memory_store_insert_adopt.
	(e_table_memory_store_insert_adopt): Added this function which
	takes a ... list.

	* e-table-utils.c (et_col_spec_to_col): Translate column titles to
	utf8 here.

svn path=/trunk/; revision=16668
2002-05-02 20:32:19 +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
e1f208de7d Set the gettext-domain here.
2002-05-01  Christopher James Lahey  <clahey@ximian.com>

	* gal/e-text/e-completion-view.c (simple_spec),
	gal/widgets/e-categories-master-list-dialog.c (SPEC),
	gal/widgets/e-categories.c (INITIAL_SPEC): Set the gettext-domain
	here.

	* gal/util/e-i18n.h (E_I18N_DOMAIN): #define as makes sense in the
	different cases.

From gal/e-table/ChangeLog:

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

	* e-table-config.c, e-table-config.h, e-table-specification.c,
	e-table-specification.h, e-table-utils.c, e-table-utils.h,
	e-table.c, e-table.h: Made these pay attention to the
	gettext-domain in the etspec.

	* e-table-config.c: Set the gettext-domain in the etspec here.

From gal/menus/ChangeLog:

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

	* gal-define-views-dialog.c (SPEC),
	gal-view-instance-save-as-dialog.c (SPEC): Set the gettext-domain
	here.

svn path=/trunk/; revision=16658
2002-05-01 23:26:42 +00:00
f1cdb504e8 From gal/e-table/ChangeLog:
2002-04-29  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_cursor_change): Redraw a row that is no
	longer the cursor even if this item isn't getting the new cursor.

svn path=/trunk/; revision=16642
2002-04-29 23:17:14 +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
84923b319c Take an int instead of a double. From a patch by jody@ximian.com.
2002-04-26  Christopher James Lahey  <clahey@ximian.com>

	* e-table-field-chooser-item.c (etfci_maybe_start_drag): Take an
	int instead of a double.  From a patch by jody@ximian.com.

svn path=/trunk/; revision=16606
2002-04-26 21:42:07 +00:00
68cb7c9340 Only unref etst->sort_info once.
2002-04-26  Christopher James Lahey  <clahey@ximian.com>

	* e-table-state.c (etst_destroy): Only unref etst->sort_info once.

svn path=/trunk/; revision=16603
2002-04-26 21:01:15 +00:00
24f211162b Documented the life cycle requirements of the return value of these
2002-04-26  Christopher James Lahey  <clahey@ximian.com>

	* e-table-model.c (e_table_model_value_at), e-tree-model.c
	(e_tree_model_value_at): Documented the life cycle requirements of
	the return value of these functions.

svn path=/trunk/; revision=16602
2002-04-26 20:33:23 +00:00
9785d01bdc Added calls to e_table_model_pre_change here so that the ETableItem
2002-04-26  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c (e_table_memory_store_adopt_value_at,
	etms_set_value_at): Added calls to e_table_model_pre_change here
	so that the ETableItem doesn't unfreeze more times than it
	freezes.

svn path=/trunk/; revision=16593
2002-04-26 06:12:47 +00:00
8358adf1ac Made these handle the case where all_children_selected_array has a bit
2002-04-25  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-selection-model.c (etsm_selected_count_recurse,
	etsm_foreach_recurse): Made these handle the case where
	all_children_selected_array has a bit set, but the children of
	that node aren't filled in.

svn path=/trunk/; revision=16590
2002-04-25 20:45:03 +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
289d2c34a0 Changed this to match the new e_table_memory_store_insert function
2002-04-24  Christopher James Lahey  <clahey@ximian.com>

	* e-table-config.c (create_global_store): Changed this to match
	the new e_table_memory_store_insert function prototype.

svn path=/trunk/; revision=16579
2002-04-25 00:20:24 +00:00
8cf870c277 implement printing (pixbuf_print_height): implement print height
2002-04-24  JP Rosevear  <jpr@ximian.com>

	* e-cell-pixbuf.c (pixbuf_print): implement printing
	(pixbuf_print_height): implement print height
	(e_cell_pixbuf_class_init): set printing virtual methods

	* e-cell-toggle.c (etog_print): remove clipping, default clipping
	is done by the table, scale based on toggle height

	* e-table-item.c (e_table_item_calculate_print_widths): make the
	scale 1:1

svn path=/trunk/; revision=16577
2002-04-24 21:39:24 +00:00
acf4bad9d0 Bumped version number to 0.19.99.14.
2002-04-22  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.19.99.14.

	* gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h
	(e_popup_menu_copy_1, e_popup_menu_free_1, e_popup_menu_copy,
	e_popup_menu_free): Added these functions

From gal/e-table/ChangeLog:

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

	* e-table-memory-store.c, e-table-memory-store.h: Renamed the
	insert functions in this class to make a bit more sense.

From gal/menus/ChangeLog:

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

	* gal-view-instance.c, gal-view-instance.h
	(gal_view_instance_get_popup_menu,
	gal_view_instance_free_popup_menu):  Added these functions.  Used
	to add a current view menu to your popup menus.

From gal/shortcut-bar/ChangeLog:

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

	* e-icon-bar.c (e_icon_bar_drag_motion): Removed an unused
	variable.

svn path=/trunk/; revision=16559
2002-04-22 21:46:59 +00:00
3bda5b75e8 Unref the sort_info.
2002-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* e-table-state.c (etst_destroy): Unref the sort_info.

svn path=/trunk/; revision=16549
2002-04-20 02:07:48 +00:00
2312be3726 After unreffing all the pixmaps, free the toggle_view->pixmap_cache.
2002-04-19  Jeffrey Stedfast  <fejj@ximian.com>

	* e-cell-toggle.c (etog_kill_view): After unreffing all the
	pixmaps, free the toggle_view->pixmap_cache.

svn path=/trunk/; revision=16548
2002-04-20 01:56:23 +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
c1f065e586 print the cell in the allotted area (etog_print_height): return the print
2002-04-19  JP Rosevear  <jpr@ximian.com>

	* e-cell-toggle.c (etog_print): print the cell in the allotted
	area
	(etog_print_height): return the print height

svn path=/trunk/; revision=16536
2002-04-19 20:22:24 +00:00
11112bffd1 Bumped version number to 0.19.99.11.
2002-04-17  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.19.99.11.

	* gal/widgets/e-popup-menu.c, gal/widgets/e-popup-menu.h: Changed
	this to be API compatible with gal 0.19.  Added a bunch of pound
	defines and added API for toggle and radio menu items.

	* gal/widgets/e-categories.c: Updated this to match the new
	EPopupMenu.

From gal/e-table/ChangeLog:

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

	* e-table-header-item.c: Updated this to match the new EPopupMenu.

svn path=/trunk/; revision=16496
2002-04-17 21:57:08 +00:00
0479b8d9a0 Fixed a memory leak here by using the "selection-done" signal.
2002-04-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c (ethi_header_context_menu): Fixed a memory
	leak here by using the "selection-done" signal.

	* e-table.c, e-table.h (white_item_event): Added the
	"white_space_event" signal.

svn path=/trunk/; revision=16439
2002-04-11 20:02:31 +00:00
660118fcbe Call the parent function after doing all the internal work so that when
2002-03-25  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c (e_table_memory_store_insert,
	e_table_memory_store_insert_adopt, e_table_memory_store_remove):
	Call the parent function after doing all the internal work so that
	when the changed signal goes out, our work is already done.

svn path=/trunk/; revision=16245
2002-03-25 19:22:25 +00:00
46c0e7a054 +2002-03-20 Christopher James Lahey <clahey@ximian.com>
+
+	* e-table-header-item.c: Adjust this to handle the new EPopupMenu
+	API.
+

svn path=/trunk/; revision=16223
2002-03-21 20:14:26 +00:00
88a322f15d Check for a style_set signal on all the contained GnomeCanvasItems.
2002-03-15  Christopher James Lahey  <clahey@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_style_set): Check for a
	style_set signal on all the contained GnomeCanvasItems.

From gal/e-table/ChangeLog:

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

	* e-cell-toggle.c: Clear the pixmap cache in e_cell_style_set.

	* e-cell.c, e-cell.h (e_cell_style_set): Added this virtual
	method.

	* e-table-item.c, e-table-item.h: Call e_cell_style_set in out
	style_set signal.

svn path=/trunk/; revision=16180
2002-03-15 23:16:01 +00:00
95c4e2623b Add a GdkPixmap * cache of rendered toggle images. This should
2002-03-15  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-toggle.c: Add a GdkPixmap * cache of rendered toggle
	images.  This should considerably speed up over the wire
	performance of ECellToggle.

svn path=/trunk/; revision=16177
2002-03-15 21:51:06 +00:00
a17d29d26c New function that returns the total minimum width of all the columns.
2002-03-15  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header.c, e-table-header.h (e_table_header_min_width):
	New function that returns the total minimum width of all the
	columns.

	* e-table.c, e-table.h (set_header_width): Call
	e_table_header_min_width here instead of total_width.
	(et_size_request): Override the size_request method instead of
	doing set_usize.

svn path=/trunk/; revision=16175
2002-03-15 20:36: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
6db2753145 Added selected_column, focused_column, and unselected_column.
2002-03-13  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-pixbuf.c, e-cell-pixbuf.h (pixbuf_draw): Added
	selected_column, focused_column, and unselected_column.

svn path=/trunk/; revision=16149
2002-03-13 22:10:23 +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
5020c3bd9a Added support for E_TABLE_MEMORY_STORE_OBJECT which represents a column
2002-03-12  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c, e-table-memory-store.h: Added support
	for E_TABLE_MEMORY_STORE_OBJECT which represents a column storing
	a GtkObject.

svn path=/trunk/; revision=16132
2002-03-12 22:14:56 +00:00
d882e4e420 Give the correct height to the subcells instead of overlapping them.
2002-03-12  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-vbox.c (ecv_draw): Give the correct height to the
	subcells instead of overlapping them.

	* e-table-header.c, e-table-header.h (e_table_header_move,
	eth_calc_widths): Emit the dimension_changed signal with the width
	of the header.

	* e-table-memory-store.c (duplicate_value, etms_free_value):
	Handle NULL pixbufs here.

	* e-table.c, e-table.h: Connect to the dimension_changed signal
	and call set_header_width.  Did a bit of refactoring here.

svn path=/trunk/; revision=16128
2002-03-12 21:24:34 +00:00
fd4ffbd38c Added e-table-search.lo.
2002-03-12  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added e-table-search.lo.

	* gal/util/e-util.c, gal/util/e-util.h (e_marshal_BOOL__STRING):
	Added this marshal function.

From gal/e-table/ChangeLog:

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

	* Makefile.am (libetable_la_SOURCES): Added e-table-search.c.
	(libetableinclude_HEADERS): Added e-table-search.h.

	* e-cell.h: Added ETableSearchFun here.

	* e-table-col.h: Added search here.

	* e-table-column-specification.c, e-table-column-specification.h:
	Added search here.

	* e-table-extras.c, e-table-extras.h (e_table_extras_add_search):
	Added ETableSearchFuncs here.

	* e-table-memory-store.c (e_table_memory_store_insert,
	e_table_memory_store_insert_adopt): Handle row == -1 here.

	* e-table-search.c, e-table-search.h: New class to reusably handle
	the semantics of searching for a string.

	* e-table-simple.c, e-table-simple.h: Added a bunch of simple
	functions here for if your table is all strings.  Should be
	reusable.

	* e-table-utils.c (et_col_spec_to_col): Added support for searches
	here.

	* e-table.c, e-table.h: Added an ETableSearch here.

svn path=/trunk/; revision=16119
2002-03-12 14:30:53 +00:00
3994c3b9c0 Proxy request_collapse signals.
2002-03-11  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-sorted.c (ets_proxy_node_request_collapse): Proxy
	request_collapse signals.

svn path=/trunk/; revision=16116
2002-03-12 00:52:06 +00:00