Commit Graph

1193 Commits

Author SHA1 Message Date
d284de8538 the meeting-time-sel dir is dead, relevant pieces moved to calendar/gui
2001-09-19  JP Rosevear  <jpr@ximian.com>

	* Makefile.am: the meeting-time-sel dir is dead, relevant pieces
	moved to calendar/gui

svn path=/trunk/; revision=12967
2001-09-19 04:32:38 +00:00
d8f6b5758f remove redundant NULL checks since g_free handles NULLs. (e_text_destroy):
2001-09-17  Larry Ewing  <lewing@ximian.com>

	* gal/e-text/e-text.c (e_text_supply_selection): remove redundant
	NULL checks since g_free handles NULLs.
	(e_text_destroy): free the selection.  It does appear to be a
	guarantee that we get a selection-clear event before we are
	destroyed.

svn path=/trunk/; revision=12934
2001-09-18 04:00:56 +00:00
a513a5f502 Bumped version number to 0.11.99.4.
2001-09-16  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.11.99.4.

	* gal/e-text/e-completion-view.c (e_completion_view_construct),
	tests/test-table-1.c (create_table): Changed the parameters to
	e_table_simple_new here to adjust to changes in the interface.

	* gal/widgets/e-categories-master-list-array.c (ecmla_default):
	Fixed a memory leak here.

	* gal/widgets/e-categories.c (e_categories_get_save_id): Added
	get_save_id here so that selection would be maintained across
	changes.

From gal/e-table/ChangeLog:

2001-09-16  Christopher James Lahey  <clahey@ximian.com>

	* e-table-model.c, e-table-model.h (e_table_model_class_init):
	Rearranged order of has_save_id and get_save_id to be more
	consistent with ETree.

	* e-table-selection-model.c, e-table-selection-model.h: Turned on
	the code to maintain selection and cursor across changes if the
	model supports get_save_id.

	* e-table-simple.c, e-table-simple.h: Changed this interface to
	take all of the ETableModel functions in the _new function.

	* e-table-subset.c (etss_has_save_id, etss_get_save_id): Added
	these to properly proxy the save_id functionality.

	* e-tree-memory-callbacks.c, e-tree-memory-callbacks.h,
	e-tree-model.c, e-tree-model.h, e-tree-sorted.c: Made the save_id
	parameter to get_node_by_id be const char * instead of char *.

	* e-tree-table-adapter.c (etta_class_init): Rearranged some
	assignments here to be more consistent.

svn path=/trunk/; revision=12869
2001-09-17 03:57:12 +00:00
6d1f104d1e add prototype for e_date_edit_set_editable.
2001-09-16  Chris Toshok  <toshok@ximian.com>

	* e-dateedit.h: add prototype for e_date_edit_set_editable.

	* e-dateedit.c (e_date_edit_set_editable): new function, analogous
	to gtk_entry_set_editable: let's the user select but not edit (or
	in this case, bring up the calendar view.)

