Commit Graph

905 Commits

Author SHA1 Message Date
Christopher James Lahey 58eeaa0977 Changed the version number to 0.5.99.1.
2001-02-19  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Changed the version number to 0.5.99.1.

	* gal/Makefile.am (libgal_la_LIBADD): Change the directories for
	e-table-text-model.lo, e-text-event-processor.lo, and
	e-text-event-processor-emacs-like.lo.  Reordered the e-text
	directory to be after the e-table directory in build order.

	* gal/e-text/Makefile.am: Removed
	e-text-event-processor-emacs-like.c,
	e-text-event-processor-emacs-like.h,
	e-text-event-processor-types.h, e-text-event-processor.c, and
	e-text-event-processor.h.  Added e-table-text-model.c and
	e-table-text-model.h.

	* gal/e-text/e-table-text-model.c: Changed the signature of these
	mehtods to match the changed signature in ETextModel.

	* gal/e-text/e-text-event-processor-emacs-like.c,
	gal/e-text/e-text-event-processor-emacs-like.h,
	gal/e-text/e-text-event-processor-types.h,
	gal/e-text/e-text-event-processor.c,
	gal/e-text/e-text-event-processor.h: Moved these to gal/util/.

	* gal/e-text/e-text.c, gal/e-text/e-text.h: Changed the includes
	to match the moved files.

	* gal/util/Makefile.am: Added e-text-event-processor-emacs-like.c,
	e-text-event-processor-emacs-like.h,
	e-text-event-processor-types.h, e-text-event-processor.c, and
	e-text-event-processor.h.

	* gal/util/e-text-event-processor-emacs-like.h,
	gal/util/e-text-event-processor.h: Changed the includes to match
	the moved files.

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

	* Makefile.am: Removed e-table-text-model.c and
	e-table-text-model.h.

	* e-table-text-model.c, e-table-text-model.h: Moved these to
	gal/e-text/.

	* e-cell-text.c: Changed the include line for
	e-text-event-processor.h and e-text-event-processor-emacs-like.h.

svn path=/trunk/; revision=8298
2001-02-20 03:25:48 +00:00
Christopher James Lahey 08f5c5e324 Removed setting of invalid "horizontal_scrolling" argument.
2001-02-17  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (et_real_construct): Removed setting of invalid
	"horizontal_scrolling" argument.

	* e-table-column-model.h: Removed this as it is not used.

svn path=/trunk/; revision=8268
2001-02-17 08:56:14 +00:00
Christopher James Lahey 5480b1b7bd From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com>
2001-02-17  Christopher James Lahey  <clahey@ximian.com>

	From a patch submitted by Murray Cumming <Murray.Cumming@mybau.com>

	* e-cell-checkbox.h, e-cell-date.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-col.h, e-table-column-specification.h,
	e-table-config-field.h, e-table-config.h, e-table-defines.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-header-utils.h, e-table-header.h,
	e-table-item.h, e-table-model.h, e-table-one.h,
	e-table-selection-model.h, e-table-simple.h, e-table-sort-info.h,
	e-table-sorted-variable.h, e-table-sorted.h, e-table-sorter.h,
	e-table-specification.h, e-table-state.h,
	e-table-subset-variable.h, e-table-subset.h, e-table-tooltip.h,
	e-table-tree.h, e-tree-model.h, e-tree-simple.h,
	e-tree-sorted-variable.h: Added GNOME_DECLS.

svn path=/trunk/; revision=8265
2001-02-17 08:36:01 +00:00
Rusty Conover e76ecc31c5 Change the calculation of the maximum with of tree cell, from O(n^2) to
2001-02-17  Rusty Conover  <rconover@zootweb.com>

	* e-cell-tree.c (ect_max_width): Change the calculation of the
	maximum with of tree cell, from O(n^2) to O(n), we don't need to
	continually recalculate the maximum width of the subcells when
	calculating the width of every row.

svn path=/trunk/; revision=8264
2001-02-17 07:29:22 +00:00
Christopher James Lahey 3080e47960 Made it so that if you set the row or col to something not equal to -1, it
2001-02-15  Christopher James Lahey  <clahey@ximian.com>

	* e-table-selection-model.c
	(e_table_selection_model_do_something): Made it so that if you set
	the row or col to something not equal to -1, it makes sure that
	the other one is also not equal to -1.

