Commit Graph

242 Commits

Author SHA1 Message Date
37b493b8f7 Since we have an exception variable, we might as well use it when getting
2001-06-28  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (destination_folder_handle_drop): Since we
	have an exception variable, we might as well use it when getting
	folders too.

	* folder-browser.c (message_list_drag_data_recieved): Call
	gtk_drag_finish.

svn path=/trunk/; revision=10568
2001-06-28 18:46:23 +00:00
65b4ea4c01 Get the Mail Component to understand `mailto:'.
svn path=/trunk/; revision=10555
2001-06-28 05:28:22 +00:00
d82d5a7997 Add method `ShellComponent::handleExternalURI' and an
`external_uri_schemas' attribute.  Update the EvolutionShellComponent
GTK+ wrapper accordingly.  Update all the components to pass a NULL
`external_uri_schemas' list when initializing themselves as
EvolutionShellComponents.

svn path=/trunk/; revision=10548
2001-06-27 23:17:41 +00:00
03d2f262c0 Don't pop up a progress dialog to say "I already finished this a while
* mail-mt.c (op_status_timeout): Don't pop up a progress dialog to
	say "I already finished this a while ago".

	* component-factory.c (storage_create_folder): Pass the path
	prefix to folder_created so it can add it to the folder tree in
	the right place.

	* mail-callbacks.c (folder_created): Take a path prefix.

svn path=/trunk/; revision=10508
2001-06-26 19:13:24 +00:00
0601af0635 No longer returns a gboolean and also takes a CamelException.
2001-06-26  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (message_rfc822_dnd): No longer returns a
	gboolean and also takes a CamelException.
	(destination_folder_handle_drop): Do better error checking.

	* folder-browser.c (my_folder_browser_init): Connect to the
	tree-drag-data-recieved signal.
	(message_list_drag_data_recieved): New function that handles the
	recieving end of the DnD event.
	(x_evolution_message_parse): New convenience function to parse the
	x-evolution-message type so that the cut/paste and DnD code can
	share it.
	(selection_received): Use x_evolution_message_parse().

svn path=/trunk/; revision=10502
2001-06-26 16:44:08 +00:00
91cc026904 Update the copyrights, replacing Helix Code with Ximian and
helixcode.com with ximian.com all over the place.

svn path=/trunk/; revision=10440
2001-06-23 08:52:02 +00:00
09b9a3a4da Fix bug #3409: Removing an EvolutionStorage from the shell's folder
tree.

svn path=/trunk/; revision=10362
2001-06-21 16:03:26 +00:00
8a7a3f7770 #include "folder-browser-factory.h"
2001-06-19  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-display.c: #include "folder-browser-factory.h"

	* component-factory.c (mail_remove_storage): New function to
	remove an EvolutionStorage.

	* mail-accounts.c (mail_delete): Remove the storage from the
	folder-tree.
	(news_delete): Same.

svn path=/trunk/; revision=10304
2001-06-19 20:39:12 +00:00
dddc124a9d Accept text/uri-list mime types - this allows us to drag messages from
2001-06-19  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (destination_folder_handle_drop): Accept
	text/uri-list mime types - this allows us to drag messages from
	Nautilus into an Evolution folder.

	* folder-browser.c (message_list_drag_data_get): Do cleanup and
	better error handling.

svn path=/trunk/; revision=10296
2001-06-19 18:49:01 +00:00
26e2b46cf0 Use a nice switch statement and use the new enum values.
2001-06-18  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (destination_folder_handle_drop): Use a nice
	switch statement and use the new enum values.

	* mail-callbacks.c (list_add_addresses): Now takes a hash table of
	already-used-recipients so that we don't get duplicates.
	(mail_generate_reply): Pass in a rcpt_hash argument to
	list_add_addresses(). These changes fix bug #1639.

svn path=/trunk/; revision=10282
2001-06-18 22:28:57 +00:00
60fe445b0c Change the drop-type "x-evolution-dnd" to "x-evolution-message" since we
2001-06-18  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c: Change the drop-type "x-evolution-dnd" to
	"x-evolution-message" since we want to be able to DnD more than
	one data type ;-)

	* folder-browser.c: Change supported DnD drop types to disclude
	URI_LIST as that seems to crash Nautilus and seems overly
	complicated. Since I am going to be supporting message/rfc822,
	hopefully Nautilus can handle that or else maybe something like
	text/plain.
	(message_list_drag_data_get): Remove the code for URI_LIST.