svn path=/trunk/; revision=12867
2001-09-17 02:58:58 +00:00
9fff8d1246 Check that unsorted >= 0 before using it as an array index. (Bug #9115)
2001-09-15  Jon Trowbridge  <trow@ximian.com>

	* gal/widgets/e-reflow.c (e_reflow_reflow): Check that
	unsorted >= 0 before using it as an array index.  (Bug #9115)

svn path=/trunk/; revision=12852
2001-09-15 06:57:00 +00:00
a24242acd4 Don't unref the old dropdown, we don't "own" it.
2001-09-13  Jeffrey Stedfast  <fejj@ximian.com>

	* e-search-bar.c (set_dropdown): Don't unref the old dropdown, we
	don't "own" it.

svn path=/trunk/; revision=12805
2001-09-13 18:59:05 +00:00
b59ff6e2f0 Changed this to change state on button down, even if we aren't editing.
2001-09-13  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-toggle.c (etog_event): Changed this to change state on
	button down, even if we aren't editing.

svn path=/trunk/; revision=12803
2001-09-13 18:33:21 +00:00
00368d2905 Unref the model after creating the ETable, since the table will hold a ref
* gal/e-text/e-completion-view.c (e_completion_view_construct):
	Unref the model after creating the ETable, since the table will
	hold a ref on it until we destroy it when we're destroyed.

	* gal/e-text/e-entry.c (e_entry_destroy): Unref the popup window
	rather than destroying it.

svn path=/trunk/; revision=12798
2001-09-13 15:37:59 +00:00
6796044313 unref the old dropdown_menu if there is one.
2001-09-13  Larry Ewing  <lewing@ximian.com>

	* e-search-bar.c (set_dropdown): unref the old dropdown_menu if
	there is one.

svn path=/trunk/; revision=12796
2001-09-13 09:12:52 +00:00
dc06d7ef54 No longer need the context in order to clone a FilterRule.
2001-09-12  Jeffrey Stedfast  <fejj@ximian.com>

	* e-filter-bar.c (menubar_activated): No longer need the context
	in order to clone a FilterRule.
	(option_changed): Same.

svn path=/trunk/; revision=12791
2001-09-13 00:13:59 +00:00
3240dc4afc Changed which widget to connect signals to to watch for drag & drop. Fixes
2001-09-10  Christopher James Lahey  <clahey@ximian.com>

	* e-tree.c (e_tree_setup_table): Changed which widget to connect
	signals to to watch for drag & drop.  Fixes Ximian bugs #7450 &
	#8732.

svn path=/trunk/; revision=12744
2001-09-10 20:52:54 +00:00
e0cd01768a If our text shrinks, make sure that the selection doesn't spill off over
2001-09-09  Jon Trowbridge  <trow@ximian.com>

	* gal/e-text/e-text.c (e_text_text_model_changed): If our text shrinks,
	make sure that the selection doesn't spill off over the end of the
	reduced buffer.  (Related to bug #8535)

svn path=/trunk/; revision=12717
2001-09-09 22:59:02 +00:00
757848f054 Re-remove evil utf8_to_gtk debug printf that Chris seems to have
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized): Re-remove
	evil utf8_to_gtk debug printf that Chris seems to have
	accidentally re-added.

svn path=/trunk/; revision=12703
2001-09-08 16:28:17 +00:00
e9ca2eea34 Fixed a silly little obvious bug.
2001-09-07  Jon Trowbridge  <trow@ximian.com>

	* e-table-without.c (e_table_without_show_all): Fixed a silly
	little obvious bug.

svn path=/trunk/; revision=12695
2001-09-07 23:43:27 +00:00
fb24d9b2a8 Added GDK_BUTTON_PRESS_MASK to our button mask. Fixes Ximian bug #8241.
2001-09-07  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_event): Added GDK_BUTTON_PRESS_MASK to our
	button mask.  Fixes Ximian bug #8241.

svn path=/trunk/; revision=12685
2001-09-07 21:05:03 +00:00
109c5702ba Don't do_something on button_release if we did something on button_press.
2001-09-07  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c, e-table-item.h (eti_event): Don't do_something
	on button_release if we did something on button_press.  Fixes
	Ximian bug #3742.

svn path=/trunk/; revision=12680
2001-09-07 19:04:29 +00:00
5b32dc6ffc Bumped version number to 0.11.99.3 for ETableWithout.
2001-09-07  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.11.99.3 for
	ETableWithout.

	* gal/widgets/e-selection-model.c, gal/widgets/e-selection-model.h
	(e_selection_model_maybe_do_something): Return a value based on
	whether we did something.

svn path=/trunk/; revision=12679
2001-09-07 19:03:00 +00:00
60e65ee806 Added e-table-config-no-group.glade.
2001-09-07  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am: Added e-table-config-no-group.glade.

	* e-table-config-no-group.glade, e-table-config.c,
	e-table-config.glade: Removed the fields bit of ETableConfig.

svn path=/trunk/; revision=12678
2001-09-07 18:57:34 +00:00
3f2384a872 Added this function.
2001-09-07  Christopher James Lahey  <clahey@ximian.com>

	* e-table-without.c, e-table-without.h (e_table_without_show_all):
	Added this function.

svn path=/trunk/; revision=12677
2001-09-07 18:53:35 +00:00
681e043977 added a default size for the saved search dialog of 600 x 300 such that it
2001-09-06  Anna Marie Dirks  <anna@ximian.com>

	* e-filter-bar.c: added a default size for the saved search
	dialog of 600 x 300 such that it opens at a usable size.
	this fixes bug #7083.

svn path=/trunk/; revision=12661
2001-09-06 22:45:14 +00:00
79f942b465 added a wee bit of padding around the find now label in response to bug
001-09-05  Anna Marie Dirks  <anna@ximian.com>

	* e-search-bar.c (add_activate_button): added a wee bit of
	padding around the find now label in response to bug #7049.

svn path=/trunk/; revision=12627
2001-09-05 20:16:04 +00:00
b76d2415d6 Fixes #2465
* menus/gal-view-menus.c (build_menus):
Encode the label using bonobo_ui_util_encode_str and set "label"
attribute, not "_label".
I have no idea what the previous code was trying to do but it was
definitely wrong.

svn path=/trunk/; revision=12601
2001-09-04 21:22:11 +00:00
099d43d698 Remove debugging message.
* e-tree.c (e_tree_drag_unhighlight): Remove debugging message.

svn path=/trunk/; revision=12599
2001-09-04 20:54:18 +00:00
abef6d7dad Use e_iconv_from_locale, not e_iconv_to_locale.
* gal/widgets/e-unicode.c (e_utf8_from_locale_string_sized):
Use e_iconv_from_locale, not e_iconv_to_locale.

svn path=/trunk/; revision=12562
2001-09-02 20:06:40 +00:00
5c1e0a1d9e Strip spaces at the beginning or end as well as changing " " to " ". Fixes
2001-09-02  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-date.c (ecd_get_text): Strip spaces at the beginning or
	end as well as changing "  " to " ".  Fixes Ximian bug #7683.

svn path=/trunk/; revision=12560
2001-09-02 09:26:13 +00:00
03a5d4a3d3 Bumped the version number to 0.11.99.2 for new e_utf8 functions.
2001-09-01  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.11.99.2 for new
	e_utf8 functions.

	* gal/widgets/e-unicode.c, gal/widgets/e-unicode.h
	(e_utf8_is_ascii): Added this function.  Reformatted.

svn path=/trunk/; revision=12557
2001-09-02 02:14:04 +00:00
a3d7a62572 Bumped the version number to 0.111.99.1 for new e_utf8 functions.
2001-09-01  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped the version number to 0.111.99.1 for new
	e_utf8 functions.

	* gal/unicode/gunicollate.c (g_utf8_collate, g_utf8_collate_key):
	Changed this from e_utf8_from_locale_string to
	e_utf8_to_locale_string.

	* gal/widgets/e-font.c, gal/widgets/e-font.h
	(e_iconv_from_charset, e_iconv_to_charset): Added these functions
	to the exported interface (renamed them as well from
	e_iconv_from_encoding and e_iconv_to_encoding.)

	* gal/widgets/e-unicode.c, gal/widgets/e-unicode.h
	(e_utf8_from_iconv_string, e_utf8_from_iconv_string_sized,
	e_utf8_to_iconv_string, e_utf8_to_iconv_string_sized,
	e_utf8_from_charset_string, e_utf8_from_charset_string_sized,
	e_utf8_to_charset_string, e_utf8_to_charset_string_sized): Added
	these functions.
	(e_utf8_from_locale_string, e_utf8_to_locale_string): Changed
	these to use the new e_utf8_from_iconv_string and
	e_utf8_to_iconv_string.

svn path=/trunk/; revision=12554
2001-09-01 08:16:49 +00:00
06eb6e23fb Rename these functions from ecn_get_text and ecn_free_text.
2001-09-01  Christopher James Lahey  <clahey@ximian.com>

	* e-cell-float.c (ecf_get_text, ecf_free_text): Rename these
	functions from ecn_get_text and ecn_free_text.

	* e-cell-tree.c (ect_height): Make sure the height is a multiple
	of two here.

	* e-table-header-item.c, e-table-header-item.h: Added a "tree"
	argument so that the sorting can be set by right clicking on the
	header item.

	* e-table-item.c (eti_table_model_rows_deleted): Added some
	assertions here.

	* e-tree-selection-model.c (etsm_find_node_unless_equals): Fixed
	indentation.

	* e-tree-table-adapter.c (etta_proxy_node_changed): Rewrote this
	to be more readable.
	(e_tree_table_adapter_node_set_expanded): Added an assertion.

	* e-tree.c, e-tree.h (e_tree_get_spec): Added this function.
	(e_tree_setup_header): Set the tree argument on the
	ETableHeaderItem here.

svn path=/trunk/; revision=12553
2001-09-01 08:03:44 +00:00
1273682db1 Fix this memmove. We've already subtracted the count from eti->rows.
2001-08-31  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_table_model_rows_deleted): Fix this memmove.
	We've already subtracted the count from eti->rows.

