Commit Graph

13050 Commits

Author SHA1 Message Date
b70d7b0292 Made the header item here handle horizontal scrolling when adding a
2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* e-table-header-item.c, e-table-header-item.h (scroll_timeout):
	Made the header item here handle horizontal scrolling when adding
	a column.

svn path=/trunk/; revision=15278
2002-01-09 23:31:06 +00:00
9603762038 fixed changelog
svn path=/trunk/; revision=15277
2002-01-09 21:50:59 +00:00
623a8d83ce If the mbox file is a symlink, follow the symlink and get the One True
2002-01-09  Jeffrey Stedfast  <fejj@ximian.com>

	* providers/local/camel-mbox-folder.c (camel_mbox_folder_new): If
	the mbox file is a symlink, follow the symlink and get the One
	True Path so that we can rewrite the mbox later without worrying
	about clobbering the symlink.

2002-01-08  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-filter-search.c (TODO): There are a few sexp callbacks
	that could be modified to use fms->info rather than using a
	message object (like date and possibly mlist stuff) but *only* if
	the date exists on the CamelMessageInfo object (since it may be
	blank except for message flags).
	(camel_filter_search_get_message): New internal convenience
	function to make sure that the FilterMessageSearch has loaded the
	message (and to load the message if this isn't the case).
	(check_header): Call camel_filter_search_get_message().
	(header_exists): Same.
	(header_regex): Here too.
	(header_full_regex): And here.
	(body_contains): Again here.
	(body_regex): Here too.
	(get_sent_date): Here also.
	(get_received_date): Same.
	(get_source): Here if we need to.
	(camel_filter_search_match): Now takes a callback function/data
	pair for on-demand message loading so that we don't necessarily
	have to load the message if the defined filter rules don't require
	it.

	* camel-filter-driver.c (camel_filter_driver_filter_folder): Don't
	bother fetching the message here, let
	camel_filter_driver_filter_message() worry about this.
	(get_message_cb): New utility callback to fetch a message.
	(camel_filter_driver_filter_message): Only fetch the message if we
	absolutely need it to get a CamelMessageInfo. Instead of passing a
	message object to camel_filter_search_match(), pass get_message_cb
	and some user_data so that the matching code can fetch the message
	on demand.

svn path=/trunk/; revision=15276
2002-01-09 21:34:07 +00:00
ec0820a46f Add a test for getting arbitrary fields.
2002-01-03  Joe Shaw  <joe@ximian.com>

	* backend/ebook/test-card.c: Add a test for getting arbitrary
        fields.

	* backend/pas/pas-backend-card-sexp.c (compare_arbitrary): Added.
	(prop_info_table): Add a LIST_PROP for arbitrary fields.

2002-01-03  Nat Friedman  <nat@ximian.com>

	* backend/ebook/e-book.c (activate_factories_for_uri): Free the
	query if the oaf response is of zero length.

svn path=/trunk/; revision=15275
2002-01-09 20:33:50 +00:00
effefd2815 Bumped version number to 0.19.99.0. Bumped GAL_CURRENT. Reset
2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* configure.in: Bumped version number to 0.19.99.0.  Bumped
	GAL_CURRENT.  Reset GAL_REVISION.

From gal/e-table/ChangeLog:

2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* e-table.c, e-table.h (scroll_timeout), e-tree.c
	(scroll_timeout): Made these handle horizontal scrolling during
	drags.

svn path=/trunk/; revision=15272
2002-01-09 06:49:52 +00:00
e5d02e7ed1 Collapse nodes that were opened during a drag, unless the drop site is a
2002-01-09  Christopher James Lahey  <clahey@ximian.com>

	* e-tree.c (collapse_drag): Collapse nodes that were opened during
	a drag, unless the drop site is a child node.  Fixes Ximian bug
	#4965.

svn path=/trunk/; revision=15271
2002-01-09 05:40:32 +00:00
1db95d8f78 Sorted and added LOTS of missing files. Updated Swedish translation.
2002-01-09  Christian Rose  <menthos@menthos.com>

	* POTFILES.in: Sorted and added LOTS of missing files.
	* sv.po: Updated Swedish translation.

svn path=/trunk/; revision=15269
2002-01-09 04:05:08 +00:00
1b28e0bb92 Do proper refcounting on the draft folder.
2002-01-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (composer_save_draft_cb): Do proper refcounting
	on the draft folder.

svn path=/trunk/; revision=15268
2002-01-09 02:16:50 +00:00
956b6f95d0 When performing a wraparound, check to see if the first (or last depending
2002-01-08  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c (message_list_select): When performing a
	wraparound, check to see if the first (or last depending on
	direction) message fits the selection criteria before telling
	etable to find the next/previous matching node.

	* mail-account-gui.c (mail_account_gui_new): When connecting to
	the transport username changed event, pass the gui->transport not
	the gui->source.

svn path=/trunk/; revision=15267
2002-01-08 22:47:21 +00:00
9d39da64dc When connecting to the transport username changed event, pass the
2002-01-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-gui.c (mail_account_gui_new): When connecting to
	the transport username changed event, pass the gui->transport not
	the gui->source.

svn path=/trunk/; revision=15266
2002-01-08 20:32:54 +00:00
a4db79a6d6 Make the mbox importer check for Mozilla status headers and act on them.
svn path=/trunk/; revision=15265
2002-01-08 16:42:55 +00:00
d39b2d01d9 Polish.
svn path=/trunk/; revision=15264
2002-01-08 01:59:35 +00:00
1cca6b2433 Renamed. (mail_config_get_new_mail_notify_sound_file): Renamed.
2002-01-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_set_new_mail_notify_sound_file): Renamed.
	(mail_config_get_new_mail_notify_sound_file): Renamed.

	* mail-accounts.c (notify_radio_toggled): Replace EXEC with
	PLAY_SOUND.
	(construct): renamed the exec_command stuff to play_sound.

	* main.c (main): Init and shutdown gnome_sound.

	* mail-ops.c (fetch_mail_fetch): Don't do any new-mail
	notification here.
	(filter_folder_filter): call camel_filter_driver_flush.

	* mail-session.c (main_get_filter_driver): Set the filter-driver
	exec_func here instead.

	* mail-ops.c (mail_fetch_mail): Don't set the filter-driver
	exec_func here.

svn path=/trunk/; revision=15263
2002-01-08 00:48:54 +00:00
e96bfc58ca Flush the only-once actions.
2002-01-07  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-folder.c (filter_filter): Flush the only-once actions.

	* camel-filter-driver.c (camel_filter_driver_filter_message):
	Don't increment a filtered_count here any longer.
	(camel_filter_driver_reset_filtered_count): Removed.
	(camel_filter_driver_get_filtered_count): Removed.
	(do_beep): New action.
	(play_sound): New action to play a sound
	(do_only_once): Another new action.
	(camel_filter_driver_finalise): Free the only_once hash if the
	driver has not been "flushed".
	(camel_filter_driver_flush): Flush all of the only-once actions.

svn path=/trunk/; revision=15262
2002-01-08 00:45:58 +00:00
91aa52c369 Touched this file but don't think I changed it.
2002-01-07  Aaron Weber  <aaron@ximian.com>

	* C/evolution.sgml: Touched this file but don't think I changed
	it.

	* C/usage-calendar.sgml: mention the full-advantage section and
	the exchange features. Expand mention of "autopick" and general
	polish on the appointment-scheduling and peer-to-peer groupware
	functions. Also clarify palm-sync location information. All
	features danw mentioned as critical are now docuemnted.

svn path=/trunk/; revision=15261
2002-01-08 00:03:28 +00:00
a610bfdf21 mention the full-advantage section and the exchange features. Expand
2002-01-07  Aaron Weber  <aaron@ximian.com>

	* C/usage-calendar.sgml: mention the full-advantage section and
	the exchange features. Expand mention of "autopick" and general
	polish on the appointment-scheduling and peer-to-peer groupware
	functions.

	* C/usage-exchange.sgml: Fix and expand as per Danw's notes about
	Features that need to be documented.

svn path=/trunk/; revision=15260
2002-01-07 23:33:44 +00:00
12ca523ba4 Fix. Expand.
2002-01-07  Aaron Weber  <aaron@ximian.com>

	* C/usage-exchange.sgml: Fix. Expand.

svn path=/trunk/; revision=15257
2002-01-07 22:23:47 +00:00
cde6ace63b Moved windows-1251 to the end of the list since it contains the euro and
2002-01-07  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-charset-map.c: Moved windows-1251 to the end of the list
	since it contains the euro and we'd prefer to use iso-8859-15 when
	the euro is requested than a windows charset if possible.

	* camel-charset-map-private.h: Regenerated.

svn path=/trunk/; revision=15256
2002-01-07 20:29:37 +00:00
08fe7bd670 Set the X-Evolution-Format header to text/plain if that is the editing
2002-01-07  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (e_msg_composer_get_message_draft): Set the
	X-Evolution-Format header to text/plain if that is the editing
	mode we are really in. This fixes bug #11499.

svn path=/trunk/; revision=15255
2002-01-07 19:56:23 +00:00
9dfd6e5d0c Move Mexico
svn path=/trunk/; revision=15254
2002-01-07 16:08:18 +00:00
7bb4f29c1d Updated Swedish translation.
2002-01-05  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.

svn path=/trunk/; revision=15253
2002-01-05 14:19:23 +00:00
9a8761781a Revised list of supported/unsupported features. Changed installation
2002-01-04  Aaron Weber  <aaron@ximian.com>

	* C/usage-exchange.sgml: Revised list of supported/unsupported
	features. Changed installation instructions.

svn path=/trunk/; revision=15252
2002-01-05 00:35:23 +00:00
5c22c711e3 Added a tip about reply-to specification stuff
2002-01-04  Kevin Breit  <mrproper@ximian.com>

	* C/usage-mail.sgml: Added a tip about reply-to specification stuff

	* C/usage-calendar.sgml: Fixed brokenness

svn path=/trunk/; revision=15251
2002-01-05 00:14:15 +00:00
5269a7d1e2 Prune free'd nodes from our free list otherwise we'll end up re-using
2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-memory.c (e_memchunk_clean): Prune free'd nodes from our free
	list otherwise we'll end up re-using free'd memory blocks and
	that's not a Good Thing (tm).

svn path=/trunk/; revision=15250
2002-01-05 00:03:05 +00:00
5dc56039e8 A few minor fixes to make it more compliant with rfc2368. Should now be
2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer.c (e_msg_composer_new_from_url): A few minor
	fixes to make it more compliant with rfc2368. Should now be fully
	rfc compliant as far as I can tell.

svn path=/trunk/; revision=15249
2002-01-04 23:12:02 +00:00
ffa73cbd5c Don't try setting a content-type parameter if either the name or value is
2001-12-12  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-folder-summary.c (content_info_load): Don't try setting a
	content-type parameter if either the name or value is NULL.

	* camel-mime-utils.c (header_set_param): NULL-protection.

svn path=/trunk/; revision=15248
2002-01-04 22:20:29 +00:00
f4feb97104 changed the location of the Hebrew charset in the menu
svn path=/trunk/; revision=15247
2002-01-04 20:27:09 +00:00
7cc5493195 Added iso-8859-8 (Hebrew; Visual) to the list of charsets in the menu.
2002-01-04  Jeffrey Stedfast  <fejj@ximian.com>

	* e-charset-picker.c: Added iso-8859-8 (Hebrew; Visual) to the
	list of charsets in the menu. Fixes bug #15655.

svn path=/trunk/; revision=15246
2002-01-04 19:35:24 +00:00
de10b0cbea Added Basque file
svn path=/trunk/; revision=15245
2002-01-04 14:28:47 +00:00
5a13ffe576 Updated French translation.
svn path=/trunk/; revision=15243
2002-01-04 08:11:17 +00:00
b5ca749f36 Add an Organization header.
2002-01-03  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (composer_get_message): Add an Organization
	header.

svn path=/trunk/; revision=15242
2002-01-03 23:54:28 +00:00
de51c2f598 Get the account name because that is the string we'd like to use for
2002-01-03  Jeffrey Stedfast  <fejj@ximian.com>

	* filter-source.c (filter_source_get_sources): Get the account
	name because that is the string we'd like to use for display.
	(get_widget): Generate the account label the same as we do for the
	composer's From optionmenu.
	(filter_source_finalize): Free the account_name.
	(clone): Pass along the account_name member to filter_add_source

svn path=/trunk/; revision=15241
2002-01-03 22:03:13 +00:00
9159b2df56 add a mark as complete item
2002-01-03  JP Rosevear  <jpr@ximian.com>

	* evolution-tasks.xml: add a mark as complete item

svn path=/trunk/; revision=15240
2002-01-03 19:44:07 +00:00
51adfb0876 new verb callback (sensitize_commands): set sensitivity of mark complete
2002-01-03  JP Rosevear  <jpr@ximian.com>

	* gui/tasks-control.c (tasks_control_complete_cmd): new verb
	callback
	(sensitize_commands): set sensitivity of mark complete command

	* gui/e-tasks.h: new proto

	* gui/e-tasks.c (e_tasks_complete_selected): mark selected tasks
	in the table as complete

	* gui/e-calendar-table.h: new proto

	* gui/e-calendar-table.c (e_calendar_table_complete_selected):
	mark selected rows as complete

svn path=/trunk/; revision=15239
2002-01-03 19:43:32 +00:00
239be43f77 Only connect to the parent's destroy/hide signals while the attachment
2002-01-03  Jeffrey Stedfast  <fejj@ximian.com>

	* e-msg-composer-attachment.c (e_msg_composer_attachment_edit):
	Only connect to the parent's destroy/hide signals while the
	attachment editor dialog is "alive".

svn path=/trunk/; revision=15238
2002-01-03 19:11:09 +00:00
c89dd9d475 make spacing consistent with calendar xml file, add expunge command and
2002-01-03  JP Rosevear  <jpr@ximian.com>

	* evolution-tasks.xml: make spacing consistent with calendar xml
	file, add expunge command and actions menu and add accelerator for
	delete

	* evolution-calendar.xml: add an accelerator for delete and put in
	a separator to be consistent with the mailer

svn path=/trunk/; revision=15237
2002-01-03 19:07:50 +00:00
6d4da19b13 only need one warning message now
002-01-03  JP Rosevear  <jpr@ximian.com>

	* gui/tasks-control.c (confirm_expunge): only need one warning
	message now

	* gui/e-tasks.c (create_sexp): change the logic to expunge all
	completed tasks not just hidden ones

svn path=/trunk/; revision=15236
2002-01-03 19:03:00 +00:00
0fe2d52016 confirm expunging of the tasks (tasks_control_expunge_cmd): verb callback
2002-01-03  JP Rosevear  <jpr@ximian.com>

	* gui/tasks-control.c (confirm_expunge): confirm expunging of the
	tasks
	(tasks_control_expunge_cmd): verb callback

	* gui/calendar-config.c (config_read): read confirm expunge value
	(calendar_config_write): write confirm expunge value
	(calendar_config_write_on_exit): ditto
	(calendar_config_get_confirm_expunge): get value
	(calendar_config_set_confirm_expunge): set value

	* gui/calendar-config.h: new proto

	* gui/e-itip-control.c (start_calendar_server): kill warning

	* gui/e-tasks.c (e_tasks_init): init query member to NULL
	(set_status_message): util function to set status message
	(e_tasks_open): use above
	(cal_opened_cb): ditto
	(create_sexp): create sexp of items to be deleted
	(query_obj_updated_cb): remove any items found
	(query_eval_error_cb): bail out on error
	(query_query_done_cb): tidy when done
	(e_tasks_delete_completed): set up query

	* gui/e-tasks.h: new proto

	* gui/calendar-model.c (query_query_done_cb): use g_warning
	instead of printing to stderr
	(query_eval_error_cb): ditto
	(update_query): clear the status message if we can't create the
	query

	* gui/tag-calendar.c (resolve_tzid_cb): make this static

svn path=/trunk/; revision=15233
2002-01-03 15:01:46 +00:00
c3cc401ac8 Make the date comparisons read the same as the ones in filtertypes.xml
2002-01-02  Jeffrey Stedfast  <fejj@ximian.com>

	* vfoldertypes.xml: Make the date comparisons read the same as the
	ones in filtertypes.xml

svn path=/trunk/; revision=15232
2002-01-03 00:29:31 +00:00
2ad2e53049 Simplified. Also no longer needs an "ignore_addr" argument as far as I can
2002-01-02  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (list_add_addresses): Simplified. Also no
	longer needs an "ignore_addr" argument as far as I can tell so
	that has been removed.
	(mail_generate_reply): Don't pass an ignore_addr argument to
	list_add_addresses and also change to use g_strcase_hash and
	g_strcase_equal since addresses are not case snesitive
	(mostly). Also, Reply-To can contain multiple addresses, so handle
	this case too.

svn path=/trunk/; revision=15231
2002-01-03 00:03:05 +00:00
7c985506fa applied a update patch
svn path=/trunk/; revision=15230
2002-01-02 23:04:06 +00:00
482507aff7 so my guess is that mutt probably doesn't compile since we don't compile using the functions that mutt uses.
this is why I love libnss.

svn path=/trunk/; revision=15229
2002-01-02 21:32:31 +00:00
b0a8f5c028 Reverted.
2002-01-02  Jeffrey Stedfast  <fejj@ximian.com>

	* md5-utils.h: Reverted.

svn path=/trunk/; revision=15228
2002-01-02 20:48:39 +00:00
ae2d0ca936 Move the struct into md5-utils.c - this is a kludgey hack around the fact
2002-01-02  Jeffrey Stedfast  <fejj@ximian.com>

	* md5-utils.h: Move the struct into md5-utils.c - this is a
	kludgey hack around the fact that NSS also defines
	MD5Context. Besides, this should be a private struct anyway.

svn path=/trunk/; revision=15227
2002-01-02 20:45:42 +00:00
57a95b0977 Do more like what mutt does so hopefully this'll fix bug #16363 and
2002-01-02  Jeffrey Stedfast  <fejj@ximian.com>

	* camel-tcp-stream-ssl.c (ssl_bad_cert): Do more like what mutt
	does so hopefully this'll fix bug #16363 and #16300.

svn path=/trunk/; revision=15226
2002-01-02 19:16:45 +00:00
178c7af85f remove e_gnome_dialog util functions and use e-util ones instead
2002-01-02  JP Rosevear  <jpr@ximian.com>

	* mail-callbacks.c: remove e_gnome_dialog util functions and use
	e-util ones instead

2002-01-02  JP Rosevear  <jpr@ximian.com>

	* e-dialog-utils.c (e_gnome_dialog_set_parent): util function
	moved from mail-callbacks, also destroys the dialog if the parent
	is destroyed
	(e_gnome_warning_dialog_parented): similarly
	(e_gnome_ok_cancel_dialog_parented): ditto

	* e-dialog-utils.h: new protos

svn path=/trunk/; revision=15225
2002-01-02 19:11:03 +00:00
5df4d0a321 The idea here is that if we consistantly name the movemail file between
2001-12-21  Jeffrey Stedfast  <fejj@ximian.com>

	The idea here is that if we consistantly name the movemail file
	between Send&Receive sessions that if the user cancells the
	"download" of a mbox spool that the next Send&Receive will not
	"lose" mail that didn't finish the previous session. Fixes bug
	#17759. Well, mostly. If you have 200 messages and cancel after
	the first 100, say, then the next time you hit Send&Receive, it
	will start over from 1 so you'll end up duplicating the first 100
	messages, but at least you won't "lose" mail.

	* mail-tools.c (mail_tool_get_local_movemail_path): Now a static
	internal function, takes a char *uri argument and no longer
	generates movemail.%d filenames... they are now based on the uri
	provided.
	(mail_tool_do_movemail): Pass along the source_uri.

svn path=/trunk/; revision=15224
2002-01-02 18:04:46 +00:00
ff51fffc0b Updated Swedish translation.
2001-12-28  Christian Rose  <menthos@menthos.com>

	* sv.po: Updated Swedish translation.

svn path=/trunk/; revision=15222
2001-12-28 18:51:32 +00:00
2786536d7f When we clean, don't clean the model's last element. This helps keep
2001-12-27  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names.c
	(real_add_address_cb): When we clean, don't clean the model's last
	element.  This helps keep things working properly when we have
	signal-character separators.
	(section_right_click_cb): Changed to work properly with our
	EText-emitted popup signal.
	(e_select_names_add_section): Use ETexts for the recipient
	sections, rather than tables.  This lets us make them directly
	editable. (Bug #1721)

	* gui/component/select-names/e-select-names-popup.c
	(popup_info_new): Pass in a ESelectNamesTextModel, not a
	ESelectNamesModel.
	(e_select_names_popup): Adjust for the new signature for
	e_select_names_model_text_pos.

	* gui/component/select-names/e-select-names-manager.c
	(focus_out_cb): Schedule a cleaning when we focus out.
	(focus_in_cb): Cancel pending cleaning when we get focus.  This
	helps us avoid bad things happening during the fast focus out/ins
	that happen when the completion dropdown appears.
	(completion_handler): Adjust for new signatures of
	e_select_names_model_text_pos and e_select_names_model_name_pos.
	(e_select_names_manager_entry_new): Pass in our
	ESelectNamesTextModel when constructing the
	ESelectNamesCompletion.
	(e_select_names_manager_entry_free): Cancel any pending clean-ups.

	* gui/component/select-names/e-select-names-bonobo.c
	(entry_get_property_fn): Get the text off of the text model.
	Which is the only way that really makes sense when you think about
	it.

	* gui/component/select-names/e-select-names-completion.c: Added a
	copy of the associated ESelectNamesTextModel to
	ESelectNamesCompletionPrivate.  This replaces the
	ESelectNamesModel.
	(e_select_names_completion_destroy): Unref ->text_model.
	(e_select_names_completion_handle_request): Pass in our text
	model's separator info when calling e_select_names_model_text_pos.
	(e_select_names_completion_new): Pass in the text model as an arg
	instead of the model, and ref it as needed.

	* gui/component/select-names/e-select-names-text-model.c
	(e_select_names_text_model_init): Set separator as either ", " or
	",", depending on the value of the EVOLUTION_DISABLE_MAGIC_COMMA
	environment variable.
	(e_select_names_text_model_destroy): Free the separator.
	(changed_cb): Flush our cached text on changed.
	(e_select_names_text_model_set_source): Use our own changed_cb
	callback on changed, rather than just connecting up
	e_text_model_changed.
	(e_select_names_text_model_set_separator): Added.  Lets the
	separator between recipients be specified.
	(e_select_names_text_model_get_text): Cache the text we get from
	calling e_select_names_model_get_textification.
	(e_select_names_text_model_insert_length): A bunch of small
	changes to properly support generic separators, rather than
	(implicit and explicitly) assuming ", ".
	(e_select_names_text_model_delete): More small tweaks to handle
	generic separators.
	(e_select_names_text_model_get_nth_obj): Use new signature when
	calling e_select_names_model_name_pos, and use our cached text.

	* gui/component/select-names/e-select-names-model.c
	(e_select_names_model_destroy): We don't cache the text or
	addr_text anymore, so no need to free them here.
	(e_select_names_model_changed): ...and no need to reset our text
	and addr_text caches here.
	(e_select_names_model_get_textification): Take a separator as an
	arg, rather than just using ", ".  Also, no caching.
	(e_select_names_model_get_address_text): Take a separator as an
	arg, rather than just using ", ".  And no caching here either.
	(e_select_names_model_clean): Add arg that give us control over
	whether or not the last entry should get cleaned.  We need this
	when using a one-character separator, so that new destinations
	that get tacked onto the end don't get immediately cleaned away
	for being empty.
	(e_select_names_model_name_pos): Take the separator length as an
	argument, remove implicit assumption of length 2.
	(e_select_names_model_text_pos): Take the separator length as an
	argument, remove implicit assumption of length 2.CVS: ----------------------------------------------------------------------

svn path=/trunk/; revision=15221
2001-12-28 03:08:27 +00:00
b054d4b4e6 When we clean, don't clean the model's last element. This helps keep
2001-12-27  Jon Trowbridge  <trow@ximian.com>

	* gui/component/select-names/e-select-names.c
	(real_add_address_cb): When we clean, don't clean the model's last
	element.  This helps keep things working properly when we have
	signal-character separators.
	(section_right_click_cb): Changed to work properly with our
	EText-emitted popup signal.
	(e_select_names_add_section): Use ETexts for the recipient
	sections, rather than tables.  This lets us make them directly
	editable. (Bug #1721)

	* gui/component/select-names/e-select-names-popup.c
	(popup_info_new): Pass in a ESelectNamesTextModel, not a
	ESelectNamesModel.
	(e_select_names_popup): Adjust for the new signature for
	e_select_names_model_text_pos.

	* gui/component/select-names/e-select-names-manager.c
	(focus_out_cb): Schedule a cleaning when we focus out.
	(focus_in_cb): Cancel pending cleaning when we get focus.  This
	helps us avoid bad things happening during the fast focus out/ins
	that happen when the completion dropdown appears.
	(completion_handler): Adjust for new signatures of
	e_select_names_model_text_pos and e_select_names_model_name_pos.
	(e_select_names_manager_entry_new): Pass in our
	ESelectNamesTextModel when constructing the
	ESelectNamesCompletion.
	(e_select_names_manager_entry_free): Cancel any pending clean-ups.

	* gui/component/select-names/e-select-names-bonobo.c
	(entry_get_property_fn): Get the text off of the text model.
	Which is the only way that really makes sense when you think about
	it.

	* gui/component/select-names/e-select-names-completion.c: Added a
	copy of the associated ESelectNamesTextModel to
	ESelectNamesCompletionPrivate.  This replaces the
	ESelectNamesModel.
	(e_select_names_completion_destroy): Unref ->text_model.
	(e_select_names_completion_handle_request): Pass in our text
	model's separator info when calling e_select_names_model_text_pos.
	(e_select_names_completion_new): Pass in the text model as an arg
	instead of the model, and ref it as needed.

	* gui/component/select-names/e-select-names-text-model.c
	(e_select_names_text_model_init): Set separator as either ", " or
	",", depending on the value of the EVOLUTION_DISABLE_MAGIC_COMMA
	environment variable.
	(e_select_names_text_model_destroy): Free the separator.
	(changed_cb): Flush our cached text on changed.
	(e_select_names_text_model_set_source): Use our own changed_cb
	callback on changed, rather than just connecting up
	e_text_model_changed.
	(e_select_names_text_model_set_separator): Added.  Lets the
	separator between recipients be specified.
	(e_select_names_text_model_get_text): Cache the text we get from
	calling e_select_names_model_get_textification.
	(e_select_names_text_model_insert_length): A bunch of small
	changes to properly support generic separators, rather than
	(implicit and explicitly) assuming ", ".
	(e_select_names_text_model_delete): More small tweaks to handle
	generic separators.
	(e_select_names_text_model_get_nth_obj): Use new signature when
	calling e_select_names_model_name_pos, and use our cached text.

	* gui/component/select-names/e-select-names-model.c
	(e_select_names_model_destroy): We don't cache the text or
	addr_text anymore, so no need to free them here.
	(e_select_names_model_changed): ...and no need to reset our text
	and addr_text caches here.
	(e_select_names_model_get_textification): Take a separator as an
	arg, rather than just using ", ".  Also, no caching.
	(e_select_names_model_get_address_text): Take a separator as an
	arg, rather than just using ", ".  And no caching here either.
	(e_select_names_model_clean): Add arg that give us control over
	whether or not the last entry should get cleaned.  We need this
	when using a one-character separator, so that new destinations
	that get tacked onto the end don't get immediately cleaned away
	for being empty.
	(e_select_names_model_name_pos): Take the separator length as an
	argument, remove implicit assumption of length 2.
	(e_select_names_model_text_pos): Take the separator length as an
	argument, remove implicit assumption of length 2.

svn path=/trunk/; revision=15220
2001-12-28 03:07:49 +00:00