Commit Graph

1138 Commits

Author SHA1 Message Date
ac97d963b0 No longer need to do a vtrash_cleanup() (it also doesn't exist anymore).
2001-02-23  Jeffrey Stedfast  <fejj@ximian.com>

	* main.c (main): No longer need to do a vtrash_cleanup() (it also
	doesn't exist anymore).

	* component-factory.c (mail_load_storages): Updated to use the new
	vtrash code.
	(owner_set_cb): Same.

	* mail-tools.c (mail_tool_uri_to_folder): Update to handle the
	"vtrash:" url prefix so that we can extract the REAL uri and know
	to get the trash folder.

	* mail-vtrash.c (mail_vtrash_add): Add the vTrash folder to the
	EvolutionStorage.
	(mail_vtrash_create): Get the store based on the uri (async) and
	then call mail_trash_add.
	(vtrash_cleanup): Removed.
	(vtrash_uri_to_folder): Removed.
	(vtrash_create): Replaced by mail_vtrash_create()

svn path=/trunk/; revision=8367
2001-02-23 16:51:45 +00:00
7658347dd9 New stuff for the importer to create a new folder
svn path=/trunk/; revision=8365
2001-02-23 07:13:17 +00:00
d18b6e79f1 Come up with a unique store uri for each vtrash (using %p and the
2001-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-vtrash.c (create_trash_vfolder): Come up with a unique
	store uri for each vtrash (using %p and the CamelStore we're gonna
	place it on).
	(get_trash_get): Pass in the store so we can use it for %p.

svn path=/trunk/; revision=8363
2001-02-23 02:40:09 +00:00
5c9c2f33b9 vfolder/filter on mailing list. Doesn't acutally work right yet.
* mail-vfolder.c (vfolder_gui_add_from_mlist): Rule to add mlist
	vfolder.

	* mail-autofilter.c (filter_gui_add_for_mailing_list): Removed.
	(rule_from_mlist): Build a generic match rule from an mlist.
	(vfolder_rule_from_mlist): Setup the vfolder rule for an mlist.
	(filter_rule_from_mlist): Setup a filter rule fro an mlist.
	(filter_gui_add_from_mlist): GUI thingy to do the work.

	* folder-browser.c (on_right_click): Added vfolder on mailing list
	to filter menu.
	(on_right_click): Use header_raw_check_mailign_list instead of
	mlist magic to get the mailing list name.
	(filter_mlist): Changed to use new add_from_mlist() call.
	(vfolder_mlist): New function for vfolder from mlist.

svn path=/trunk/; revision=8358
2001-02-23 00:31:23 +00:00
0af3e54520 Only allow downloading if the source is enabled at this time.
2001-02-23  Not Zed  <NotZed@Ximian.com>

	* mail-send-recv.c (build_dialogue): Only allow downloading if the
	source is enabled at this time.
	(mail_autoreceive_setup): Check for enabled sources before setting
	up autodownload.

	* mail-vtrash.c
	(get_trash_free): Free store if we have it.
	(get_trash_got): Move vtrash add into here, so we execute in the
	right thread.

svn path=/trunk/; revision=8354
2001-02-22 23:25:40 +00:00
7cf1665ab8 Construct the PGP Path GnomeFileEntry widget. (pgp_path_changed): Try to
2001-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (construct): Construct the PGP Path
	GnomeFileEntry widget.
	(pgp_path_changed): Try to auto-detect which PGP type the binary
	file is based on the basename (yuck).

svn path=/trunk/; revision=8353
2001-02-22 23:09:16 +00:00
351903ad90 Make op cancellable/report internals. (get_folder_get):
2001-02-23  Not Zed  <NotZed@Ximian.com>

        * mail-ops.c (create_folder_get): Make op cancellable/report
        internals.
        (get_folder_get):
        (sync_folder_sync):
        (get_folderinfo_get): Make op cancellable/report internals.

        * mail-vtrash.c (get_trash_get): Setup the operation registration,
        and create a pseudo "start/stop" operation.

        * component-factory.c (owner_set_cb): Make trash creation async.

        * mail-local.c (register_folder_desc): A description of what we're
        doing.

        * mail-mt.c (mail_msg_new): Set status callback to operation_new.
        (mail_operation_status): Operation status function, proxy messages
        to main thread, and attempt to present a meaningful ui experience
        for operations.

svn path=/trunk/; revision=8351
2001-02-22 22:27:40 +00:00
e939da9df4 Fixed memory corruption bug.
2001-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* openpgp-utils.c (openpgp_verify): Fixed memory corruption bug.

	* mail-format.c (try_inline_pgp_sig): Check to make sure the
	validity isn't NULL.
	(handle_multipart_signed): Check for NULL validities.

2001-02-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-tools.c (mail_tool_uri_to_folder): Protect against NULL
	uri's.

	* mail-vtrash.c: Do mutex locking on the global hash table - this
	should clear up some segfaults ;-)

	* mail-config-druid.c (druid_finish): Set the 'enabled' member of
	the source to TRUE if the URL exists else set to FALSE.
	(incoming_type_changed): If the provider chosen is "None" then
	gray-out the auto-check widgets and the check-settings, otherwise
	sensitize them.

	* mail-account-editor.c (construct): Added a few more settings.
	(apply_changes): Save the new settings.

	* mail-config.c (service_copy): Updated.
	(config_read): Read in whether or not the account is enabled.
	(mail_config_write): Save if the account is enabled or not.

svn path=/trunk/; revision=8349
2001-02-22 21:40:26 +00:00
473ffc5eee Updated to reflect changes to the filter-driver code.
2001-02-22  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (mail_send_message): Updated to reflect changes to
	the filter-driver code.

svn path=/trunk/; revision=8347
2001-02-22 16:31:31 +00:00
8f53c2bcee Removed, no longer link with libcamelvee. (evolution_mail_LDADD): Ditto.
2001-02-22  Not Zed  <NotZed@Ximian.com>

        * Makefile.am (CAMEL_OBJS_EXTRA): Removed, no longer link with
        libcamelvee.
        (evolution_mail_LDADD): Ditto.

        * mail-vtrash.c: Moved camel-vee-store header ot camel levle.

        * mail-tools.c: Moved camel-vee-folder header to camel.

svn path=/trunk/; revision=8341
2001-02-21 20:30:50 +00:00
3d924d9972 started hack for progress reporting, which is currently to the console.
2001-02-22  Not Zed  <NotZed@Ximian.com>

        * mail-local.c (local_storage_new_folder_cb): started hack for
        progress reporting, which is currently to the console.

        * mail-mt.c (set_stop): Set the stop button sensitivity.
        (mail_msg_received): enable/disable stop button while we're
        processing stuff in another thread.

        * message-list.c (ml_tree_value_at): If our uid entry vanishes
        before w'ere ready, then make a fake.

svn path=/trunk/; revision=8338
2001-02-21 20:13:07 +00:00
8738bf7aff Changed to use PgpValidity.
2001-02-21  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-crypto.c (pgp_mime_part_verify): Changed to use
	PgpValidity.

	* openpgp-utils.c (openpgp_verify): Return a PgpValidity and set
	the description as UTF-8 for later use in mail-format.c when
	writing to GtkHTML.

	* mail-format.c (try_inline_pgp_sig): Updated to use the new
	PgpValidity code.
	(handle_multipart_signed): Updated.

svn path=/trunk/; revision=8320
2001-02-21 17:24:13 +00:00
0f2a13586b Fix for api changes to append_mail.
2001-02-21  Not Zed  <NotZed@Ximian.com>

        * mail-callbacks.c (composer_postpone_cb): Fix for api changes to
        append_mail.

        * Makefile.am (evolution_mail_SOURCES): Removed mail-threads.[ch].

        * mail-threads.[ch]: Removed.

        * subscribe-dialog.c (subscribe_do_get_store): Chagned to use new
        thread stuff.  This is really getting boring.
        (subscribe_do_subscribe_folder): Changed to use new thread stuff.
        Last one at last, phew.

        * session.c (register_callback): Changed to use new thread stuff.
        YUCK.  I dropped some functionality, now the timeout callback
        return is ignored, so basically it keeps running till finished.

        * mail-ops.c (mail_operation_run): Removed, no longer used/needed.
        (mail_do_append_mail): Changed to use new thread stuff.
        (mail_do_transfer_messages): ditto.

        * mail-local.c (local_storage_new_folder_cb): Use new thread
        stuff, also only run synchronous for this operation.
        (mail_local_reconfigure_folder):
        (reconfigure_clicked): Changed to use new mail thread stuff.

        * mail-config.c (mail_config_check_service): Changed to use new
        thread stuff.

svn path=/trunk/; revision=8314
2001-02-21 02:19:26 +00:00
3be64e5b65 Pass NULL, not "/" for @top.
* mail-vtrash.c (get_trash_get): Pass NULL, not "/" for @top.

	* mail-callbacks.c (create_folders): Make this work with
	CamelStores where the separator character isn't /. folder_created
	and folder_deleted are still broken.

svn path=/trunk/; revision=8306
2001-02-20 22:32:59 +00:00
56d92e7eaf Include the camel-vee-store.h header from the uninstalled copy.
2001-02-20  Not Zed  <NotZed@Ximian.com>

        * mail-vtrash.c: Include the camel-vee-store.h header from the
        uninstalled copy.

svn path=/trunk/; revision=8301
2001-02-20 03:52:03 +00:00
bc2cd00f42 Create vTrash folders for all remote stores as well.
2001-02-19  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (mail_load_storages): Create vTrash folders
	for all remote stores as well.

svn path=/trunk/; revision=8300
2001-02-20 03:38:05 +00:00
ac1b347939 Add the auto-update flag to the folder open flags.
2001-02-20  Not Zed  <NotZed@Ximian.com>

        * mail-vtrash.c (create_trash_vfolder): Add the auto-update flag
        to the folder open flags.

svn path=/trunk/; revision=8297
2001-02-20 03:15:10 +00:00
63f1ba7ab1 New handy dandy function to ref and return the vfolder storage (will
2001-02-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-vfolder.c (mail_vfolder_get_vfolder_storage): New handy
	dandy function to ref and return the vfolder storage (will
	probably be disavowed once I figure out how to get the vTrash
	folder to show up in the EvolutionLocalStorage).

	* main.c (main): Call vtrash_cleanup().

	* mail-vtrash.c: New file.
	(vtrash_uri_to_folder): vtrash: URI handler
	(vtrash_create): Replacement async vtrash function for the old one
	in mail-ops.c
	(vtrash_cleanup): Cleanup code - unrefs the cached vtrash folders
	and free's the hashtable.

	* Makefile.am: Added mail-vtrash.[c,h].

	* mail-tools.c (mail_tool_uri_to_folder): If we have a vtrash:
	URI, call the vtrash URI handler function rather than continuing
	on. Yes, I know this is a hack and it needs to be fixed.

	* mail-ops.c (mail_do_setup_trash): Removed.
	(mail_trash_get): Removed.

	* component-factory.c (owner_set_cb): Create the vTrash folder for
	the LocalStore here.

	* mail-local.c (get_folder_info): Implement.

svn path=/trunk/; revision=8288
2001-02-19 23:38:53 +00:00
d6a9790072 Unref the driver here, in the subthread, so we dont block the gui while it
2001-02-20  Not Zed  <NotZed@Ximian.com>

        * mail-ops.c (fetch_mail_fetch): Unref the driver here, in the
        subthread, so we dont block the gui while it sync's all the
        folders.
        (fetch_mail_fetched): Rewmoved above code from here.

svn path=/trunk/; revision=8278
2001-02-19 21:41:51 +00:00
778498a42d Dont do the thaw/freeze set here. (update_folders): "
2001-02-16  Not Zed  <NotZed@Ximian.com>

        * mail-send-recv.c (receive_status): Dont do the thaw/freeze set here.
        (update_folders): "

        * mail-vfolder.c (vfolder_refresh): Setup the virtual
        'unmatched' folder by default.
        (vfolder_uri_to_folder): HAndle UNMATCHED folder specially, it has
        no explicit sources.

svn path=/trunk/; revision=8277
2001-02-19 21:00:10 +00:00
fa6e5a7b97 Not sure it makes any difference, but lets ref the folder while the hash
2001-02-16  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-send-recv.c (receive_get_folder): Not sure it makes any
	difference, but lets ref the folder while the hash table is locked
	rather than after we unlock it.

svn path=/trunk/; revision=8260
2001-02-17 01:30:55 +00:00
655140b462 Reverse the changes I made yesterday.
2001-02-16  Jeffrey Stedfast  <fejj@ximian.com>

	* main.c:
	* component-factory.c: Reverse the changes I made yesterday.

svn path=/trunk/; revision=8256
2001-02-16 21:47:02 +00:00
d9985a41bb Have the mail-config and openpgp initialize here instead.
2001-02-15  Jeffrey Stedfast  <fejj@ximian.com>

	* main.c (main): Have the mail-config and openpgp initialize here
	instead.

	* component-factory.c (owner_set_cb): No need to have mail-config
	and openpgp init here.

svn path=/trunk/; revision=8250
2001-02-16 04:26:05 +00:00
294158b26d reverse the order of some command-line flags for verify
svn path=/trunk/; revision=8248
2001-02-16 02:49:22 +00:00
7ac8a9c5e8 Use mail_storage_create_folder
2001-02-15  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (do_scan_subfolders): Use mail_storage_create_folder

	* mail-callbacks.c (mail_storage_create_folder): Convenience
	function so we can keep all the evolution_storage_add_new_folder()
	code in one place as much as possible.

	* subscribe-dialog.c (recursive_add_folder): Use 'name' rather
	than the no-description bs since that's what all the other places
	do.

	* mail-callbacks.c (folder_created): New callback to handle the
	"folder_created" signal - handles CamelFolderInfo's recursively.
	(folder_deleted): Same but for "folder_deleted".

	* component-factory.c (storage_create_folder): Instead of doing
	the evolution_storage_new_folder() stuff by hand, pass it off to
	the new callback: folder_created(). At some point this will be
	unecessary as we'll attach this callback to the "folder_created"
	signal.

svn path=/trunk/; revision=8247
2001-02-15 23:54:16 +00:00
1e18d9fb96 Wrapped the address compare functions in a #ifdef (address_compare):
2001-02-15  Jeffrey Stedfast  <fejj@ximian.com>

	* message-list.c: Wrapped the address compare functions in a
	#ifdef
	(address_compare): #ifdef the use of the smart address sorting
	code and provide a #else for using g_strcasecmp().

svn path=/trunk/; revision=8242
2001-02-15 16:33:46 +00:00
29a1d573b7 Add the --no-tty flag.
2001-02-14  Jeffrey Stedfast  <fejj@ximian.com>

	* openpgp-utils.c (openpgp_verify): Add the --no-tty flag.

svn path=/trunk/; revision=8239
2001-02-15 00:27:15 +00:00
d10c848b43 Ignore generated .oaf files
* various .cvsignore files: Ignore generated .oaf files

svn path=/trunk/; revision=8237
2001-02-14 23:37:15 +00:00
b0ade8cb32 Rewrite explanatory comments to use normal regexps rather than procmail
* mail-mlist-magic.c: Rewrite explanatory comments to use normal
	regexps rather than procmail weirdness.
	(check_sender): match "foo-owner" as well as "owner-foo".
	(check_list_post): (New) Check for "List-Post: <mailto:..."
	(mail_mlist_magic_detect_list): Iterate through an array of
	function pointers rather than calling each checker explicitly.

svn path=/trunk/; revision=8236
2001-02-14 23:30:10 +00:00
cb6f0cd111 Connect to the "create_folder" signal on the storage.
* component-factory.c (add_storage): Connect to the
	"create_folder" signal on the storage.
	(storage_create_folder): Do folder creation.

svn path=/trunk/; revision=8232
2001-02-14 21:52:43 +00:00
5ef8138ee8 Setup the Trash folder.
2001-02-14  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (owner_set_cb): Setup the Trash folder.

	* mail-ops.c (create_trash_vfolder): Do better error handling.
	(populate_folder_urls): Oops, helps to strdup the url into the
	array if we plan on freeing the data.
	(mail_get_trash): New async function that may eventually replace
	mail_do_setup_trash().
	(do_setup_trash): Do better error handling.

	* mail-local.c (mail_local_store_class_init): Override
	get_folder_info.
	(get_folder_info): Implement.

svn path=/trunk/; revision=8228
2001-02-14 21:33:58 +00:00
550d31addc Fix some uninitialized variables.
2001-02-13  Christopher James Lahey  <clahey@ximian.com>

	* mail-local.c (do_reconfigure_folder): Fix some uninitialized
	variables.

svn path=/trunk/; revision=8206
2001-02-13 18:24:57 +00:00
e82bac0274 if doing a full update, save the cursor pos and restore it afterwards.
2001-02-12  Not Zed  <NotZed@Ximian.com>

        * message-list.c (build_tree): if doing a full update, save the
        cursor pos and restore it afterwards.
        (on_cursor_activated_cmd): Copy the current_uid to a new string.
        I dont know why this is required, but it is.
        (message_list_destroy): Free the cursor_uid as we're done with it.
        (build_flat): IF the current uid disappeared from the list, then
        unset the message.
        (build_tree): Likewise.

svn path=/trunk/; revision=8199
2001-02-13 00:58:07 +00:00
5aab334614 Clean out the cruft in the Accounts section before writing the current
2001-02-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (mail_config_write): Clean out the cruft in the
	Accounts section before writing the current accounts out to the
	config file.

svn path=/trunk/; revision=8196
2001-02-13 00:13:27 +00:00
76bfed61ee Strip the leading "/" from the Namespace/Path entry if the provider
2001-02-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-account-editor.c (construct): Strip the leading "/" from
	the Namespace/Path entry if the provider doesn't require absolute
	pathnames.

svn path=/trunk/; revision=8194
2001-02-13 00:03:34 +00:00
74194fa6a3 xml-i18n-tools setup. Mark strings for translation.
2001-02-12  Kjartan Maraas  <kmaraas@gnome.org>

	* Makefile.am: xml-i18n-tools setup.
	* GNOME_Evolution_Mail.oaf.in: Mark strings for translation.

svn path=/trunk/; revision=8187
2001-02-12 23:42:37 +00:00
7d82a41220 Re-add non-static forward_messages. mail-view.c needs it.
* mail-callbacks.[ch]: Re-add non-static forward_messages.
	mail-view.c needs it.

svn path=/trunk/; revision=8175
2001-02-11 19:09:54 +00:00
c3350e6a07 ack
svn path=/trunk/; revision=8173
2001-02-11 07:00:51 +00:00
7004fae0eb Don't leak memory. (forward_messages): change doinline to be a gboolean
2001-02-11  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (forward_inlined): Don't leak memory.
	(forward_messages): change doinline to be a gboolean argument.

svn path=/trunk/; revision=8172
2001-02-11 07:00:07 +00:00
7d8ca744f7 Check the full list of IDs instead of just the default id and if we find
2001-02-10  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (list_add_addresses): Check the full list of
	IDs instead of just the default id and if we find an address
	matching one of the user's ids, then save it.
	(mail_generate_reply): Try to guess which account to use based
	upon the list of To and Cc addresses and pass that as the 'From'
	address to e_msg_composer_set_headers().
	(forward_get_composer): Updated to reflect changes to
	e-msg-composer.

svn path=/trunk/; revision=8166
2001-02-11 04:14:17 +00:00
ac9abd5e60 Getting almost full and proper use of xml-i18n-tools.
Removed all files where glade writes strings.
Changed Makefile.am to not distribute them.
Changed all glade files to not write strings to those files.

Removed *.desktop and evolution.keys files, because they are generated.
Added them to .cvsignore
Added *.desktop.in evolution.keys.in files without transalted strings.
Added all existing entries from desktop files to po files.
Changed Makefile.am to distribute only .in files, and merge translations into
desktop files.

Removed obsolete files from po/ dir

svn path=/trunk/; revision=8164
2001-02-11 02:56:16 +00:00
fa2c19fdd1 Updates for CamelStore changes, small memory leak fixes. (lookup_folder):
* mail-local.c: Updates for CamelStore changes, small memory leak
	fixes.
	(lookup_folder): Removed (and moved into the reconfigure code)
	since this method no longer exists in CamelStore.
	(do_reconfigure_folder, etc): Update the info in the
	MailLocalStore after reconfiguring.
	(mail_local_lookup_folder): Removed

	* local-config.glade: fix padding of the label_format

	* message-list.c (ml_tree_value_at): Don't keep message infos
	reffed across calls, since this can cause badness after a
	reconfigure. Instead, just strdup the needed values and free those
	on the next call.

	* mail-tools.c (mail_tool_get_root_of_store): Unused, remove.
	(mail_tool_get_inbox): use camel_store_get_inbox.

	* evolution-outlook-importer.c (load_file_fn):
	* evolution-mbox-importer.c (load_file_fn): Use
	mail_tool_get_local_inbox() instead of mail_importer_get_folder()

	* mail-importer.c (mail_importer_get_folder): Removed

svn path=/trunk/; revision=8147
2001-02-09 16:45:09 +00:00
210c0386a9 New location for this function.
2001-02-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-callbacks.c (mail_generate_reply): New location for this
	function.

	* mail-format.c: Removed mail_generate_reply as it's ONLY ever
	used in mail-callbacks.c.

	* mail-ops.c (fetch_mail_fetch): Reworked some keep-mail-on-server
	logic so that we ALWAYS look for a cached array of UIDs that we
	may have downloaded previously so as not to download them again
	even if we will be deleting them off the server. This fixes bug
	#1344.

svn path=/trunk/; revision=8137
2001-02-09 02:51:22 +00:00
896d495a2a Reworked some keep-mail-on-server logic so that we ALWAYS look for a
2001-02-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (fetch_mail_fetch): Reworked some keep-mail-on-server
	logic so that we ALWAYS look for a cached array of UIDs that we
	may have downloaded previously so as not to download them again
	even if we will be deleting them off the server. This fixes bug
	#1344.

svn path=/trunk/; revision=8135
2001-02-09 02:21:18 +00:00
cd101b3ffc only free driver, if set. (fetch_mail_fetched): Unref the driver here, so
2001-02-09  Not Zed  <NotZed@Ximian.com>

        * mail-ops.c (filter_folder_free): only free driver, if set.
        (fetch_mail_fetched): Unref the driver here, so it can cleanup
        before we call the 'done' callback.

        * component-factory.c (owner_set_cb): Add setup for mail
        autoreceive stuff.

        * mail-send-recv.c (free_info_data): Free the send info's from teh
        active hash, not the running list.
        (receive_done): As we finish downloads, remove them and clean them
        up, and also close the window.
        (mail_autoreceive_setup): New function to setup & maintain
        automatic download stuff.

svn path=/trunk/; revision=8134
2001-02-09 01:48:04 +00:00
11c5b60d8c Set the sensitivity of the spin button based on the state of the checkbox.
2001-02-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config-druid.c (construct): Set the sensitivity of the spin
	button based on the state of the checkbox.

svn path=/trunk/; revision=8130
2001-02-09 00:12:52 +00:00
5db2a79dbb more reasonable default for the auto-check minutes spin box
svn path=/trunk/; revision=8129
2001-02-09 00:09:24 +00:00
cd2628ec5b Properly do defaults here. (mail_config_write): Removed some of the
2001-02-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-config.c (config_read): Properly do defaults here.
	(mail_config_write): Removed some of the settings being saved
	here.
	(mail_config_write_on_exit): Save those settings here instead.

svn path=/trunk/; revision=8128
2001-02-09 00:03:19 +00:00
18df0dfdf2 Cast the CamelMedium to a CamelMimePart before performing actions on it as
2001-02-08  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c (on_object_requested): Cast the CamelMedium to a
	CamelMimePart before performing actions on it as if it were a
	CamelMimePart.

	* mail-config-druid.c (druid_finish): Save the auto-check settings.
	(construct): Initialize auto-check widgets.
	(mail_config_druid_get_auto_check): New function
	(mail_config_druid_get_auto_check_minutes): New functions

	* mail-config.c (config_read): Read in whether or not to check
	every x minutes.
	(mail_config_write): Save auto-check config data and SSL.

svn path=/trunk/; revision=8126
2001-02-08 22:57:34 +00:00
5e15f4ae88 Use "contains" because the subject might be broken into subparts and using
2001-02-07  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-autofilter.c (rule_add_subject): Use "contains" because the
	subject might be broken into subparts and using the "is" rule will
	then fail ;-)

svn path=/trunk/; revision=8101
2001-02-08 03:51:34 +00:00