Commit Graph

698 Commits

Author SHA1 Message Date
e6751a0011 Add support here for "cursor_pos". (et_get_arg): Handle ARG_CURSOR_POS.
2000-12-29  Miguel de Icaza  <miguel@helixcode.com>

	* gal/e-text/e-entry.c: Add support here for "cursor_pos".
	(et_get_arg): Handle ARG_CURSOR_POS.
	(et_set_arg): ditto.

	* gal/e-text/e-text.c: Add new argument: "cursor_pos".
	(e_text_get_arg): Handle ARG_CURSOR_POS.
	(e_text_set_arg): Handle ARG_CURSOR_POS.
	(e_text_class_init): Add.

svn path=/trunk/; revision=7192
2000-12-29 06:39:54 +00:00
db2b02492d Removed a bunch of unused code.
2000-12-27  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c (ect_draw, ect_event): Removed a bunch of unused
	code.

svn path=/trunk/; revision=7179
2000-12-27 04:36:27 +00:00
c1527a0f74 Added a "draw_background" argument. Set the default for the
2000-12-26  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-entry.c: Added a "draw_background" argument.  Set
	the default for the "draw_background" argument to the contained
	EText to TRUE.

	* gal/e-text/e-text.c: Changed the default for the
	"draw_background" argument to FALSE.

svn path=/trunk/; revision=7176
2000-12-26 22:34:30 +00:00
68186009b2 Connect to the "changed" and "activate" signals on the EText to the proxy
2000-12-26  Miguel de Icaza  <miguel@helixcode.com>

	* gal/e-text/e-entry.c: Connect to the "changed" and "activate"
	signals on the EText to the proxy routines.
	(e_entry_proxy_changed): Proxy this to our signals.
	(e_entry_proxy_activate): ditto.

svn path=/trunk/; revision=7173
2000-12-26 08:15:56 +00:00
05217d5ace Always have some text. Fixes crash.
2000-12-25  Miguel de Icaza  <miguel@helixcode.com>

	* gal/e-text/e-text.c (e_text_init): Always have some text.  Fixes crash.

	* gal/widgets/e-reflow.c (set_empty): Set draw_background to FALSE.

svn path=/trunk/; revision=7172
2000-12-25 22:15:34 +00:00
b3e9bc2921 Always have some text. Fixes crash.
2000-12-25  Miguel de Icaza  <miguel@helixcode.com>

	* gal/e-text/e-text.c (e_text_init): Always have some text.  Fixes crash.

svn path=/trunk/; revision=7171
2000-12-25 22:06:45 +00:00
e2ba388ffd draw_background=FALSE
svn path=/trunk/; revision=7170
2000-12-25 19:45:02 +00:00
f2109db82d Set draw_background to FALSE.
2000-12-25  Miguel de Icaza  <miguel@helixcode.com>

	* e-meeting-time-sel.c (e_meeting_time_selector_attendee_add): Set
	draw_background to FALSE.

svn path=/trunk/; revision=7168
2000-12-25 08:38:51 +00:00
72dfe1e514 Set draw_background to FALSE.
2000-12-25  Miguel de Icaza  <miguel@helixcode.com>

	* e-cell-text.c (ect_show_tooltip): Set draw_background to FALSE.

	* e-table-group-container.c (etgc_add): ditto.

	* e-table-click-to-add.c (etcta_realize): ditto.
	(e_table_click_to_add_commit): ditto.

svn path=/trunk/; revision=7165
2000-12-25 08:36:04 +00:00
ca925e411c Made the code CanvasItem correct: the code should not draw at arbitrary
2000-12-25  Miguel de Icaza  <miguel@helixcode.com>

	* gal/e-text/e-text.c (e_text_draw): Made the code CanvasItem
	correct: the code should not draw at arbitrary positions in the
	GdkWindow, it should instead draw from item->x1, item->y1 to
	item->y1, item->y2 (Chris, we need to talk about this, I think my
	current fix is passable, but might not be fully correct.
	Specially the interpretation of the width, height arguments).
	(e_text_class_init): Fix name.
	(e_text_set_arg): Use correct name.

svn path=/trunk/; revision=7163
2000-12-25 08:20:24 +00:00
ccba11c01d Pass draw_background = FALSE
2000-12-25  Miguel de Icaza  <miguel@helixcode.com>

	* e-icon-bar.c (e_icon_bar_add_item): Pass draw_background = FALSE