svn path=/trunk/; revision=12550
2001-09-01 01:44:58 +00:00
24a4d864f0 New prototype here.
2001-08-27  Ettore Perazzoli  <ettore@ximian.com>

	* e-timezone-dialog/e-timezone-dialog.h
	(e_timezone_dialog_reparent): New prototype here.

svn path=/trunk/; revision=12511
2001-08-29 03:49:21 +00:00
87b3e9277f Patch to fix few 64bit issues
Tue Aug 28 18:29:28 2001  George Lebl <jirka@5z.com>

	Patch to fix few 64bit issues

	* gal/e-table/e-table-header-item.c (ethi_draw) (ethi_start_drag)
	  gal/widgets/e-categories.c (e_categories_value_at)
	  (e_categories_value_to_string):
	  Use GINT_TO_POINTER and GPOINTER_TO_INT to cast between pointers
	  and ints to fix 64bit issues connected with that.

	* gal/e-table/e-table-sorting-utils.c
	  (e_table_sorting_utils_tree_check_position)
	  gal/util/e-sorter-array.c (e_sorter_array_append):
	  Use size_t for size not ints to fix crashes

	* gal/e-text/e-completion-match.c, gal/e-text/e-completion.c:
	  Include <string.h>

svn path=/trunk/; revision=12507
2001-08-29 01:30:26 +00:00
c28f63f861 New prototype here.
* e-timezone-dialog/e-timezone-dialog.h
(e_timezone_dialog_reparent): New prototype here.

