Commit Graph

492 Commits

Author SHA1 Message Date
c03e143c6c Updated.
2000-08-30  Damon Chaplin  <damon@helixcode.com>

	* e-calendar-item.[hc]:
	* e-calendar.[hc]: Updated.

svn path=/trunk/; revision=5120
2000-08-30 20:46:55 +00:00
ccda437a9a make e-util depend on libunicode
* Makefile.am (libeutil_la_LIBADD): make e-util depend on
	libunicode

	* e-popup-menu.c (make_item): Use GtkMenuItem rather than
	GtkPixmapMenuItem for items with no pixmaps, so that if the whole
	menu is pixmapless, you don't get a column of blank pixmaps.

svn path=/trunk/; revision=5114
2000-08-30 15:28:36 +00:00
2529bb621e Make printing of groups work better and make them print headers.
2000-08-28  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-group-container.c: Make printing of groups work better
	and make them print headers.

	* e-table-item.c: Turn off alternating row support.

svn path=/trunk/; revision=5086
2000-08-28 21:21:37 +00:00
876558f75f Remove a ton of (hopefully harmless) warnings from the ETable code.
svn path=/trunk/; revision=5081
2000-08-28 15:27:38 +00:00
20925d94eb Added some g_return_if_fails and g_return_val_if_fails.
2000-08-25  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-col.c, e-table-config.c, e-table-header.c,
	e-table-text-model.c: Added some g_return_if_fails and
	g_return_val_if_fails.

svn path=/trunk/; revision=5056
2000-08-26 09:15:32 +00:00
81f994a359 More UTF-8 handling
svn path=/trunk/; revision=5032
2000-08-25 04:31:13 +00:00
ffc43362bc Fix an off by one error that was causing crashes.
2000-08-24  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Fix an off by one error that was causing crashes.

svn path=/trunk/; revision=5027
2000-08-24 23:18:08 +00:00
c99edac0b5 Set default values for all of the signal emissions.
2000-08-24  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Set default values for all of the signal emissions.

svn path=/trunk/; revision=5026
2000-08-24 22:24:36 +00:00
aa9505c5ae Check for selection->selection being NULL in
2000-08-24  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-selection-model.c: Check for selection->selection being
	NULL in e_table_selection_model_selected_count.

svn path=/trunk/; revision=5025
2000-08-24 22:03:48 +00:00
5722c2786e Pay attention to the return value from the click signal.
2000-08-24  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c: Pay attention to the return value from the click
	signal.

svn path=/trunk/; revision=5022
2000-08-24 21:24:17 +00:00
5e1949f935 Added a click signal which gets sent if the user hits the left or middle
2000-08-24  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,
	e-table.c, e-table.h: Added a click signal which gets sent if the
	user hits the left or middle mouse button on a cell.

svn path=/trunk/; revision=5020
2000-08-24 21:13:17 +00:00
3877d4077d Forgot to commit this
svn path=/trunk/; revision=5019
2000-08-24 20:47:23 +00:00
ba232a706e Added g_return_if_fails.
2000-08-24  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-scrolled.c, e-table.c: Added g_return_if_fails.

svn path=/trunk/; revision=5015
2000-08-24 19:36:44 +00:00
695baf618d Added infrastructure for setting the justification of columns. Still need
2000-08-24  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c, e-cell-toggle.c, e-cell-tree.c, e-cell.c,
	e-cell.h, e-table-col.c, e-table-col.h, e-table-item.c: Added
	infrastructure for setting the justification of columns.  Still
	need to change the cells to support it and need to add user
	interface to change the justification.

svn path=/trunk/; revision=5010
2000-08-24 19:06:54 +00:00
8d63772a7d Unicode in addressbook basically works, including simple searching
svn path=/trunk/; revision=4997
2000-08-24 03:25:53 +00:00
c512a22478 Fixed a bug in e_table_subset_variable_increment that causes problems with
2000-08-23  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-subset-variable.c: Fixed a bug in
	e_table_subset_variable_increment that causes problems with
	ETree's.  Specifically, when you incremented at position x, the
	row x didn't get incremented as it should (s/>/>=/.)