svn path=/trunk/; revision=7162
2000-12-25 08:18:54 +00:00
bb0585fe60 add api docs.
2000-12-24  Chris Toshok  <toshok@helixcode.com>

	* e-cell-tree.c: add api docs.

	* e-tree-simple.c: add api docs.

svn path=/trunk/; revision=7161
2000-12-25 04:51:03 +00:00
ac6661ee12 Handle draw background. (e_text_draw): Support both border drawing and
2000-12-24  Miguel de Icaza  <miguel@helixcode.com>

	* gal/e-text/e-text.c (e_text_set_arg): Handle draw background.
	(e_text_draw): Support both border drawing and background drawing.

	* gal/e-text/e-entry.c (et_get_arg, et_set_arg): Reduce code size by casting
	once.
	(et_set_arg, et_get_arg): Add ARG_DRAW_BORDERS handling.

svn path=/trunk/; revision=7159
2000-12-24 22:28:17 +00:00
51284ee84a Destroy text and pixbuf if they exist whether or not is_pixbuf is set.
2000-12-23  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-col.c, e-table-col.h (etc_destroy): Destroy text and
	pixbuf if they exist whether or not is_pixbuf is set.
	(e_table_col_new_with_pixbuf): Make new_with_pixbuf take a title
	argument which is for when you can't display pixmaps.

	* e-table-column-specification.c
	(e_table_column_specification_load_from_node): Don't translate the
	pixbuf string attribute.

	* e-table-sort-info.c, e-table-sort-info.h
	(e_table_sort_info_load_from_node): Added a state_version
	parameter to the load_from_node function.  This lets the loader
	specify which version of ETableState is being processed.  If it's
	less than .05, use the old nested version.  If it's greater, use
	the new flat version.
	(e_table_sort_info_save_to_node): Changed this to store a list of
	group and leaf nodes instead of nesting the group nodes and leaf
	nodes one inside the other.  This is much easier to understand and
	requires less typing when creating a new ETableSpecification's
	initial ETableState.

	* e-table-state.c: Changed the state-version parameter to 0.1.
	(e_table_state_load_from_node): Use
	e_xml_get_double_prop_by_name_with_default so that we can specify
	a state-version default of 0.1 for people writing ETableStates by
	hand.  Pass the state-version to e_table_sort_info_load_from_node.

	* e-table.c (et_col_spec_to_col): Pass the title from the
	ETableColumnSpecification to the ETableCol even if it's a pixbuf
	column.

svn path=/trunk/; revision=7138
2000-12-23 05:55:20 +00:00
9b02c881ef translations
2000-12-22  JP Rosevear  <jpr@helixcode.com>

	* gui/goto-dialog.glade.h: translations

	* gui/goto-dialog.glade: new glade file for goto dialog

	* gui/gnome-cal.c (setup_widgets): Set date navigator attributes

	* gui/calendar-commands.h: remove prototype

	* gui/goto.h: Add prototype

	* gui/Makefile.am: Add glade file stuff

	* gui/gnome-cal.c (setup_widgets): Use accessors to configure the
	calendar item properly

2000-12-22  JP Rosevear  <jpr@helixcode.com>

	* e-calendar-item.h: add prototypes

	* e-calendar-item.c (e_calendar_item_init): Set max_days_selected to
	1 and days_to_start_week_selection to -1 as documented in header
	(e_calendar_item_set_arg): use new accessor methods
	(e_calendar_item_get_arg): ditto
	(e_calendar_item_get_max_days_sel): accessor
	(e_calendar_item_set_max_days_sel): ditto
	(e_calendar_item_get_days_start_week_sel): ditto
	(e_calendar_item_set_days_start_week_sel): ditto
	(e_calendar_item_class_init): add display_popup argument
	(e_calendar_item_init): initialize display_popup member
	(e_calendar_item_get_arg): get display_popup member
	(e_calendar_item_set_arg): set display_popup member
	(e_calendar_item_button_press): only show the popup menu if the
	member is set
	(e_calendar_item_get_display_popup): acessor
	(e_calendar_item_set_display_popup): ditto

svn path=/trunk/; revision=7132
2000-12-23 01:06:22 +00:00
dcd4f31223 Set the minimum width of newly created children.
2000-12-19  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-container.c (etgc_add): Set the minimum width of
	newly created children.
	(e_table_group_container_construct): Use function
	e_table_header_get_column_by_col_idx instead of
	e_table_header_get_column since we're passing in a col_idx.

	* e-table-header.c, e-table-header.h: New function
	e_table_header_get_column_by_col_idx which searches for a column
	in the ETableHeader with a certain model column (col_idx).

	* e-table-sorted-variable.c (etsv_compare),
	(etsv_sort), e-table-sorter.c (ets_sort): Use function
	e_table_header_get_column_by_col_idx instead of
	e_table_header_get_column since we're passing in a col_idx.