svn path=/trunk/; revision=10264
2001-06-18 16:06:34 +00:00
588e18f202 If we have a fragment in the url, use that as the folder name, and not the
2001-06-14  Not Zed  <NotZed@Ximian.com>

        * mail-tools.c (mail_tool_uri_to_folder): If we have a fragment in
        the url, use that as the folder name, and not the path component.

2001-06-13  Not Zed  <NotZed@Ximian.com>

        * component-factory.c (mail_load_storages): Added temp hack to let
        spool providers show up in the list.

svn path=/trunk/; revision=10263
2001-06-18 15:46:11 +00:00
7395fd6ba1 Implemented.
2001-06-15  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (destination_folder_handle_drop): Implemented.

	* message-list.c (message_list_construct): Don't connect to the
	DnD signals here.
	(message_list_drag_data_get): Removed.
	(add_uid): Removed.

	* folder-browser.c (my_folder_browser_init): Connect to DnD signals.
	(message_list_drag_data_get): Implemented.

svn path=/trunk/; revision=10257
2001-06-15 21:40:12 +00:00
e088dbce22 Fixed misuse of an uninitialized variable.
2001-06-15  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (mail_send_message): Fixed misuse of an uninitialized
	variable.

	* component-factory.c (destination_folder_handle_drop): Implemented.

	* mail.h: Added prototype for evolution_folder_info_factory_init.

	* mail-ops.c (mail_do_transfer_messages): Now takes a const char*
	as the dest_uri. This works better all around since we strdup'd
	the string anyway.

svn path=/trunk/; revision=10255
2001-06-15 19:34:54 +00:00
1fb67eaca4 Updated to reflect changes to mail_config_[g,s]et_thread_list().
2001-06-14  Jeffrey Stedfast  <fejj@ximian.com>

	* folder-browser.c (got_folder): Updated to reflect changes to
	mail_config_[g,s]et_thread_list().
	(folder_browser_toggle_threads): Same.

	* folder-browser-factory.c (control_activate): Updated to reflect
	changes to mail_config_[g,s]et_thread_list().

	* mail-config.c (mail_config_write_on_exit): Do cleanup when we're
	done.
	(mail_config_set_thread_list): Send in a URI so we can save the
	state on a per-folder basis.
	(mail_config_get_thread_list): Send in a URI so we can retrieve
	the state on a per-folder basis.

	* component-factory.c: Setup the accepted_dnd_types. Also added
	skeleton code for DnD.

svn path=/trunk/; revision=10240
2001-06-14 22:08:54 +00:00
d09d496299 Committing the new My Evolution.
svn path=/trunk/; revision=10163
2001-06-08 20:47:52 +00:00
bf8462bc71 This code should be correct now. Still waiting on the shell to do it's job
2001-05-25  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (xfer_folder): This code should be correct
	now. Still waiting on the shell to do it's job of creating the
	metadata xml file in the destination folder though.

svn path=/trunk/; revision=9981
2001-05-25 17:57:48 +00:00
a2f50bb029 New function that the shell component calls to copy/move a folder.
2001-05-23  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (xfer_folder): New function that the shell
	component calls to copy/move a folder.
	(component_fn): Set the xfer_folder_fn argument.

	* mail-ops.c (mail_remove_folder): New async function to remove a
	folder. God knows if it does what the ShellComponent needs or not
	yet.
	(mail_xfer_folder): Yet another yummy async function to move or
	copy a folder to a new location.

	* component-factory.c (storage_remove_folder): New function for
	removing folders.
	(remove_folder): New function that the shell component calls to
	delete a folder.
	(component_fn): Set the remove_folder_fn argument.

svn path=/trunk/; revision=9954
2001-05-23 22:43:03 +00:00
76f220863e New async function to remove a folder. God knows if it does what the
2001-05-23  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-ops.c (mail_remove_folder): New async function to remove a
	folder. God knows if it does what the ShellComponent needs or not
	yet.

	* component-factory.c (storage_remove_folder): New function for
	removing folders.
	(remove_folder): New function that the shell component calls to
	delete a folder.
	(component_fn): Set the remove_folder_fn argument.

svn path=/trunk/; revision=9952
2001-05-23 20:56:57 +00:00
4e878bc6d4 Get rid of this - we don't need it.
2001-05-13  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-local.c (mail_local_storage_shutdown): Get rid of this - we
	don't need it.

	* component-factory.c (owner_unset_cb): Don't unref the LocalStore
	- we don't own a ref on it!!