svn path=/trunk/; revision=4994
2000-08-23 22:59:09 +00:00
88d79b0d1a Added missing e-unicode.h and e-unicode.c
svn path=/trunk/; revision=4977
2000-08-23 03:15:10 +00:00
b906c345f9 UTF-8 in contact editor + some fixes for dealing with illegal strings
svn path=/trunk/; revision=4976
2000-08-23 02:56:59 +00:00
049c61546b remove tree-expanded.xpm and tree-unexpanded.xpm.
2000-08-22  Chris Toshok  <toshok@helixcode.com>

	* Makefile.am (icons): remove tree-expanded.xpm and
	tree-unexpanded.xpm.

	* e-tree-example-1.c: use art/tree-expanded.xpm and
	art/tree-unexpanded.xpm.
	(remove_node): commit the change listed below (08-21).

	* tree-expanded.xpm: removed.

	* tree-unexpanded.xpm: removed.

svn path=/trunk/; revision=4975
2000-08-23 01:48:20 +00:00
1e5ae349da Handle iso-8859-1 keys nicely in e-text and e-table. Other encodings to
come...

svn path=/trunk/; revision=4972
2000-08-23 00:22:18 +00:00
823e4b48ee Use byte, not character based UTF-8 syntax in e-text
svn path=/trunk/; revision=4963
2000-08-22 14:12:36 +00:00
a30113eebc Moved drawing of the cell backgrounds from ECell into ETableItem.
2000-08-22  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c, e-cell-toggle.c, e-cell-tree.c, e-table-item.c:
	Moved drawing of the cell backgrounds from ECell into ETableItem.

	* e-tree-model.c: Include stdlib.c.

svn path=/trunk/; revision=4915
2000-08-22 10:03:36 +00:00
a0e3d19542 Changed UTF-8 handling syntax from char based to byte based
svn path=/trunk/; revision=4913
2000-08-22 02:53:04 +00:00
95ba651873 we can remove nodes with children now.
2000-08-21  Chris Toshok  <toshok@helixcode.com>

	* e-tree-example-1.c (remove_node): we can remove nodes with
	children now.

	* e-tree-model.h: add prototype for e_tree_model_node_sort.

	* e-tree-model.c (etree_set_expanded): if the node is invisible,
	just set its expanded flag and return.
	(e_tree_model_root_node_set_visible): call set_expanded before we
	remove it from the row array or else the aforementioned change
	will result in nothing happening.
	(e_tree_model_node_insert): use a position of -1 as "append".
	(e_tree_model_node_insert): if the model was marked with
	root_visible == FALSE, make sure to set it's expanded flag to TRUE
	when the root node is inserted.
	(e_tree_model_node_sort): new function.

svn path=/trunk/; revision=4912
2000-08-22 00:42:14 +00:00
bfd2e9c92d pass table, not site as the closure for these drag signals, since
2000-08-21  Chris Toshok  <toshok@helixcode.com>

	* e-table.c (e_table_drag_source_set): pass table, not site as the
	closure for these drag signals, since e_table_drag_source_event_cb
	assumes it's the table.

svn path=/trunk/; revision=4911
2000-08-22 00:24:03 +00:00
2764b49bc7 Added code to make handle position persist across resizes.
2000-08-21  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-paned/e-hpaned.c, widgets/e-paned/e-paned.c,
	widgets/e-paned/e-paned.h, widgets/e-paned/e-vpaned.c: Added code
	to make handle position persist across resizes.

svn path=/trunk/; revision=4898
2000-08-21 05:34:59 +00:00
6368c0472e ChangeLog error.
svn path=/trunk/; revision=4894
2000-08-20 23:19:03 +00:00
475a5d499c Added e_table_selection_model_selected_count.
2000-08-20  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-selection-model.c: Added
	e_table_selection_model_selected_count.