svn path=/trunk/; revision=12496
2001-08-28 00:23:47 +00:00
7c5fe3b52c Add prototype
svn path=/trunk/; revision=12489
2001-08-27 20:48:23 +00:00
c4b24c895e Fixed this memmove to subtract the count as well as the row for the number
2001-08-27  Christopher James Lahey  <clahey@ximian.com>

	* e-table-item.c (eti_table_model_rows_deleted): Fixed this
	memmove to subtract the count as well as the row for the number of
	rows to move.

svn path=/trunk/; revision=12482
2001-08-27 15:32:14 +00:00
d30a9fe66f Convert UTF-8 strings to locale's encoding before putting them in canvas
* e-table-group-container.c (compute_text):
Convert UTF-8 strings to locale's encoding before putting them in
canvas item.

svn path=/trunk/; revision=12472
2001-08-25 14:21:41 +00:00
59da647724 Fixed typo.
* e-table.c (e_table_init): Fixed typo.

svn path=/trunk/; revision=12467
2001-08-24 23:32:36 +00:00
f7120120cd Added start_drag signals.
2001-08-24  Christopher James Lahey  <clahey@ximian.com>

	* e-table-group-container.c, e-table-group-leaf.c,
	e-table-group-leaf.h, e-table-group.c, e-table-group.h: Added
	start_drag signals.

	* e-table-item.c, e-table-item.h (eti_event): Send the start_drag
	signal.  Fixes Ximian bug #807.

	* e-table.c, e-table.h, e-tree.c, e-tree.h: Added start_drag
	signal.  Made default handler start drag & drop if we're set to
	automatically handle dnd.  Ripped out the code to handle watching
	events for dnd since start_drag does this now.

svn path=/trunk/; revision=12437
2001-08-24 16:33:30 +00:00
54bea2eaa8 This patch fixes a lot of i18n problems in Evolution.
* gal/widgets/e-unicode.c (e_utf8_to_gtk_string_sized):
Call gtk_widget_ensure_style before refering to widget's style.