svn path=/trunk/; revision=7079
2000-12-19 15:58:24 +00:00
c6373718ea ditto.
2000-12-19  Miguel de Icaza  <miguel@helixcode.com>

	* gal/widgets/widget-pixmap-combo.h: ditto.

	* gal/widgets/widget-color-combo.h: Fix parent class.  It should
	have been GtkComboBoxClass, not GnomeCanvasClass.

svn path=/trunk/; revision=7077
2000-12-19 06:10:59 +00:00
4d0734f891 Upped the version number to 0.4.1. Bumped the GAL_REVISION to 1.
2000-12-15  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Upped the version number to 0.4.1.  Bumped the
	GAL_REVISION to 1.

2000-12-14  Christopher James Lahey  <clahey@helixcode.com>

	* gal/widgets/e-canvas-vbox.c (e_canvas_vbox_event): Don't allow
	the arrow keys to let you scroll off of the table.

	* NEWS: Changed the NEWS format.

svn path=/trunk/; revision=7049
2000-12-15 17:35:20 +00:00
45a037eef5 #include <time.h>
2000-12-14  Federico Mena Quintero  <federico@helixcode.com>

	* e-dateedit.h: #include <time.h>

svn path=/trunk/; revision=7034
2000-12-15 00:06:07 +00:00
feea74a8a7 Removed the set cursor and get cursor methods from ETableGroup.
2000-12-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-container.c, e-table-group-leaf.c,
	e-table-group.c, e-table-group.h: Removed the set cursor and get
	cursor methods from ETableGroup.

	* e-table.c (e_table_get_cursor_row, e_table_set_cursor_row):
	Changed this to use the ETableSelection directly instead of going
	through the grouping structure.  This seems to fix a bug in
	evolution's folder list for some people.

svn path=/trunk/; revision=7018
2000-12-14 19:02:13 +00:00
fd9186c407 call set_style and use the appropriate style for the text to determine if
2000-12-14  Chris Toshok  <toshok@helixcode.com>

	* e-cell-text.c (ect_show_tooltip): call set_style and use the
	appropriate style for the text to determine if the tooltip should
	be shown.

svn path=/trunk/; revision=7016
2000-12-14 18:24:25 +00:00
f368ce16ae Commented out an unused variable to fix a warning.
2000-12-14  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c (eti_realize): Commented out an unused variable
	to fix a warning.

svn path=/trunk/; revision=7014
2000-12-14 17:54:19 +00:00
a918af2dc3 Added eti_visibility_notify. Didn't get it to work properly, so it's #if
2000-12-13  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c (eti_realize): Added eti_visibility_notify.
	Didn't get it to work properly, so it's #if 0ed out.

svn path=/trunk/; revision=6991
2000-12-14 03:07:28 +00:00
cbb72fbf86 Changed the color from yellow to light gray.
2000-12-13  Christopher James Lahey  <clahey@helixcode.com>

	* gal/e-text/e-text.c (_do_tooltip): Changed the color from yellow
	to light gray.

	* gal/widgets/e-canvas-vbox.c (e_canvas_vbox_event): Made it so
	that e-canvas-vbox doesn't eat all the keyboard events.  This
	means widget navigation keys work properly.

svn path=/trunk/; revision=6989
2000-12-14 01:59:35 +00:00
d8619d03cd Changed the background color of the tooltips to light gray.
2000-12-13  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c (ect_show_tooltip): Changed the background color
	of the tooltips to light gray.

	* e-table-item.c (eti_event): Changed the tooltip timeout to 100
	milliseconds.

svn path=/trunk/; revision=6988
2000-12-14 01:54:37 +00:00
565e65690d remove the silly logic - we pop up a tooltip regardless of where the mouse
2000-12-13  Chris Toshok  <toshok@helixcode.com>

	* e-cell-tree.c (ect_show_tooltip): remove the silly logic - we
	pop up a tooltip regardless of where the mouse cursor hovers.
	just make sure it appears in the right place.
	(ect_event): reverse the change we make to the event after passing
	it to our subcell.  this fixes the problem of the tree reacting
	twice to events (once with flags == 0, and once with flags ==
	E_CELL_EDITING).

	* e-table-item.c (eti_event): destroy the tooltip window on a
	motion event.  this can (and does) happen when we get a tooltip on
	a tree cell and the cursor isn't over the area where the tooltip
	pops up.