svn path=/trunk/; revision=4893
2000-08-20 23:18:45 +00:00
44d8831822 many fixes to make it compile with strange prefixes...
neither mail nor the calendar components work though...
evil stuff.

svn path=/trunk/; revision=4892
2000-08-20 19:32:56 +00:00
447ecfb3e8 Fixed a warning.
2000-08-20  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/e-text.c: Fixed a warning.

svn path=/trunk/; revision=4889
2000-08-20 10:13:47 +00:00
4f12a10864 added use of UNICODE_CFLAGS... thanks ian...
svn path=/trunk/; revision=4887
2000-08-20 08:09:37 +00:00
c63ea33628 Moved e-text to UTF-8
svn path=/trunk/; revision=4886
2000-08-20 03:02:05 +00:00
9a88f3d4d6 First step moving to UTF-8 strings
svn path=/trunk/; revision=4885
2000-08-20 00:02:10 +00:00
862d1f25de Made background colors alternate.
2000-08-19  Christopher James Lahey  <clahey@helixcode.com>

	* e-cell-text.c: Made background colors alternate.

	* e-table-click-to-add.c: Made tabbing off the right edge of the
	click to add commit the new values.

	* e-table-group-container.c, e-table-group-leaf.c,
	e-table-group.c, e-table-group.h, e-table-sorted-variable.c,
	e-table-subset-variable.c, e-table-subset-variable.h: Added a
	decrement method.  Made the add and remove methods not
	automatically increment and decrement.

	* e-table-item.c: Fixed some view vs model issues for both rows
	and columns.

	* e-table-model.c: Added debugging code.  Removed automatic
	signalling of changes by the ETableModel set_value_at function
	(the model should send these signals itself.)

	* e-table.c: Added increment and decrement calls when a row is
	removed or added from the source model.

svn path=/trunk/; revision=4881
2000-08-19 23:32:50 +00:00
c60f1c5c77 remove COLOR_TEXT references.
2000-08-16  Larry Ewing  <lewing@helixcode.com>

	* e-icon-bar.c (e_icon_bar_init): remove COLOR_TEXT references.

svn path=/trunk/; revision=4858
2000-08-16 21:15:03 +00:00
224c970903 get rid of COLOR_TEXT. (struct _EIconBarItem): add pixbuf member to hold
2000-08-16  Larry Ewing  <lewing@helixcode.com>

	* e-icon-bar.h (enum): get rid of COLOR_TEXT.
	(struct _EIconBarItem): add pixbuf member to hold unmodified
	pixbuf.

	* e-icon-bar.c (e_icon_bar_style_set): update the image and the
	colors based on the new style.
	(e_icon_bar_add_item): store the full alpha pixbuf so that we can
	update the background color if the style changes.  Use the style
	colors where appropriate.
	(e_icon_bar_on_editing_stopped): revert to style colors.
	(e_icon_bar_on_editing_started): use style fg instead of
	COLOR_TEXT.

	* e-shortcut-bar.c (e_shortcut_bar_add_group): add an #ifndef
	E_USE_STYLES around the call to e_shortcut_bar_set_canvas_style to
	allow people to test out the style stuff that is in progress.

svn path=/trunk/; revision=4856
2000-08-16 18:46:39 +00:00
e9faa62d2f Added addressbook/gui/search/Makefile.
2000-08-12  Christopher James Lahey  <clahey@helixcode.com>

	* configure.in: Added addressbook/gui/search/Makefile.

From addressbook/ChangeLog

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

	* gui/Makefile.am: Added the search directory.

	* backend/ebook/e-book.c: Fixed a potential crash.

	* gui/minicard/e-reflow-sorted.h: Fixed an include line.

	* gui/search/.cvsignore, gui/search/Makefile.am: New files.

	* gui/search/e-addressbook-search-dialog.c: Fixed compilation.