svn path=/trunk/; revision=12381
2001-08-22 15:10:32 +00:00
e4ec4a3420 cut and paste fixed version of gnome_canvas_button here.
2001-08-21  Chris Toshok  <toshok@ximian.com>

	* gal/widgets/e-canvas.c (e_canvas_button): cut and paste fixed
	version of gnome_canvas_button here.
	(pick_current_item): needed by e_canvas_button, also from
	gnome-canvas.c.
	(gnome_canvas_item_invoke_point): same.
	(e_canvas_class_init): hook button_press_event and
	button_release_event to e_canvas_button.

svn path=/trunk/; revision=12376
2001-08-22 01:20:55 +00:00
a0bfb48ea7 We need to free_gotten_key_func key2, not key! (e_table_without_show):
2001-08-20  Jon Trowbridge  <trow@ximian.com>

	* e-table-without.c (check_with_key): We need to
	free_gotten_key_func key2, not key!
	(e_table_without_show): Renamed, used to be
	e_table_without_remove.  Double-negative function names
	are confusing!
	(e_table_without_hide_adopt): Renamed, used to be
	e_table_without_add_adopt.
	(e_table_without_hide): Renamed, used to be e_table_without_add.

2001-08-20  Jon Trowbridge  <trow@ximian.com>

	* configure.in: Increment version number to 0.10.99.5 for changes
	to ETableWithout api.

svn path=/trunk/; revision=12332
2001-08-21 00:52:33 +00:00
beba0c1009 Added these functions.
2001-08-20  Christopher James Lahey  <clahey@ximian.com>

	* e-table-subset.c, e-table-subset.h
	(e_table_subset_model_to_view_row,
	e_table_subset_view_to_model_row): Added these functions.

svn path=/trunk/; revision=12317
2001-08-20 18:22:46 +00:00
4dd3f5e734 Made this object handle NULLs for all the handler functions.
2001-08-20  Christopher James Lahey  <clahey@ximian.com>

	* e-table-without.c: Made this object handle NULLs for all the
	handler functions.

svn path=/trunk/; revision=12316
2001-08-20 17:13:36 +00:00
ac852ece23 Changed the used parity of the return value of check here.
2001-08-20  Christopher James Lahey  <clahey@ximian.com>

	* e-table-without.c (etw_proxy_model_rows_inserted,
	etw_proxy_model_changed): Changed the used parity of the return
	value of check here.

svn path=/trunk/; revision=12313
2001-08-20 16:31:39 +00:00
37c1db52c9 Shut up!
svn path=/trunk/; revision=12207
2001-08-18 20:42:28 +00:00
7b3fe06340 Chain to the destroy handler in the parent class. Hey, I'm getting used to
2001-08-18  Federico Mena Quintero  <federico@ximian.com>

	* e-table-without.c (etw_destroy): Chain to the destroy handler in
	the parent class.  Hey, I'm getting used to this :)

svn path=/trunk/; revision=12199
2001-08-18 08:03:24 +00:00
d5ea07e5be Compile fixes
svn path=/trunk/; revision=12172
2001-08-17 19:44:17 +00:00
060e4cf5da Add libical include path
svn path=/trunk/; revision=12168
2001-08-17 18:55:20 +00:00
31bb4b3f7b Destroy the hash table and all objects in it, as well as the priv
2001-08-17  Christopher James Lahey  <clahey@ximian.com>

	* e-table-without.c (etw_destroy): Destroy the hash table and all
	objects in it, as well as the priv structure.

svn path=/trunk/; revision=12147
2001-08-17 07:23:43 +00:00
4e60b7d947 Startup assistant stuff
svn path=/trunk/; revision=12145
2001-08-17 04:29:11 +00:00
dad6d45018 Bumped version number to 0.10.99.4. Fixed some comments.
2001-08-16  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.10.99.4.  Fixed some
	comments.

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

From gal/e-table/ChangeLog:

2001-08-16  Christopher James Lahey  <clahey@ximian.com>

	* Makefile.am: Added e-table-without.c and e-table-without.h.

	* e-table-without.c, e-table-without.h: Got this to compile.
	Finished the first version of it.

svn path=/trunk/; revision=12144
2001-08-17 03:38:16 +00:00