Commit Graph

14 Commits

Author SHA1 Message Date
2e02727841 (etms_finalize): Call
e_table_memory_store_clear().

svn path=/trunk/; revision=18937
2002-11-26 22:25:50 +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
b1555639d8 add prototypes for the _change* functions.
2002-10-24  Chris Toshok  <toshok@ximian.com>

	* e-table-memory-store.h: add prototypes for the _change*
	functions.

	* e-table-memory-store.c (e_table_memory_store_change_array): new
	function, mostly c&p from _insert_array.
	(e_table_memory_store_change): new function, mostly c&p from
	_insert.
	(e_table_memory_store_change_adopt_array): new function, mostly
	c&p from _insert_adopt_array.
	(e_table_memory_store_change_adopt): new function, mostly c&p from
	_insert_adopt.

svn path=/trunk/; revision=18432
2002-10-25 06:26:20 +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
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
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
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
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
732d4c40a0 Added this function to take a ... list of column data. The expected number
2002-03-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c (e_table_memory_store_insert_list): Added
	this function to take a ... list of column data.  The expected
	number of parameters in the ... is the number of columns in the
	table.

svn path=/trunk/; revision=16109
2002-03-11 23:05:34 +00:00
e94b86c4b5 Added a pixbuf column type.
2002-03-11  Christopher James Lahey  <clahey@ximian.com>

	* e-table-memory-store.c, e-table-memory-store.h
	(E_TABLE_MEMORY_STORE_PIXBUF): Added a pixbuf column type.

	* e-table-specification.c, e-table-specification.h: Added
	horizontal-resize attribute.

	* e-table.c, e-table.h: Handle horizontal_resize.

svn path=/trunk/; revision=16108
2002-03-11 22:51:50 +00:00
4f122d673c Added e-table-memory-store.lo.
2002-02-21  Christopher James Lahey  <clahey@ximian.com>

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

From gal/e-table/ChangeLog:

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

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

	* e-table-config-no-group.glade, e-table-config.glade: Updated
	these.

	* e-table-config.c, e-table-config.h: Updated this to have a
	working field list editor.

	* e-table-memory-store.c, e-table-memory-store.h: New ETableModel
	that is a complete store of all the data in your table.  No
	callbacks at all.

	* e-table-subset-variable.c, e-table-subset-variable.h
	(e_table_subset_variable_clear): Added this simple function

	* e-table-subset.c (etss_get_save_id): Made this return the row
	number g_strdup_printfed if the source model doesn't support save
	ids.

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

	* e-table-sorter.c, e-table-sorter.h: Connect to the
	model_rows_inserted, model_rows_deleted, and group_info_changed
	here.

svn path=/trunk/; revision=15783
2002-02-21 19:02:32 +00:00