svn path=/trunk/; revision=6979
2000-12-13 23:32:24 +00:00
a000f7480b New function to calculate the extra pixels per column header.
2000-12-13  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header-utils.c, e-table-header-utils.h
	(e_table_header_width_extras): New function to calculate the extra
	pixels per column header.

	* e-table-header.c, e-table-header.h: Added a "width_extras"
	argument which is used to calculate the correct minimum widths for
	each column header after adding padding.

	* e-table-item.c (_do_tooltip): Destroy the old tooltip window
	when creating the new one.
	(eti_event): Destroy the old tooltip window if the person presses
	a key.  Don't handle the tab key.

	* e-table.c (et_state_to_header): Set the ETableHeader's
	width_extras argument.

svn path=/trunk/; revision=6978
2000-12-13 22:34:36 +00:00
f42cf43320 only return TRUE in the BUTTON_PRESS case if the node was expandable.
2000-12-13  Chris Toshok  <toshok@helixcode.com>

	* e-cell-tree.c (ect_event): only return TRUE in the BUTTON_PRESS
	case if the node was expandable.

svn path=/trunk/; revision=6977
2000-12-13 22:29:21 +00:00
180fb4ee8e cut&paste from e-table-sorted-variable.c and massage names a bit to make
2000-12-13  Chris Toshok  <toshok@helixcode.com>

	* e-table-sorter.c (qsort_callback_complex),
	(ets_sort_build_subset), (ets_sort_subset),
	(ets_sort_free_subset), (sort_groups_compare),
	(ets_sort_by_group): cut&paste from e-table-sorted-variable.c and
	massage names a bit to make sort group sorting work.
	(ets_sort): if the ETableModel has sort groups, sort using the
	sort group.

svn path=/trunk/; revision=6975
2000-12-13 22:10:26 +00:00
7f1a408cd3 Fixed some warnings.
2000-12-12  Christopher James Lahey  <clahey@helixcode.com>

	* e-search-bar.c (esb_pack_menubar): Fixed some warnings.

svn path=/trunk/; revision=6940
2000-12-12 07:38:26 +00:00
ea469b6fc7 Made selected rows ignore their color specification.
2000-12-11  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c (ect_draw): Made selected rows ignore their color
	specification.

svn path=/trunk/; revision=6935
2000-12-12 02:47:42 +00:00
1443cce12e Emit double_click signal with the model column, not the view column.
* e-table-item.c (eti_event): Emit double_click signal with the
	model column, not the view column.

svn path=/trunk/; revision=6909
2000-12-11 16:59:53 +00:00
e0eba8f34f Split the lines in this cell before testing whether we're to the right of
2000-12-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c (_blink_scroll_timeout): Split the lines in this
	cell before testing whether we're to the right of the right edge
	of the text data (since that test uses the split lines.)

svn path=/trunk/; revision=6892
2000-12-09 23:46:51 +00:00
09244eaf9e cell should be edit cast to a CurrentCell, not data cast to a CurrentCell.
2000-12-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c (_blink_scroll_timeout): cell should be edit cast
	to a CurrentCell, not data cast to a CurrentCell.  Fixed this.

svn path=/trunk/; revision=6890
2000-12-09 23:27:45 +00:00
3018f79188 Added the actions parameter to ect_event. Added an actions field to
2000-12-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c: Added the actions parameter to ect_event.  Added
	an actions field to CellEdit.  Handle CellEdit properly in the
	ect_event function to do grabbing and ungrabbing when
	appropriate.  Set the actions field in CellEdit when appropriate
	in e_cell_text_view_command.

	* e-cell-toggle.c, e-cell-tree.c, e-cell.c, e-cell.h: Added a
	ECellActions enum, a ECellActions actions parameter to
	e_cell_event and added the actions parameter to all the handlers
	of the event method including having ECellTree pass it on to its
	child cell.

	* e-table-header-item.c: Use the NULL cursor instead of the
	E_CURSORS_ARROW cursor.

	* e-table-item.c, e-table-item.h: Added grabbed_row and
	grabbed_col fields to ETableItem (-1 on either means ungrabbed.)
	Pay attention to them in the find_cell function.  Handle the
	actions parameter of e_cell_event and grab or ungrab the pointer
	to a given cell if requested.  This is done using the new function
	eti_e_cell_event (which is internal to e-table-item.c,) instead of
	the old e_cell_event function call.  Fake an ungrabbed table when
	calling find_cell from within the compute_location method.