svn path=/trunk/; revision=8240
2001-02-15 09:34:46 +00:00
Christopher James Lahey d4be90f9b2 This new function updates the minimum width of all of the columns based on
2001-02-13  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header.c, e-table-header.h
	(e_table_header_update_horizontal): This new function updates the
	minimum width of all of the columns based on the data contained in
	that column.

	* e-table.c, e-table.h (changed_idle): Added a
	horizontal_scrolling field.  Call e_table_header_update_horizontal
	if the model changes at all and horizontal_scrolling is set to TRUE.

svn path=/trunk/; revision=8214
2001-02-13 23:15:13 +00:00
Christopher James Lahey 0e900049a8 Set policy of scrolled window to be automatic/automatic.
2001-02-13  Christopher James Lahey  <clahey@ximian.com>

	* e-table-scrolled.c (e_table_scrolled_real_construct): Set policy
	of scrolled window to be automatic/automatic.

	* e-table-specification.c, e-table-specification.h (etsp_init):
	Added a horizontal-scrolling attribute.

svn path=/trunk/; revision=8208
2001-02-13 20:23:44 +00:00
Christopher James Lahey 9aca6f5902 Fix the crash when ETableItems are destroyed.
2001-02-13  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_destroy): Fix the crash when ETableItems are
	destroyed.

svn path=/trunk/; revision=8207
2001-02-13 18:39:39 +00:00
Christopher James Lahey 199ae6dbbb Fix selection so that changing a model row equal to 31 mod 32 works.
2001-02-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-selection-model.c (change_one_row): Fix selection so
	that changing a model row equal to 31 mod 32 works.

svn path=/trunk/; revision=8170
2001-02-11 05:54:56 +00:00
Christopher James Lahey c2f71c6730 Let e_canvas_item_show_area_delayed deal with a delayed area show instead
2001-02-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_cursor_change): Let
	e_canvas_item_show_area_delayed deal with a delayed area show
	instead of dealing with it ourselves.

svn path=/trunk/; revision=8169
2001-02-11 05:53:32 +00:00
Dan Winship fb6c1a7afb Add a missing gtk_object_ref.
* e-table-sorter.c (ets_set_arg): Add a missing gtk_object_ref.

svn path=/trunk/; revision=8118
2001-02-08 21:05:03 +00:00
Christopher James Lahey 5af829a6d2 Use e_format_number.
2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-number.c (ecn_get_text): Use e_format_number.

svn path=/trunk/; revision=8111
2001-02-08 18:00:23 +00:00
Christopher James Lahey aa92a8935b Set the dnd_code on the header properly.
2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c (e_table_setup_header): Set the dnd_code on the header
	properly.

svn path=/trunk/; revision=8110
2001-02-08 17:59:50 +00:00
Christopher James Lahey 3d3ac18e0e Added this function. Made frozen an int so that recursive freezes and
2001-02-08  Christopher James Lahey  <clahey@ximian.com>

	* e-tree-model.c, e-tree-model.h (e_tree_model_show_node): Added
	this function.  Made frozen an int so that recursive freezes and
	thaws behaves properly.

svn path=/trunk/; revision=8106
2001-02-08 16:40:26 +00:00
Christopher James Lahey 2319bdca2e Change encoding from locale encoding to utf8.
2001-02-06  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-date.c (ecd_get_text): Change encoding from locale
	encoding to utf8.

svn path=/trunk/; revision=8033
2001-02-06 22:59:05 +00:00
Christopher James Lahey b71f1e3b6d Changed the text to pop up the Field Chooser.
2001-02-05  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header-item.c: Changed the text to pop up the Field
	Chooser.

svn path=/trunk/; revision=7988
2001-02-05 21:26:44 +00:00
Christopher James Lahey 707cce7733 Added a "changed" signal.
2001-02-05  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-config.c, e-table-config.h (dialog_apply): Added a
	"changed" signal.

	* e-table-sort-info.c, e-table-sort-info.h
	(e_table_sort_info_duplicate): Added this function.

	* e-table.c (e_table_set_state_object): Duplicate the state's
	sort_info object here.