svn path=/trunk/; revision=9787
2001-05-14 00:05:39 +00:00
e3efaa319a add proto
2001-05-11  JP Rosevear  <jpr@ximian.com>

	* mail-importer.h: add proto

	* mail-importer.c (mail_importer_uninit): release and unref the
	local storage

	* mail-local.c (mail_local_store_finalize): use
	bonobo_object_release_unref rather than doing Bonobo_Unknow_unref
	and a corba release
	(register_folder_registered): "sink" the local_store ref to
	prevent circular ref
	(mail_local_storage_shutdown): unref the local store

	* mail-local.h: new proto

	* component-factory.c (owner_unset_cb): uninit the importer and
	shutdown the local storage

svn path=/trunk/; revision=9768
2001-05-11 19:57:15 +00:00
72be879a27 New file, started by Ettore, finished by me, to implement the
* mail-offline-handler.c: New file, started by Ettore, finished by
	me, to implement the GNOME_Evolution_Offline interface.

	* Makefile.am (evolution_mail_SOURCES): Add
	mail-offline-handler.[ch]

	* mail-ops.c (mail_store_set_offline): Set a store online or
	offline.

	* mail-send-recv.c (auto_timeout): Don't run auto-check-for-mail
	while the session is offline.

	* component-factory.c (component_fn): Set up offline handler.

svn path=/trunk/; revision=9739
2001-05-09 22:01:42 +00:00
c64eccfe00 Importer changes
svn path=/trunk/; revision=9722
2001-05-08 22:53:41 +00:00
769f404db3 Updated for changes to PGP code.
2001-04-12  Jeffrey Stedfast  <fejj@ximian.com>

	* mail-accounts.c (pgp_path_changed): Updated for changes to PGP
	code.

	* component-factory.c (owner_set_cb): Don't init openpgp anymore
	because we don't need it.

	* mail-crypto.c: Simply wrap the camel-pgp-mime functions (also
	renamed the functions to be prefixed with mail_crypto).

	* mail-format.c (handle_multipart_signed): Update to use
	camel_pgp_mime_is_rfc2015_signed() and other camel-pgp-mime
	functions.
	(handle_multipart_encrypted): Same but for rfc2015_encrypted.
	(decode_pgp): Updated to use camel-pgp-context
	(try_inline_pgp): Updated to use camel-pgp-context's.
	(try_inline_pgp_sig): Same.

svn path=/trunk/; revision=9269
2001-04-12 17:14:20 +00:00
c7179850dc Executive summary and Trash now have nice icons both in tree/folder title and
shortcut bar.

Converted and replaced icons for trash and summary:
exec-16-summary.xpm => evolution-today-mini.png
delete_mesage.xpm => evolution-trash-mini.png,
Copied evolution-trash.png icons from mc (needs tweaking to match other
evolution icons though)

svn path=/trunk/; revision=9154
2001-04-03 23:24:50 +00:00
042704ddd3 Blessed by Ettore.
Guided by Jacub Stener's mail, where he explaned which icons were renamed or
added, I added a bunch of new icons to menus, fixed renamed ones. Changed Trash
and Executive summary folder type icons. Fixed art/Makefile.am for these
changes.

Also, pulled icon cache from mailer and moved it to e-util/e-gui-utils.h, made
all components and dialogs use cache and not load pixmaps every time.

Accidentally got a couple of includes fix in, but they won't break anything.

svn path=/trunk/; revision=9092
2001-04-02 03:59:11 +00:00
c2f952971b If the EvolutionShellComponent emits a "debug" signal, turn on
* component-factory.c (debug_cb): If the EvolutionShellComponent
	emits a "debug" signal, turn on camel_verbose_debug.

svn path=/trunk/; revision=9047
2001-03-30 16:44:22 +00:00
57574f0be3 Cleaned up #includes. Remove unneccesary includes of <gnome.h>,
2001-03-29  Kjartan Maraas  <kmaraas@gnome.org>

	* *.*: Cleaned up #includes. Remove unneccesary includes of
	<gnome.h>, <gtk/gtk.h>, <bonobo.h> and replaced with more
	fine grained headers where needed. Also marked a bunch of
	strings for translations and added some missing prototypes.