svn path=/trunk/; revision=4779
2000-08-12 18:12:04 +00:00
773c53414b Added a test for the EEntry widget.
2000-08-10  Christopher James Lahey  <clahey@helixcode.com>

	* widgets/e-text/.cvsignore, widgets/e-text/Makefile.am,
	widgets/e-text/e-entry-test.c: Added a test for the EEntry widget.

svn path=/trunk/; revision=4725
2000-08-11 03:51:17 +00:00
3834c82359 Fixed some warnings.
2000-08-10  Christopher James Lahey  <clahey@helixcode.com>

	* e-calendar-item.c, e-calendar.c: Fixed some warnings.

svn path=/trunk/; revision=4723
2000-08-11 03:46:37 +00:00
62ca9f5fd7 Make right click select if the current row is not selected.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-item.c, e-table-selection-model.c,
	e-table-selection-model.h: Make right click select if the current
	row is not selected.

svn path=/trunk/; revision=4658
2000-08-09 19:40:04 +00:00
733a8c4ccd Fix the bug where it truncates the last item
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-popup-menu.c: Fix the bug where it truncates the last item

svn path=/trunk/; revision=4648
2000-08-09 07:24:36 +00:00
92a068467b Call our parent's destroy method.
2000-07-18  Miguel de Icaza  <miguel@helixcode.com>

	* e-tree-model.c (etree_destroy): Call our parent's destroy
	method.

svn path=/trunk/; revision=4643
2000-08-09 06:33:46 +00:00
e2ad42ace2 Tag some strings for translation.
2000-08-08  Miguel de Icaza  <miguel@helixcode.com>

	* e-table-header-item.c: Tag some strings for translation.

svn path=/trunk/; revision=4642
2000-08-09 06:33:19 +00:00
3c36db8abb Ooops.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-popup-menu.c: Ooops.

svn path=/trunk/; revision=4630
2000-08-09 05:20:05 +00:00
a0522bcc25 Changed e_popup_menu_run call to match the new arguments.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-table-header-item.c: Changed e_popup_menu_run call to match
	the new arguments.

svn path=/trunk/; revision=4628
2000-08-09 05:15:14 +00:00
e367caf042 Added a hide_mask argument to the two popup menu functions.
2000-08-09  Christopher James Lahey  <clahey@helixcode.com>

	* e-popup-menu.c, e-popup-menu.h: Added a hide_mask argument to
	the two popup menu functions.

svn path=/trunk/; revision=4625
2000-08-09 05:10:40 +00:00
5b1da3b439 Added e_container_change_tab_order.
2000-08-07  Christopher James Lahey  <clahey@helixcode.com>

	* e-gui-utils.c, e-gui-utils.c: Added
	e_container_change_tab_order.

svn path=/trunk/; revision=4580
2000-08-07 20:20:37 +00:00
c115cff69d Added functions to convert from view row to model row or from model row to
2000-08-05  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c, e-table.h: Added functions to convert from view row
	to model row or from model row to view row.  Also changed
	e_table_set_cursor_row and e_table_get_cursor_row to take a model
	row as this works better with the rest of the model.  Changed the
	name of e_table_get_next_row_sorted and
	e_table_get_prev_row_sorted.  (Dropped the _sorted.)

svn path=/trunk/; revision=4556
2000-08-05 23:00:41 +00:00
8a79e9aa26 fix
* e-table.c (e_table_get_{next,prev}_row_sorted): fix

svn path=/trunk/; revision=4553
2000-08-05 18:53:56 +00:00
9346032727 Added a function to get the next row with sorting taken into account.
2000-08-05  Christopher James Lahey  <clahey@helixcode.com>

	* e-table.c: Added a function to get the next row with sorting
	taken into account.

svn path=/trunk/; revision=4549
2000-08-05 13:21:39 +00:00