svn path=/trunk/; revision=7985
2001-02-05 21:16:13 +00:00
Ettore Perazzoli fdde6ab383 Make some private variables static in `ETableSorter'.
svn path=/trunk/; revision=7982
2001-02-05 20:27:09 +00:00
Christopher James Lahey 9a8b904d09 Make this not error out if ecol is not found, but simply return -1.
2001-02-04  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (view_to_model_col): Make this not error out if
	ecol is not found, but simply return -1.
	(eti_event): Don't call view_to_model_col here as we already have
	a model column.

svn path=/trunk/; revision=7960
2001-02-04 20:00:00 +00:00
Not Zed a58c2446e7 Dont overwrite the end of our bitmap array.
2001-02-02  Not Zed  <NotZed@Ximian.com>

        * e-table-selection-model.c (model_row_deleted): Dont overwrite
        the end of our bitmap array.

svn path=/trunk/; revision=7944
2001-02-02 04:06:40 +00:00
Larry Ewing 82de3a557c make the segfault caused by double clicking into a critical warning until
2001-01-31  Larry Ewing  <lewing@ximian.com>

	* e-table-item.c (view_to_model_col): make the segfault caused by
	double clicking into a critical warning until it can be fixed.

svn path=/trunk/; revision=7927
2001-01-31 23:24:30 +00:00
Christopher James Lahey da03d43325 Made the contained %ETableItem have cursor_mode as
2001-01-30  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-click-to-add.c (etcta_event): Made the contained
	%ETableItem have cursor_mode as %E_TABLE_CURSOR_SPREADSHEET.

	* e-table-defines.h, e-table-item.c, e-table-specification.c:
	Added a new cursor mode E_TABLE_CURSOR_SPREADSHEET.  This is
	accessed using cursor_mode="spreadsheet" in your specification
	xml, as well as by the click_to_add item.  It is identical to
	E_TABLE_CURSOR_SIMPLE, except that tab goes to the next item in
	the table instead of to the next widget.

svn path=/trunk/; revision=7910
2001-01-30 11:37:34 +00:00
Christopher James Lahey 8ee392b8a3 Made carriage return finish editing.
2001-01-30  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-click-to-add.c (etcta_event): Made carriage return
	finish editing.

	* e-table-item.c (eti_event): Made carriage return key press
	signal go out before sending it to the selection model.

svn path=/trunk/; revision=7909
2001-01-30 11:14:18 +00:00
Christopher James Lahey da0a3b24e7 Added e-cell-number.lo
2001-01-29  Christopher James Lahey  <clahey@ximian.com>

	* gal/Makefile.am (libgal_la_LIBADD): Added e-cell-number.lo

From gal/e-table/Changelog:

2001-01-29  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am: Added e-cell-number.c and e-cell-number.h.

	* e-cell-number.c, e-cell-number.h: A new cell for rendering
	numbers.

	* e-table-extras.c (ete_init): Added a default number cell.  Made
	the default size cell right aligned.

svn path=/trunk/; revision=7889
2001-01-29 11:39:22 +00:00
Christopher James Lahey b924182143 Made the scrolling to show the current roll happen in a time out.
2001-01-28  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c, e-table-item.h: Made the scrolling to show the
	current roll happen in a time out.

svn path=/trunk/; revision=7875
2001-01-28 12:38:29 +00:00
Christopher James Lahey a7a767287f Make home and end keys move to the beginning and end of the row if cursor
2001-01-27  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c (eti_event): Make home and end keys move to the
	beginning and end of the row if cursor mode is set to
	E_TABLE_CURSOR_SIMPLE.  Otherwise have %ETableSelectionModel
	handle them.

	* e-table-selection-model.c, e-table-selection-model.h: Added a
	"cursor_mode" argument.
	(e_table_selection_model_key_press): Made home and end keys move
	the beginning and end of the table if cursor_mode is
	E_TABLE_CURSOR_MODE_LINE.

	* e-table.c: Set the cursor-mode argument of our
	%ETableSelectionModel.

svn path=/trunk/; revision=7864
2001-01-27 22:21:10 +00:00
Christopher James Lahey 133b44558c Make ETable stop editing when it looses focus.
2001-01-27  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c (eti_event): Make ETable stop editing when it
	looses focus.

	* e-table.c (et_canvas_button_press): Make ETable stop editing if
	you click on an unhandled area of the table canvas (The white area
	at the bottom for instance.)

svn path=/trunk/; revision=7849
2001-01-27 06:43:39 +00:00
Federico Mena Quintero 9be603bebd Set the GTK_CAN_FOCUS flag on the widget, since an ETable ought to be
2001-01-25  Federico Mena Quintero  <federico@ximian.com>

	* e-table.c (e_table_init): Set the GTK_CAN_FOCUS flag on the
	widget, since an ETable ought to be focusable.
	(e_table_class_init): Override ::grab_focus() and ::focus().
	(et_grab_focus): Since people may do gtk_widget_grab_focus() on
	the ETable, we have to proxy the request to the actual focusable
	canvas.
	(e_table_setup_header): Unset GTK_CAN_FOCUS for the header canvas.
	(et_focus): Reject focus if our child canvas already had it.

	* e-table-scrolled.c (e_table_scrolled_init): Set the
	GTK_FOCUS_FLAG on the widget.  This is just so that people can
	easily do gtk_widget_grab_focus (my_e_table_scrolled) on their own
	applications.
	(e_table_scrolled_class_init): Override ::grab_focus() and
	::focus().
	(ets_grab_focus): Proxy the grab_focus to our child ETable.
	(ets_focus): Proxy the request to the child ETable.

svn path=/trunk/; revision=7830
2001-01-26 00:08:54 +00:00
Christopher James Lahey 593f0036f8 Made this correctly check for going off the end of the table.
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 19:10:57 +00:00
Christopher James Lahey 9c73622d38 Documented. Added a "cursor_activated" signal. Removed some unused
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-25 14:48:39 +00:00
Christopher James Lahey 4404cde3fc Made the cursor move when rows are inserted or deleted. If in single mode
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-22 01:48:54 +00:00
Christopher James Lahey 7d1cbbaa10 Made this conform to the new prototype for e_popup_menu_run.
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
2001-01-21 05:46:49 +00:00
Iain Holmes 91e979816f Fix memory leak: Unref some stuff if we're not showing the tooltip.
svn path=/trunk/; revision=7667
2001-01-20 16:31:08 +00:00
Miguel de Icaza 337910e031 Do most of the work to get Grouping working, by reusing massive ammounts
Do most of the work to get Grouping working, by reusing massive
ammounts of code from the sorting pieces.

2001-01-19  Miguel de Icaza  <miguel@gnu.org>

	* e-table-config.c (group_entry_changed, group_ascending_toggled):
	New methods.
	(configure_group_dialog): New function, sets up the group GUI.
	(e_table_config_construct): Populate column names here and use in
	configure_group_dialog and configure_sort_dialog

	(sort_entry_changed, sort_ascending_toggled): renamed from
	entry_changed, ascending_toggled.

svn path=/trunk/; revision=7637
2001-01-19 06:39:31 +00:00
Miguel de Icaza a35fff26e8 Keep track of the valid column names (not used right now).
2001-01-18  Miguel de Icaza  <miguel@gnu.org>

	* e-table-config.c (configure_sort_dialog): Keep track of the
	valid column names (not used right now).
	(config_destroy): release column names
	(entry_changed): Handle invalid input to mean "Next entry is
	grayed out".

	* e-table-header-item.c (ethi_popup_customize_view): Hook up to
	the "apply" signal on the dialog box to apply the changes.
	(apply_changes): New function to apply the changes from the
	ETableConfig object.

	* e-table-sort-info.c (e_table_sort_info_load_from_node): Notify
	of sort info changes.

	* e-table-header-item.c: Swapped the way arrows were done, so that
	they actually match the sorting that its expected.

	* e-table.c: Added inline documentation for a few methods.

	* e-table-config.h: Dropped ::spec, and temp_spec, we always use
	::source_spec, as we never modify this variable.

svn path=/trunk/; revision=7633
2001-01-19 04:48:04 +00:00
Federico Mena Quintero 12347daf56 Disconnect from the etss->source's signals *before* we unref it.
2001-01-18  Federico Mena Quintero  <federico@ximian.com>

	* e-table-subset.c (etss_destroy): Disconnect from the
	etss->source's signals *before* we unref it.

	* e-table-group-container.c (e_table_group_apply_to_leafs): Ref()
	and unref() around the callback to protect ourselves from being
	unrefed in the middle of iterating through the nodes.

svn path=/trunk/; revision=7621
2001-01-18 16:42:33 +00:00
Miguel de Icaza cca1d258d3 New function. (update_sort_config_dialog): Massive update to this
2001-01-18  Miguel de Icaza  <miguel@gnu.org>

	* e-table-config.c (find_model_column_by_name): New function.
	(update_sort_config_dialog): Massive update to this function, it
	is almost complete now, it just needs a few cosmetic touchups.
	(config_sort_config_show): Get the main interaction working as
	well.
	(config_group_info_update): Beautify.
	(entry_changed): Do all the magic for the GUI for entries.
	(ascending_toggled): Implement callback.
	(configure_sort_dialog): Do also descending.
	(configure_sort_dialog): Hook up changed/toggled.

	* e-table-config.h: Put all the configuration stuff for sorting
	into its own structure to pass around funny functions.

svn path=/trunk/; revision=7617
2001-01-18 06:47:07 +00:00
Dave Camp 7d2dc658f8 Removed #inclusion of e-table-config-field.h.
2001-01-17  Dave Camp  <dave@ximian.com>

	* e-table-config.c: Removed #inclusion of e-table-config-field.h.

svn path=/trunk/; revision=7568
2001-01-17 09:30:56 +00:00
Miguel de Icaza 02c4a82a7f This fixes translations of library messages compared to application
This fixes translations of library messages compared to application messages.

2001-01-17  Miguel de Icaza  <miguel@gnu.org>

	* po/POTFILES.in: update.

	* gal/widgets/color-palette.c: use e-i18n.h

	* gal/util/e-i18n.h: Avoid inclussion of the GNOME i18n file as we
	provide our own.

2001-01-17  Miguel de Icaza  <miguel@gnu.org>

	* e-table-header-item.c: Use e-i18n.h here.

	* e-table.c (et_col_spec_to_col): Use gettext here.
	(et_real_construct): Use gettext too.
	(et_col_spec_to_col): Use gettext here.

	* e-cell-date.c: Use e-i18n.h here.

	* e-table-config.c (config_sort_info_update): Simplify column
	grabbing code and drop item layout code.
	(config_group_info_update): ditto.

	* e-table-config.c: Get correct translation setup working.

2001-01-17  Miguel de Icaza  <miguel@gnu.org>

	* e-group-bar.c: Use e-i18n.h

svn path=/trunk/; revision=7565
2001-01-17 07:59:19 +00:00
Miguel de Icaza 8063555853 Simplify column grabbing code and drop item layout code.
2001-01-17  Miguel de Icaza  <miguel@gnu.org>

	* e-table-config.c (config_sort_info_update): Simplify column
	grabbing code and drop item layout code.
	(config_group_info_update): ditto.

	* e-table-config.c: Get correct translation setup working.

svn path=/trunk/; revision=7564
2001-01-17 07:41:23 +00:00
Miguel de Icaza d645d1f236 Load frames.
2001-01-16  Miguel de Icaza  <miguel@gnu.org>

	* e-table-config.c (configure_sort_dialog): Load frames.

	* Kill e-table-config-field.c

	* e-table-specification.c (e_table_specification_save_to_file):
	Specify version to xmlNewDoc.

	* e-table-state.c (e_table_state_save_to_string): Specify version
	to xmlNewDoc.

	* e-table-config.c (config_destroy): Destroy the copies.  Unref
	the originals.
	(e_table_config_construct): Duplicate values of configuration
	here.
	(configure_sort_dialog): New function that populates the sort gtk
	combo boxes.

	* e-table.c (et_col_spec_to_col): Fixup use of title here.  Do the
	actual translation here.

	* e-table-column-specification.c: Remove title_, it is now called
	title.  Translation needs to take place elsewhere, not here

	* e-table-specification.c (e_table_specification_duplicate): Add
	preconditions here.
	(e_table_specification_save_to_node): ditto.
	(e_table_specification_save_to_string): ditto.
	(e_table_specification_save_to_file): ditto.

	* e-table-state.c (e_table_state_duplicate): Implement.

	* e-table-config.glade (dialog_sort): Change drop down menus to
	use GtkComboText widgets.

	* e-table-config.c (configure_dialog): New function, used to set
	up dialogs.

svn path=/trunk/; revision=7563
2001-01-17 06:56:04 +00:00
Christopher James Lahey c1c5688c54 Added a bit of documentation. (config_sort_config_show,
2001-01-16  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-config.c: Added a bit of documentation.
	(config_sort_config_show, config_group_config_show):
	gnome_dialog_set_parent on the config->dialog_toplevel instead of
	the config.

	* e-table-specification: Pass "1.0" instead of NULL to xmlNewDoc
	here.

	* e-table-state.c, e-table-state.h: Pass "1.0" instead of NULL to
	xmlNewDoc here.  Make sure that sort_info is never NULL if this
	object exists.  Added ETableStateDuplicate.

svn path=/trunk/; revision=7542
2001-01-16 20:45:56 +00:00
Christopher James Lahey f914742fe7 Added e-cell-date.c, e-cell-date.h, e-cell-size.c, and e-cell-size.h.
2001-01-15  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am: Added e-cell-date.c, e-cell-date.h, e-cell-size.c,
	and e-cell-size.h.

	* e-cell-date.c, e-cell-date.h: New cell to implement displaying a
	date.

	* e-cell-size.c, e-cell-size.h: New cell to implement displaying a
	file size.

	* e-cell-text.c, e-cell-text.h: Got rid of the filter arguments.
	Replaced them with the ability to subclass ECellText and override
	the get_text method.  Added free_text to override if your get_text
	implementation returns allocated memory.

	* e-table-extras.c (ete_init): Added "size" and "date" cells to
	the default ETableExtras.

svn path=/trunk/; revision=7523
2001-01-16 01:52:27 +00:00
Miguel de Icaza baffaa5769 Step 2
svn path=/trunk/; revision=7521
2001-01-15 23:33:00 +00:00
Miguel de Icaza ac063e3d36 Rename from Helix Code -> Ximian
svn path=/trunk/; revision=7520
2001-01-15 23:32:09 +00:00
Miguel de Icaza feccdbccfb Document all entry points. (e_table_specification_save_to_file): Change
2001-01-15  Miguel de Icaza  <miguel@gnu.org>

	* e-table-specification.c: Document all entry points.
	(e_table_specification_save_to_file): Change prototype to return
	the number of bytes written.
	(e_table_specification_duplicate):
	Implement a function to duplicate nodes.
	(e_table_specification_save_to_node): Implement missing function.
	(e_table_specification_save_to_file): Enable.
	(e_table_specification_save_to_string): Enable.
	(e_table_specification_load_from_node): Just load the normal
	version of the click-to-add-message version, let other code
	translate it.
	(e_table_specification_load_from_string): Alter prototype to
	return success code.

	* e-table-specification.h: Do not store the translated version,
	store the plain version, so we can restore this later during the
	saving routines.

	* e-table.c (et_real_construct): Translate click to add message here.


	* e-table-header-item.c: Destroy config object if we are
	destroyed.

svn path=/trunk/; revision=7518
2001-01-15 23:25:42 +00:00
Miguel de Icaza c152134378 Make output pretier by using newlines when there is a lot of information
2001-01-15  Miguel de Icaza  <miguel@ximian.com>

	* e-table-config.c (config_fields_info_update): Make output
	pretier by using newlines when there is a lot of information to
	display.
	(config_group_info_update): ditto.
	(config_sort_info_update): ditto.

svn path=/trunk/; revision=7517
2001-01-15 23:21:40 +00:00
Miguel de Icaza 8da5139f16 Make output pretier by using newlines when there is a lot of information
2001-01-15  Miguel de Icaza  <miguel@ximian.com>

	* e-table-config.c (config_fields_info_update): Make output
	pretier by using newlines when there is a lot of information to
	display.
	(config_group_info_update): ditto.
	(config_sort_info_update): ditto.

svn path=/trunk/; revision=7497
2001-01-15 07:57:36 +00:00
Miguel de Icaza cff9059380 Work on the ETableConfigurator. Pick up where Chris left.
Work on the ETableConfigurator.  Pick up where Chris left.

A lot more changes to come in the short future.

2001-01-15  Miguel de Icaza  <miguel@ximian.com>

	* e-table-config.c (config_group_info_update): Simplify
	signature.
	(config_sort_info_update): Simplify signature.
	(config_fields_info_update): Implement.
	(e_table_config_construct): Hook up field change spec.

	* e-table-header-item.c (config_destroyed): Add new utility
	function.

	* e-table-config.c (config_group_info_update): Simpify routine by
	using g_string.  Show a message if there is no grouping.

	* e-table-config.c: Made e-table-config dialog be a
	GnomePropertyBox.

	* e-table-header-item.c (ethi_popup_customize_view): Use the new
	api.

	* e-table-config.c (config_sort_info_update): Simplify this
	routine.  Fix bug that was not showing "unsorted" state.
	(setup_gui): Load XML user interface here.
	(config_init): Use Glade instead of manually coded user interface.
	(e_table_config_raise): New api call.

2001-01-14  Miguel de Icaza  <miguel@ximian.com>

	* e-table-config.h: Change parent to be a GtkObject from
	GnomeDialog.

svn path=/trunk/; revision=7495
2001-01-15 07:34:27 +00:00
Christopher James Lahey e0572a2471 Changed the filter function back to being args to be more consistent with
2001-01-12  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.h, e-cell-text.h: Changed the filter function back
	to being args to be more consistent with the rest of the object.

svn path=/trunk/; revision=7465
2001-01-12 22:46:05 +00:00