svn path=/trunk/; revision=6889
2000-12-09 22:20:52 +00:00
9cf73d61eb Unref the object instead of destroying it.
2000-12-09  Federico Mena Quintero  <federico@helixcode.com>

	* e-table-sorted.c (e_table_sorted_new): Unref the object instead
	of destroying it.

	* e-table-sorted-variable.c (e_table_sorted_variable_new): Likewise.

	* e-table-subset.c (e_table_subset_new): Likewise.

	* e-table-subset-variable.c (e_table_subset_variable_new): Likewise.

svn path=/trunk/; revision=6888
2000-12-09 20:04:18 +00:00
16b387c97c If there are columns allocated, free them upon a destroy.
2000-12-08  JP Rosevear  <jpr@helixcode.com>

	* e-table-state.c (etst_destroy): If there are columns allocated,
	free them upon a destroy.

2000-12-08  JP Rosevear  <jpr@helixcode.com>

	* gal/widgets/e-canvas.c (e_canvas_destroy): Remove my lame "fix"

svn path=/trunk/; revision=6884
2000-12-09 02:56:48 +00:00
e68b48fb6e Work to get a Gtk-Doc infrastructure in place for Gal.
Work to get a Gtk-Doc infrastructure in place for Gal.

Miguel.

svn path=/trunk/; revision=6883
2000-12-09 02:18:00 +00:00
c224a149c5 Call the parent class destroyer as well
2000-12-08  JP Rosevear  <jpr@helixcode.com>

	* e-calendar.c (e_calendar_destroy): Call the parent class destroyer
	as well

svn path=/trunk/; revision=6881
2000-12-09 02:08:36 +00:00
adf19f49fb set "sort_info" on our sorter when we get a new sort_info to keep things
2000-12-07  Chris Toshok  <toshok@helixcode.com>

	* e-table.c (e_table_set_state_object): set "sort_info" on our
	sorter when we get a new sort_info to keep things in sync.

	* e-table-sorter.c (ets_set_arg): new function, allowing the
	setting of "sort_info".
	(ets_get_arg): new function, allowing the getting of "sort_info".
	(ets_class_init): fill in GtkObject::set_arg and get_arg.
	(ets_sort): set ets->needs_sorting to 0 so we don't sort
	unnecessarily.
	(e_table_sorter_model_to_sorted): we may have ets->backsorted (and
	should use it if we do) even if we didn't need to sort.
	(e_table_sorter_sorted_to_model): same, except ets->sorted.

svn path=/trunk/; revision=6857
2000-12-07 23:55:56 +00:00
640883f04d Add column and GdkEvent * parameters to the double click signal.
2000-12-07  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.c,
	e-table.h: Add column and GdkEvent * parameters to the double
	click signal.

	* e-table-header-item: Unref the ETableFullHeader when we're done
	with it.

	* e-table-scrolled.c, e-table-scrolled.h: Remove all of the
	proxies and add a function e_table_scrolled_get_table and a gtk
	argument "table".

svn path=/trunk/; revision=6850
2000-12-07 23:28:30 +00:00
92708e6f44 Destroy the gdkIC if we have one
2000-12-07  JP Rosevear  <jpr@helixcode.com>

	* gal/widgets/e-canvas.c (e_canvas_destroy): Destroy the gdkIC
	if we have one

svn path=/trunk/; revision=6847
2000-12-07 21:33:27 +00:00
a22a4c17a5 Free the xmlDoc when we are done with it. (e_table_state_save_to_file):
2000-12-07  Federico Mena Quintero  <federico@helixcode.com>

	* e-table-state.c (e_table_state_save_to_string): Free the xmlDoc
	when we are done with it.
	(e_table_state_save_to_file): Ditto.

	* e-table.c (e_table_get_state): Unref the state object; why was
	it being sunk instead?
	(e_table_save_state): Ditto.
	(e_table_load_state): Ditto.
	(e_table_set_state): Ditto.

	* e-table-header-item.c (ethi_destroy): Free the ethi->dnd_code.