svn path=/trunk/; revision=9025
2001-03-29 20:53:17 +00:00
b38a35a518 Set up the sent/drafts folder buttons. (folder_picker_clicked): Pop up the
* mail-account-gui.c (mail_account_gui_new): Set up the
	sent/drafts folder buttons.
	(folder_picker_clicked): Pop up the folder selector when sent or
	drafts is clicked.
	(mail_account_gui_save): Save the sent/drafts folders.

	* mail-config.c (account_copy): copy sent/drafts info
	(config_read): read sent/drafts info
	(mail_config_write): write sent/drafts info

	* mail-callbacks.c (composer_send_cb, composer_postpone_cb):
	split out some common code here (and fix inconsistencies). Always
	set headers on the message giving the account name, transport,
	and sent folder to use.

	* mail-ops.c (mail_send_message): If the message has an
	X-Evolution-Account header, use the transport/sent folder info for
	that account (assuming it still exists). Otherwise, if it has
	X-Evolution-Transport and/or X-Evolution-Fcc, use those. If not,
	use the default transport and sent folder.
	FIXME: Falls back silently to the default sent folder if it can't
	open the account-specific one...
	(send_queue_send): remove the X-Evolution-Transport, etc
	processing here, as it gets done by mail_send_message now.
	FIXME: We only sync the default sent folder.

	* component-factory.c (owner_set_cb): While setting up the
	standard folders, also record their URIs.

svn path=/trunk/; revision=8991
2001-03-28 17:48:07 +00:00
ad709988ac undo a boolean booboo
svn path=/trunk/; revision=8946
2001-03-26 16:52:42 +00:00
3eb45d09d2 Simplify a bit using camel_session_get_provider.
* component-factory.c (mail_load_storages): Simplify a bit using
	camel_session_get_provider.

	* mail-callbacks.c (empty_trash): Ditto, and fix up use of
	CamelException.

svn path=/trunk/; revision=8942
2001-03-26 14:02:56 +00:00
82a856a14d Fix a bug in this that probably would have been noticed sooner if ETree
* component-factory.c (unref_standard_folders): Fix a bug in this
	that probably would have been noticed sooner if ETree hadn't always
	made the mailer crash before you got here. :-)

svn path=/trunk/; revision=8930
2001-03-25 17:03:58 +00:00
b8bb7dd7ed Call unref_standard_folders() here instead.
2001-03-19  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (owner_unset_cb): Call
	unref_standard_folders() here instead.

svn path=/trunk/; revision=8827
2001-03-19 20:19:41 +00:00
02adc1ca5f unref the standard folders. (owner_set_cb): Use g_atexit() to call
2001-03-18  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (unref_standard_folders): unref the standard
	folders.
	(owner_set_cb): Use g_atexit() to call unref_standard_folders()
	when evolution-mail exits. This should solve the problem where
	these folders are not synced when evolution-mail closes (because
	they still had refs on them on close).

svn path=/trunk/; revision=8814
2001-03-19 04:16:40 +00:00
8c2f3a00ef All my changes to get the folder creation working, and the magic Netscape
importer.

svn path=/trunk/; revision=8661
2001-03-13 02:26:18 +00:00
c64038a75a Add "vtrash" as a folder type we support. (create_view): Kludgy-kludge
2001-03-08  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c: Add "vtrash" as a folder type we support.
	(create_view): Kludgy-kludge around the vtrash type.
	(owner_set_cb): Don't create the vTrash folder here anymore...

svn path=/trunk/; revision=8603
2001-03-08 22:42:53 +00:00
9618cd2cb6 Added a ShellComponent method to retrieve the selection for drag and
drop and support for it in the shell.  Untested.

svn path=/trunk/; revision=8594
2001-03-08 12:55:05 +00:00
1aba985def Re-add the mail_vtrash_create() hack back in for LocalStores since there's
2001-02-25  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (owner_set_cb): Re-add the
	mail_vtrash_create() hack back in for LocalStores since there's no
	better way to register a vTrash folder on the Local Storage yet.

	* mail-local.c (register_folder_registered): Add folders to the
	vTrash folder here since the LocalStore does not let the parent
	CamelStore class keep it's own hash of the folders.

svn path=/trunk/; revision=8391
2001-02-26 17:35:53 +00:00
0ce50d4fdc No longer need to construct the vTrash here. (owner_set_cb): Don't make
2001-02-24  Jeffrey Stedfast  <fejj@ximian.com>

	* component-factory.c (mail_load_storages): No longer need to
	construct the vTrash here.
	(owner_set_cb): Don't make the vTrash for the local store here.

	* mail-ops.c (add_vtrash_info): New function to add a vTrash
	folder info to a pre-constructed CamelFolderInfo for use in the
	get_folder_info async function.

svn path=/trunk/; revision=8381
2001-02-24 20:08:43 +00:00
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
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
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
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
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
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
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
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