svn path=/trunk/; revision=6837
2000-12-07 16:24:42 +00:00
517cb96a31 pass along the column's width to e_cell_show_tooltip.
2000-12-06  Chris Toshok  <toshok@helixcode.com>

	* e-table-item.c (_do_tooltip): pass along the column's width to
	e_cell_show_tooltip.

	* e-cell-text.c (ect_show_tooltip): add col_width argument, and
	set cell.width = col_width - 8 (to mimic what happens in
	build_current_cell, but with a possibly altered width).

	* e-cell.c (e_cell_show_tooltip): add col_width argument, and pass
	along to virtual function.
	(ec_show_tooltip): add col_width argument.

	* e-cell.h: change prototype of e_cell_show_tooltip to include a
	width parameter.

	* e-cell-tree.c (ect_show_tooltip): send the width - the subcell's
	offset to e_cell_show_tooltip.

svn path=/trunk/; revision=6831
2000-12-06 23:25:06 +00:00
620dda2c36 Adapted these to accept the new flags parameter to e_cell_event.
2000-12-06  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c, e-cell-toggle.c, e-cell-tree.c: Adapted these to
	accept the new flags parameter to e_cell_event.

	* e-cell.c, e-cell.h: Added a flags parameter to e_cell_event.

	* e-table-item.c: Send all e_cell_event calls a E_CELL_EDITABLE
	flag.  Add a new e_cell_event to the button press event that
	happens before selecting the appropriate row and which does not
	have the E_CELL_EDITABLE flag set.

svn path=/trunk/; revision=6823
2000-12-06 21:37:15 +00:00
59c1215f75 Removed incorrect e-list.h include.
2000-12-06  Christopher James Lahey  <clahey@helixcode.com>

	* gal-view-collection.h: Removed incorrect e-list.h include.

svn path=/trunk/; revision=6819
2000-12-06 19:34:55 +00:00
655cd28a43 Missed this file during the last commit.
svn path=/trunk/; revision=6817
2000-12-06 18:49:13 +00:00
a8463d6703 Added a GalViewCollection argument to the new function here.
2000-12-06  Christopher James Lahey  <clahey@helixcode.com>

	* menus/gal-view-menus.c, menus/gal-view-menus.h: Added a
	GalViewCollection argument to the new function here.

From meeting-time-sel/ChangeLog:

2000-12-06  Christopher James Lahey  <clahey@helixcode.com>

	* e-meeting-time-sel.c: Fixed a bunch of warnings.

svn path=/trunk/; revision=6816
2000-12-06 18:46:31 +00:00
6dce720dc6 Added gal-view-collection.c, gal-view-etable.c, gal-view-factory-etable.c,
2000-12-06  Christopher James Lahey  <clahey@helixcode.com>

	* Makefile.am: Added gal-view-collection.c, gal-view-etable.c,
	gal-view-factory-etable.c, gal-view-factory.c,
	gal-view-collection.h, gal-view-etable.h,
	gal-view-factory-etable.h, and gal-view-factory.h.

	* gal-define-views-dialog.c, gal-define-views-dialog.h: Rewrote
	this to take a GalViewCollection.  This now passes its collection
	to the new view dialog but still doesn't get its list of views
	from the collection.

	* gal-define-views-model.c: Changed this to use the gal_view_get_title
	function instead of the "title" gtk argument.

	* gal-define-views.glade, gal-define-views.glade.h: Changed this
	dialog to be a bit cleaner.

	* gal-view-collection.c, gal-view-collection.h: A collection of
	views and view factories.

	* gal-view-etable.c, gal-view-etable.h: An implementation of the
	view class.  This stores an ETableSpecification and the current
	ETableState.

	* gal-view-factory-etable.c, gal-view-factory-etable.h: An
	implementation of the view factory class.  This stores an
	ETableSpecification and creates GalViewEtables when requested.

	* gal-view-factory.c, gal-view-factory.h: A new virtual class.
	Its primary job is to return new GalViews.

	* gal-view-new-dialog.c, gal-view-new-dialog.h: Added a collection
	argument to the new function here so that it can get a list of
	factories to choose from.

	* gal-view-new-dialog.glade, gal-view-new-dialog.glade.h: Added a
	CList for the list of factories to choose from.

	* gal-view.c, gal-view.h: Changed this to be a virtual class.

svn path=/trunk/; revision=6811
2000-12-06 18:38:39 +00:00
af6115e56f Fixed warning in compute_elision_length.
2000-12-06  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header-utils.c: Fixed warning in compute_elision_length.

	* e-table-header.c, e-table-header.h: Removed
	e_table_header_selection_ok method here.

svn path=/trunk/; revision=6810
2000-12-06 18:27:41 +00:00